DisplayNameKeyAttribute.GetDefaultKey 方法

定義

多載

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

傳回

適用於

GetDefaultKey(Type)

用於查詢預設資源檔案中本地化屬性類別的鍵

public string GetDefaultKey(Type type);
abstract member GetDefaultKey : Type -> string
override this.GetDefaultKey : Type -> string
Public Function GetDefaultKey (type As Type) As String

參數

type
Type

傳回

適用於