EnumerableComCollection<TComEnumerator, TEnumerated> Constructor (TComEnumerator, Int32)
Initializes a new instance of EnumerableComCollection<TComEnumerator, TEnumerated> for the provided enumerator and cache size.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Protected Sub New ( _
enumerator As TComEnumerator, _
cacheSize As Integer _
)
protected EnumerableComCollection(
TComEnumerator enumerator,
int cacheSize
)
protected:
EnumerableComCollection(
TComEnumerator enumerator,
int cacheSize
)
new :
enumerator:'TComEnumerator *
cacheSize:int -> EnumerableComCollection
protected function EnumerableComCollection(
enumerator : TComEnumerator,
cacheSize : int
)
Parameters
- enumerator
Type: TComEnumerator
The enumerator.
- cacheSize
Type: System.Int32
The cache size.
.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
EnumerableComCollection<TComEnumerator, TEnumerated> Class
EnumerableComCollection<TComEnumerator, TEnumerated> Overload