DisplayDescriptionKeyAttribute.GetDefaultKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetDefaultKey(FieldInfo) |
用於查詢預設資源檔案中本地化屬性類別的鍵 |
| GetDefaultKey(PropertyInfo) |
用於查詢預設資源檔案中本地化屬性類別的鍵 |
| GetDefaultKey(Type) |
用於查詢預設資源檔案中本地化屬性類別的鍵 |
GetDefaultKey(FieldInfo)
用於查詢預設資源檔案中本地化屬性類別的鍵
public string GetDefaultKey(System.Reflection.FieldInfo field);
abstract member GetDefaultKey : System.Reflection.FieldInfo -> string
override this.GetDefaultKey : System.Reflection.FieldInfo -> string
Public Function GetDefaultKey (field As FieldInfo) As String
參數
- field
- FieldInfo
傳回
適用於
GetDefaultKey(PropertyInfo)
用於查詢預設資源檔案中本地化屬性類別的鍵
public string GetDefaultKey(System.Reflection.PropertyInfo property);
abstract member GetDefaultKey : System.Reflection.PropertyInfo -> string
override this.GetDefaultKey : System.Reflection.PropertyInfo -> string
Public Function GetDefaultKey (property As PropertyInfo) As String
參數
- property
- PropertyInfo