VsEnumerable<TComEnumerator, TComEnumerated> Constructor (IEnumerable<TComEnumerated>, Int32)
Initializes a new instance of the VsEnumerable<TComEnumerator, TComEnumerated> class.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Protected Sub New ( _
collection As IEnumerable(Of TComEnumerated), _
enumeratorPosition As Integer _
)
protected VsEnumerable(
IEnumerable<TComEnumerated> collection,
int enumeratorPosition
)
Parameters
- collection
Type: System.Collections.Generic.IEnumerable<TComEnumerated>
The collection to be enumerated.
- enumeratorPosition
Type: System.Int32
The position of the created enumerator in the collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
VsEnumerable<TComEnumerator, TComEnumerated> Class