Compartilhar via


Document.SelectContentControlsByTag(String) Method

Definition

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.

Applies to