VsEnumerable<TComEnumerator, TComEnumerated>.GetElement Method

Converts an element in the enumerated input collection of type TEnumerated to a TComEnumerated element to be returned by the Visual Studio-style enumerator.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Protected Overrides Sub GetElement ( _
    enumeratedElement As TComEnumerated, _
    <OutAttribute> ByRef comElement As TComEnumerated _
)
protected override void GetElement(
    TComEnumerated enumeratedElement,
    out TComEnumerated comElement
)
protected:
virtual void GetElement(
    TComEnumerated enumeratedElement, 
    [OutAttribute] TComEnumerated% comElement
) override
abstract GetElement : 
        enumeratedElement:'TComEnumerated * 
        comElement:'TComEnumerated byref -> unit  
override GetElement : 
        enumeratedElement:'TComEnumerated * 
        comElement:'TComEnumerated byref -> unit
protected override function GetElement(
    enumeratedElement : TComEnumerated, 
    comElement : TComEnumerated
)

Parameters

  • enumeratedElement
    Type: TComEnumerated

    An element in the input enumerated collection.

  • comElement
    Type: TComEnumerated%

    An element to be returned by the Next method of the COM enumerator.

Remarks

For example, converts a UIDataSourceVerb to the COM-enumerated type "string" by selecting the verb's name.

.NET Framework Security

See Also

Reference

VsEnumerable<TComEnumerator, TComEnumerated> Class

Microsoft.VisualStudio.Shell Namespace