Export (0) Print
Expand All

_Solution.Extender Property

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

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

Object Extender [
	[InAttribute] string ExtenderName
] { get; }
/** @property */
Object get_Extender (/** @attribute InAttribute() */ String ExtenderName)

JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

An Extender object.

This property returns a null reference (Nothing in Visual Basic) if no Extender object is available.

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

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

Community Additions

ADD
Show:
© 2014 Microsoft