Udostępnij za pośrednictwem


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
'Usage
Dim instance As ProjectItem 
Dim value As String 

value = instance.ExtenderCATID
string ExtenderCATID { get; }
property String^ ExtenderCATID {
    String^ 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

[Visual Basic]

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

ProjectItem Members

EnvDTE Namespace

Other Resources

Implementing and Using Automation Extenders