共用方式為


BuildingBlockGalleryContentControl.Tag Property

Definition

Gets or sets a string that you want to associate with the BuildingBlockGalleryContentControl.

public:
 property System::String ^ Tag { System::String ^ get(); void set(System::String ^ value); };
public string Tag { get; set; }
member this.Tag : string with get, set
Public Property Tag As String

Property Value

A string that you want to associate with the BuildingBlockGalleryContentControl.

Remarks

You can use the Tag property to store a string that is associated with the BuildingBlockGalleryContentControl while the document is open.

You can use the SelectContentControlsByTag method to find a content control by its tag.

Applies to