Freigeben über


Solution3.ExtenderCATID Property

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

Namespace:  EnvDTE90
Assembly:  EnvDTE90 (in EnvDTE90.dll)

Syntax

'Declaration
ReadOnly Property ExtenderCATID As String
string ExtenderCATID { get; }
property String^ ExtenderCATID {
    String^ get ();
}
abstract ExtenderCATID : string with get
function get ExtenderCATID () : String

Property Value

Type: System.String
A GUID representing the CATID of the object.

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, the ExtenderCATID for a Visual Basic project object is different from the ExtenderCATID for a Visual C++ project object.

Examples

For information on how to run this add-in code, see How to: Compile and Run the Automation Object Model Code Examples.

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

.NET Framework Security

See Also

Reference

Solution3 Interface

EnvDTE90 Namespace