Localizable.GetValue 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該財產的價值。
多載
| 名稱 | 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<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
與該房產相關的價值。