ProjectItem.Extender Property
Gets the requested Extender if it is available for this object.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property Extender ( _
ExtenderName As String _
) As Object
'Usage
Dim instance As ProjectItem
Dim ExtenderName As String
Dim value As Object
value = instance.Extender(ExtenderName)
Object this[
string ExtenderName
] { get; }
property Object^ Extender[[InAttribute] String^ ExtenderName] {
Object^ get ([InAttribute] String^ ExtenderName);
}
JScript does not support indexed properties.
Parameters
ExtenderName
Type: System.StringRequired. The name of the Extender to return.
Property Value
Type: System.Object
An Extender object.
Remarks
This property returns nulla 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.
Examples
[Visual Basic]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.