Localizable.GetValue 方法

定義

取得該財產的價值。

多載

名稱 Description
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

與該房產相關的價值。

適用於