_Type.IsContextful 属性

定义

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

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

属性值

如果 Type 能够在某个上下文中承载,则为 true;否则为 falsetrue if the Type can be hosted in a context; otherwise, false.

注解

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

属性获取一个值,该值指示Type是否可以在上下文中承载。 Type.IsContextfulThe Type.IsContextful property gets a value indicating whether the Type can be hosted in a context.

适用于