Creates a new instance of the
ObjectSet Class.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal capacity As Integer _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim capacity As Integer
Dim instance As ObjectSet(Of T)(capacity)
|
| C# | |
|---|
public Generic ObjectSet(
int capacity
) |
| Managed Extensions for C++ | |
|---|
public: Generic ObjectSet(
int capacity
) |
| C++/CLI | |
|---|
public:
Generic ObjectSet(
int capacity
) |
Parameters
- capacity
- The number of items that can be stored by the
ObjectSet.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also