_Document.SelectContentControlsByTag(String) Method

Definition

Returns a ContentControls collection that represents all the content controls in a document with the tag value specified in the Tag parameter. Read-only.

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 value of the content controls to return.

Returns

ContentControls

Applies to