共用方式為


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

Property Value

A GUID representing the CATID of the object.

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

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

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