Type.IsAutoClass 属性

定义

获取一个值,该值指示是否为 AutoClass选择了字符串格式属性 Type

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

属性值

如果为 选择了字符串格式属性 ,则为 ;否则为 >。

实现

注解

选择 StringFormatMask 字符串格式属性。 字符串格式属性通过定义应如何解释字符串来增强互操作性。

如果当前 Type 表示构造的泛型类型,则此属性适用于从中构造该类型的泛型类型定义。 例如,如果当前 Type 表示 MyGenericType<int>MyGenericType(Of Integer) 在 Visual Basic 中),则此属性的值由 MyGenericType<T>该属性确定。

如果当前 Type 表示泛型类型的类型参数,则此属性始终返回 false

适用于

另请参阅