Type.IsUnicodeClass Type.IsUnicodeClass Type.IsUnicodeClass Type.IsUnicodeClass Property

定义

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

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

属性值

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

实现

注解

StringFormatMask用于选择字符串格式特性。The StringFormatMask is used to select the string format attributes. 字符串格式特性通过定义应如何解释字符串来增强互操作性。The string format attributes enhance interoperability by defining how strings should be interpreted.

如果当前Type表示构造泛型类型,则此属性应用于构造该类型的泛型类型定义。If the current Type represents a constructed generic type, this property applies to the generic type definition from which the type was constructed. 例如,如果Type当前表示MyGenericType<int>MyGenericType(Of Integer)在 Visual Basic 中),则此属性的值由确定MyGenericType<T>For example, if the current Type represents MyGenericType<int> (MyGenericType(Of Integer) in Visual Basic), the value of this property is determined by MyGenericType<T>.

如果当前Type表示泛型类型或泛型方法的定义中的类型参数,则此属性始终返回falseIf the current Type represents a type parameter in the definition of a generic type or generic method, this property always returns false.

适用于

另请参阅