Type.GetEnumNames 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回当前枚举类型中各个成员的名称。
public:
 virtual cli::array <System::String ^> ^ GetEnumNames();public virtual string[] GetEnumNames();abstract member GetEnumNames : unit -> string[]
override this.GetEnumNames : unit -> string[]Public Overridable Function GetEnumNames () As String()返回
		String[]
		
	
	一个数组,其中包含枚举中各个成员的名称。
例外
当前类型不是一个枚举。
注解
返回值数组的元素按二进制值 (即枚举常量) 无符号值排序。 如果数组包含具有相同值的枚举常量,则其相应名称的顺序未指定。