_Type.Namespace 属性

定义

为 COM 对象提供对 Namespace 属性的与版本无关的访问。Provides COM objects with version-independent access to the Namespace property.

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

属性值

Type 的命名空间。The namespace of the Type.

注解

此属性用于从非托管代码访问托管类,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

属性获取的Type命名空间。 Type.NamespaceThe Type.Namespace property gets the namespace of the Type.

适用于