Partager via


CodeElement.Extender[String] Property

Definition

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

public:
 property System::Object ^ Extender[System::String ^] { System::Object ^ get(System::String ^ ExtenderName); };
[System.Runtime.InteropServices.DispId(13)]
public object Extender[string ExtenderName] { [System.Runtime.InteropServices.DispId(13)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; }
[<System.Runtime.InteropServices.DispId(13)>]
[<get: System.Runtime.InteropServices.DispId(13)>]
[<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

An Extender.

Attributes

Remarks

This property returns null if no Extender is available.

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

Note

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same. For more information, see the section Code Model Element Values Can Change in Discovering Code by Using the Code Model (Visual Basic).

Applies to