ExportedType 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public value class ExportedType
public struct ExportedType
public readonly struct ExportedType
type ExportedType = struct
Public Structure ExportedType
- 繼承
屬性
| 名稱 | Description |
|---|---|
| Attributes | |
| Implementation |
會取得一個 handle 來解析目標型別的實作。 |
| IsForwarder | |
| Name |
取得目標型別的名稱,或 |
| Namespace |
取得包含目標型別的命名空間的完整名稱,或 |
| NamespaceDefinition |
取得定義標識的命名空間的代號,或 |
方法
| 名稱 | Description |
|---|---|
| GetCustomAttributes() | |
擴充方法
| 名稱 | Description |
|---|---|
| GetTypeDefinitionId(ExportedType) |
在模組的 TypeDef 表中,會獲得目標類型的可能列號提示。
若命名空間與名稱不匹配,解析會回退至對目標 TypeDef 資料表進行完整搜尋。 忽略,若 IsForwarder 為 |