NumberFormatAttribute.Item 属性
使用指定的键获取 NumberFormatAttribute。
命名空间: Microsoft.Windows.Design.PropertyEditing
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
key As String _
) As Attribute
Get
public Attribute this[
string key
] { get; }
public:
virtual property Attribute^ default[String^ key] {
Attribute^ get (String^ key) sealed;
}
abstract Item : Attribute
override Item : Attribute
JScript 不支持索引属性。
参数
- key
类型:System.String
要为其获取对应的 NumberFormatAttribute 的键。
属性值
类型:System.Attribute
与 key 相对应的 NumberFormatAttribute。
实现
IIndexableAttribute.Item[String]
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。