ProjectItem.Extender[String] Property

Definition

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

public:
 property System::Object ^ Extender[System::String ^] { System::Object ^ get(System::String ^ ExtenderName); };
[System.Runtime.InteropServices.DispId(109)]
[get: System.Runtime.InteropServices.DispId(109)]
[get: System.Runtime.InteropServices.TypeLibFunc(1024)]
public object Extender[string ExtenderName] { get; }
[<System.Runtime.InteropServices.DispId(109)>]
[<get: System.Runtime.InteropServices.DispId(109)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.Extender(string) : obj
Public ReadOnly Property Extender(ExtenderName As String) As Object

Parameters

ExtenderName
String

Required. The name of the Extender to return.

Property Value

Object

An Extender object.

Attributes

Examples

Sub ExtenderExample()  
   Dim extender As Object  
   extender = DTE.Solution.Extender("SolutionMisc")  
   MsgBox(extender.Notes)  
End Sub  

Remarks

This property returns null if no Extender object is available.

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

Applies to