DirectoryAttribute.GetValues(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
该方法 GetValues(Type) 返回指定类型的所有值。
public:
cli::array <System::Object ^> ^ GetValues(Type ^ valuesType);
public object[] GetValues(Type valuesType);
member this.GetValues : Type -> obj[]
Public Function GetValues (valuesType As Type) As Object()
参数
返回
Object[]
包含值的对象的数组 Object 。
例外
无法将值转换为 valuesType。
valuesType 必须是字符串或字节。