_Type.Namespace 屬性

定義

為 COM 物件提供與版本無關的 Namespace 屬性之存取權。

public:
 property System::String ^ Namespace { System::String ^ get(); };
public string Namespace { get; }
member this.Namespace : string
Public ReadOnly Property Namespace As String

屬性值

Type 的命名空間。

備註

此屬性適用于從 Unmanaged 程式碼存取 Managed 類別,不應從 Managed 程式碼呼叫。

屬性 Type.Namespace 會取得 的 Type 命名空間。

適用於