VCCodeElement::Extender Property (String^)

 

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

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

property Object^ default[
	String^ ExtenderName
] {
	Object^ get(String^ ExtenderName);
}

Parameters

ExtenderName
Type: System::String^

Required. The name of the Extender to return.

Property Value

Type: System::Object^

An Extender object.

This property returns Nothing or null if no Extender object is available.

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

Sub ExtenderExample()
   ' You must 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
Return to top
Show: