DisplayCategoryKeyAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
查詢局部房產類別的鍵值
[System.AttributeUsage(System.AttributeTargets.Property)]
public class DisplayCategoryKeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type DisplayCategoryKeyAttribute = class
inherit Attribute
Public Class DisplayCategoryKeyAttribute
Inherits Attribute
- 繼承
-
DisplayCategoryKeyAttribute
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| DisplayCategoryKeyAttribute(String) |
建構函式 |
屬性
| 名稱 | Description |
|---|---|
| Key |
查詢局部房產類別的鍵值 |
方法
| 名稱 | Description |
|---|---|
| GetDefaultKey(FieldInfo) |
用於查詢預設資源檔案中本地化欄位類別的鍵 |
| GetDefaultKey(PropertyInfo) |
用於查詢預設資源檔案中本地化屬性類別的鍵 |
| GetDefaultKey(Type) |
用於在預設資源檔案中查找本地化類型類別的金鑰 |