Partager via


ProjectItem.ExtenderCATID Property

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.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 string representing the CATID of the object in GUID form.

Remarks

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

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

ProjectItem Interface

EnvDTE Namespace

Other Resources

Implementing and Using Automation Extenders