Localizable.GetValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索属性的值。
重载
| GetValue() |
检索具有默认属性值的属性的值。 |
| GetValue(Type) |
获取具有指定类型的类型。 |
| GetValue<T>() |
检索与属性关联的值。 |
GetValue()
检索具有默认属性值的属性的值。
public:
System::Object ^ GetValue();
public object GetValue ();
member this.GetValue : unit -> obj
Public Function GetValue () As Object
返回
该属性的值。
适用于
GetValue(Type)
GetValue<T>()
检索与属性关联的值。
public:
generic <typename T>
T GetValue();
public T GetValue<T> ();
member this.GetValue : unit -> 'T
Public Function GetValue(Of T) () As T
类型参数
- T
泛型对象值。
返回
T
与属性关联的值。