Compartilhar via


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.12.0 (in Microsoft.VisualStudio.Shell.12.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

  • cacheSize
    Type: Int32

    The cache size.

.NET Framework Security

See Also

Reference

EnumerableComCollection<TComEnumerator, TEnumerated> Class

EnumerableComCollection<TComEnumerator, TEnumerated> Overload

Microsoft.VisualStudio.Shell Namespace