_Type.IsAnsiClass 属性

定义

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

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

属性值

如果为 true 选择了字符串格式属性 AnsiClass,则为 Type;否则为 falsetrue if the string format attribute AnsiClass is selected for the Type; otherwise, false.

注解

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

属性获取一个值,该值指示是否为选择Type了字符串格式属性AnsiClassType.IsAnsiClassThe Type.IsAnsiClass property gets a value indicating whether the string format attribute AnsiClass is selected for the Type.

适用于