VsEnumerable<TComEnumerator,TComEnumerated>.GetElement Method

Definition

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

protected:
 override void GetElement(TComEnumerated enumeratedElement, [Runtime::InteropServices::Out] TComEnumerated % comElement);
protected:
 override void GetElement(TComEnumerated enumeratedElement, [Runtime::InteropServices::Out] TComEnumerated &  comElement);
 override void GetElement(TComEnumerated enumeratedElement, [Runtime::InteropServices::Out] TComEnumerated & comElement);
protected override void GetElement (TComEnumerated enumeratedElement, out TComEnumerated comElement);
override this.GetElement : 'ComEnumerated * 'ComEnumerated -> unit
Protected Overrides Sub GetElement (enumeratedElement As TComEnumerated, ByRef comElement As TComEnumerated)

Parameters

enumeratedElement
TComEnumerated

An element in the input enumerated collection.

comElement
TComEnumerated

An element to be returned by the Next method 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