Visual Basic (Declaration) | |
---|---|
Public Sub Clear() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Clear() |
C++/CLI | |
---|---|
public: void Clear(); |
Exception | Description |
---|---|
NotSupportedException | The Generic ICollection is read-only. |
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family