ConfigurationProperty.IsTypeStringTransformationRequired 属性

定义

指示在针对早期版本的 .NET Framework 序列化配置属性时,是否需要转换该属性的类型名称。Indicates whether the type name for the configuration property requires transformation when it is serialized for an earlier version of the .NET Framework.

此 API 支持产品基础结构,不能在代码中直接使用。

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

属性值

Boolean

如果该属性需要转换类型名称,则为 true;否则为 falsetrue if the property requires type-name transformation; otherwise, false.

注解

ConfigurationPropertyOptions调用包含参数的构造函数时,可使用设置此属性 ConfigurationPropertyOptionsYou use ConfigurationPropertyOptions to set this property when you call a constructor that includes a ConfigurationPropertyOptions parameter. 如果属性不包含类型名称字符串,则忽略此值。This value is ignored if the property does not contain a type-name string.

适用于