共用方式為


ContentControl.Creator Property

Gets a 32-bit integer that indicates the application in which the ContentControl was created.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property Creator As Integer
int Creator { get; }

Property Value

Type: System.Int32
A 32-bit integer that indicates the application in which the control was created.

Remarks

If the ContentControl was created in Microsoft Office Word, the Creator property returns the hexadecimal number 4D535744, which represents the string MSWD. This string is the four-character creator code for Word.

.NET Framework Security

See Also

Reference

ContentControl Interface

Microsoft.Office.Tools.Word Namespace