获取枚举中常量数值的集合。
命名空间: Microsoft.VisualStudio.Modeling.Design
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
语法
声明
Protected ReadOnly Property Values As TypeConverter.StandardValuesCollection
protected TypeConverter.StandardValuesCollection Values { get; }
属性值
类型:System.ComponentModel.TypeConverter.StandardValuesCollection
枚举中的常量值构成的集合。
备注
对继承者的说明
此属性返回 nullnull 引用(在 Visual Basic 中为 Nothing),直到调用 GetStandardValues 方法。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。