共用方式為


Document.ExtenderCATID Property

Definition

Gets the Extender category ID (CATID) for the object.

public:
 property System::String ^ ExtenderCATID { System::String ^ get(); };
public:
 property Platform::String ^ ExtenderCATID { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(135)]
public string ExtenderCATID { [System.Runtime.InteropServices.DispId(135)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; }
[<System.Runtime.InteropServices.DispId(135)>]
[<get: System.Runtime.InteropServices.DispId(135)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.ExtenderCATID : string
Public ReadOnly Property ExtenderCATID As String

Property Value

A string GUID representing the CATID.

Attributes

Examples

Sub ExtenderCATIDExample()  
    Dim objDoc As Document  
    objDoc = DTE.ActiveDocument  
    If Not (objDoc Is Nothing) Then  
        MsgBox(objDoc.ExtenderCATID)  
    End If  
End Sub  

Remarks

The CATID is typically specific to an implementation of an object.

Applies to