Localizable.GetValue 方法

定义

检索该房产的价值。

重载

名称 说明
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)

获得指定类型的类型。

public:
 System::Object ^ GetValue(Type ^ targetType);
public object GetValue(Type targetType);
member this.GetValue : Type -> obj
Public Function GetValue (targetType As Type) As Object

参数

targetType
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

与房产相关的价值。

适用于