Compartir a través de


VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated>.GetElement Method

Definition

Converts an element in the enumerated input collection of type TEnumerated to a TComEnumerated element to be returned by the VS-style enumerator. (e.g. converts a UIDataSourceVerb to the COM-enumerated type 'string' by selecting the verb's name)

protected:
 abstract void GetElement(TEnumerated enumeratedElement, [Runtime::InteropServices::Out] TComEnumerated % comElement);
protected:
 abstract void GetElement(TEnumerated enumeratedElement, [Runtime::InteropServices::Out] TComEnumerated &  comElement);
 abstract void GetElement(TEnumerated enumeratedElement, [Runtime::InteropServices::Out] TComEnumerated & comElement);
protected abstract void GetElement (TEnumerated enumeratedElement, out TComEnumerated comElement);
abstract member GetElement : 'Enumerated * 'ComEnumerated -> unit
Protected MustOverride Sub GetElement (enumeratedElement As TEnumerated, ByRef comElement As TComEnumerated)

Parameters

enumeratedElement
TEnumerated

An element in the input enumerated collection

comElement
TComEnumerated

An element to be returned by the Next() function of the com enumerator

Remarks

For example, converts a <xref:Microsoft.Internal.VisualStudio.PlatformUI.UIDataSourceVerb> to the COM-enumerated type "string" by selecting the verb's name.

Applies to