共用方式為


Document.SelectContentControlsByTitle(String) Method

Definition

Returns all the content controls in the document that have the specified title.

public:
 Microsoft::Office::Interop::Word::ContentControls ^ SelectContentControlsByTitle(System::String ^ Title);
public Microsoft.Office.Interop.Word.ContentControls SelectContentControlsByTitle (string Title);
abstract member SelectContentControlsByTitle : string -> Microsoft.Office.Interop.Word.ContentControls
Public Function SelectContentControlsByTitle (Title As String) As ContentControls

Parameters

Title
String

The title of the content controls to return.

Returns

A ContentControls collection that contains the content controls that have the specified title.

Applies to