| Visual Basic (Declaration) | |
|---|---|
Public Shared Function GetValues() As IList(Of T) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim value As IList(Of T) value = Enum(Of T).GetValues() | |
| C# | |
|---|---|
public static IList<T> GetValues() | |
| Managed Extensions for C++ | |
|---|---|
public: static IList<T*>* GetValues(); | |
| C++/CLI | |
|---|---|
public: static IList<T^>^ GetValues(); | |
Return Value
The array of values.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code