DataClassificationTypeConverter 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供一种转换到字符串和从字符串转换 DataClassification 的方法。
public ref class DataClassificationTypeConverter : System::ComponentModel::TypeConverter
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0002", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class DataClassificationTypeConverter : System.ComponentModel.TypeConverter
public class DataClassificationTypeConverter : System.ComponentModel.TypeConverter
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0002", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type DataClassificationTypeConverter = class
inherit TypeConverter
type DataClassificationTypeConverter = class
inherit TypeConverter
Public Class DataClassificationTypeConverter
Inherits TypeConverter
- 继承
- 属性
构造函数
| 名称 | 说明 |
|---|---|
| DataClassificationTypeConverter() |
提供一种转换到字符串和从字符串转换 DataClassification 的方法。 |
方法
| 名称 | 说明 |
|---|---|
| CanConvertFrom(ITypeDescriptorContext, Type) |
返回此转换器是否可以使用指定的上下文将给定类型的对象转换为此转换器的类型。 |
| CanConvertTo(ITypeDescriptorContext, Type) |
返回此转换器是否可以使用指定的上下文将对象转换为指定类型。 |
| ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) |
使用指定的上下文和区域性信息将给定对象转换为此转换器的类型。 |
| IsValid(ITypeDescriptorContext, Object) |
返回给定值对象是否对此类型和指定的上下文有效。 |