Document.SelectContentControlsByTag(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all the content controls in the document that have the specified tag.
public:
Microsoft::Office::Interop::Word::ContentControls ^ SelectContentControlsByTag(System::String ^ Tag);
public Microsoft.Office.Interop.Word.ContentControls SelectContentControlsByTag (string Tag);
abstract member SelectContentControlsByTag : string -> Microsoft.Office.Interop.Word.ContentControls
Public Function SelectContentControlsByTag (Tag As String) As ContentControls
Parameters
- Tag
- String
The tag of the content controls to return.
Returns
A ContentControls collection that contains the content controls that have the specified tag.