Compartilhar via


Reference.ExtenderCATID Property

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

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.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
Returns the GUID representing the CATID of the object as a string.

Remarks

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.

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

Reference Interface

VSLangProj Namespace

Other Resources

Implementing and Using Automation Extenders