Compartir a través de


Solution4.ExtenderCATID Property

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

Namespace:  EnvDTE100
Assembly:  EnvDTE100 (in EnvDTE100.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: 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

Solution4 Interface

EnvDTE100 Namespace