Compartir a través de


Reference.Extender Property

Gets the requested Extender object if it is available for this object.

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

Syntax

'Declaration
ReadOnly Property Extender ( _
    ExtenderName As String _
) As Object
Object this[
    string ExtenderName
] { get; }
property Object^ Extender[[InAttribute] String^ ExtenderName] {
    Object^ get ([InAttribute] String^ ExtenderName);
}
abstract Extender : 
        ExtenderName:string -> Object with get
JScript does not support indexed properties.

Parameters

  • ExtenderName
    Type: String

    Required. The name of the Extender to return.

Property Value

Type: Object
This property returns Nothing or nulla null reference (Nothing in Visual Basic) is no Extender object is available.

Remarks

The CATID used for obtaining the Extender is given by the object's ExtenderCATID property.

Examples

Sub ExtenderExample()
   ' You should have built and installed the Solution Extender
   ' sample in the Visual Studio Automation Samples directory for 
   ' this to work correctly.
   Dim extender As Object
   extender = DTE.Solution.Extender("SolutionMisc")
   MsgBox(extender.Notes)
End Sub

.NET Framework Security

See Also

Reference

Reference Interface

VSLangProj Namespace

Other Resources

Implementing and Using Automation Extenders