VsEnumerable<TComEnumerator, TComEnumerated>::GetElement Method (TComEnumerated, TComEnumerated)

 

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.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
virtual void GetElement(
	TComEnumerated enumeratedElement,
	[OutAttribute] TComEnumerated% comElement
) override

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.

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

Return to top
Show: