BookmarkGetNames Method |
Namespace: SOWIDocument.Word
lResult = lDOC.Bookmark.GetNames(); if (lDOC != null) { System.Diagnostics.Debug.WriteLine($" Bookmarks (count: {lResult.Length.ToString()})"); foreach (string lItem in lResult) { //* debug information * System.Diagnostics.Debug.WriteLine($" Name: {lItem}"); } }