Export (0) Print
Expand All
ID
Top
Expand Minimize

Extender Property (General Extensibility)

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public ReadOnly Property Extender( _
   ExtenderName As String _
) As Object
[Visual Basic 6]
Property Get Extender( _
   ExtenderName As String _
) As Object
[C++]
HRESULT __stdcall get_Extender(
   BSTR ExtenderName,
   /* [out, retval] */ IDispatch** retVal
);
[C#]
object Extender(
   string ExtenderName
) {get;}
[JScript .NET]
public function get Extender(
   ExtenderName : String
) : Object

Parameters

ExtenderName
Required. The name of the Extender to return.

Remarks

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

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

Example

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

See Also

Implementing and Using Automation Extenders | ExtenderNames Property (General Extensibility)

Applies To: CodeAttribute Object | CodeClass Object | CodeDelegate Object | CodeElement Object | CodeEnum Object | CodeFunction Object | CodeInterface Object | CodeNameSpace Object | CodeParameter Object | CodeProperty Object | CodeStruct Object | CodeType Object | CodeVariable Object | Configuration Object | Document Object | Project Object | ProjectItem Object | Solution Object | VCCodeAttribute Object | VCCodeBase Object | VCCodeClass Object | VCCodeDelegate Object | VCCodeElement Object | VCCodeEnum Object | VCCodeEvent Object | VCCodeFunction Object | VCCodeIDLCoClass Object | VCCodeIDLImport Object | VCCodeIDLImportLib Object | VCCodeIDLLibrary Object | VCCodeImport Object | VCCodeInclude Object | VCCodeInterface Object | VCCodeMacro Object | VCCodeMap Object | VCCodeMapEntry Object | VCCodeNamespace Object | VCCodeParameter Object | VCCodeProperty Object | VCCodeStruct Object | VCCodeTypedef Object | VCCodeUnion Object | VCCodeVariable Object | VCCodeUsing Object

Show:
© 2014 Microsoft