DisplayCategoryKeyAttribute.GetDefaultKey Method

Definition

Overloads

GetDefaultKey(FieldInfo)

The key used to look up a localized field category in a default resource file

GetDefaultKey(PropertyInfo)

The key used to look up a localized property category in a default resource file

GetDefaultKey(Type)

The key used to look up a localized type category in a default resource file

GetDefaultKey(FieldInfo)

The key used to look up a localized field category in a default resource file

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

Parameters

field
FieldInfo

Returns

Applies to

GetDefaultKey(PropertyInfo)

The key used to look up a localized property category in a default resource file

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

Parameters

property
PropertyInfo

Returns

Applies to

GetDefaultKey(Type)

The key used to look up a localized type category in a default resource file

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

Parameters

type
Type

Returns

Applies to