共用方式為


Reference.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(20)]
public string ExtenderCATID { [System.Runtime.InteropServices.DispId(20)] [System.Runtime.InteropServices.TypeLibFunc(1088)] get; }
[<System.Runtime.InteropServices.DispId(20)>]
[<get: System.Runtime.InteropServices.DispId(20)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1088)>]
member this.ExtenderCATID : string
Public ReadOnly Property ExtenderCATID As String

Property Value

Returns the GUID representing the CATID of the object as a string.

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

Note

The CATID is typically specific to an implementation of an object. For example, Project.ExtenderCATID is different for a Visual Basic project object compared to a Visual C++ project object.

Applies to