IExplorerPropertyDescriptor 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義一種描述屬性中繼資料的方法,包括存取或轉換這些值的機制。
public interface class IExplorerPropertyDescriptor
public interface IExplorerPropertyDescriptor
type IExplorerPropertyDescriptor = interface
Public Interface IExplorerPropertyDescriptor
- 衍生
屬性
| 名稱 | Description |
|---|---|
| DisplayName |
取得欄位標頭和屬性檢視器中會顯示的名稱。 |
| Name |
取得應該與列舉器或 SFC(系統檔案檢查器)屬性名稱相符的名稱。 |
| Priority |
取得物業檢視器中該物業的順序。 |
| PropertyType |
取得房產類型。 |
| TargetType |
取得可選的屬性目標值類型。 |
方法
| 名稱 | Description |
|---|---|
| GetValue(IExplorerItem) |
取得原始屬性值並指定轉換成該型別。 |
| GetValueAsImage(IExplorerItem) |
將原始屬性值轉換成圖片。 |
| GetValueAsString(IExplorerItem) |
使用預設型別轉換器將原始屬性值轉換成字串。 |