_Type.IsNestedAssembly 属性

定义

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

public:
 property bool IsNestedAssembly { bool get(); };
public bool IsNestedAssembly { get; }
member this.IsNestedAssembly : bool
Public ReadOnly Property IsNestedAssembly As Boolean

属性值

如果 true 是嵌套的并且仅在它自己的程序集中可见,则为 Type;否则为 falsetrue if the Type is nested and visible only within its own assembly; otherwise, false.

注解

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

属性获取一个值,该值指示是否Type是嵌套的并且仅在它自己的程序集内可见。 Type.IsNestedAssemblyThe Type.IsNestedAssembly property gets a value indicating whether the Type is nested and visible only within its own assembly.

适用于