Поделиться через


DataClassificationTypeConverter Class

Definition

Provides a way to convert a DataClassification to and from a string.

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
Inheritance
DataClassificationTypeConverter
Attributes

Constructors

DataClassificationTypeConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.

CanConvertTo(ITypeDescriptorContext, Type)

Returns whether this converter can convert the object to the specified type, using the specified context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the given object to the type of this converter, using the specified context and culture information.

IsValid(ITypeDescriptorContext, Object)

Returns whether the given value object is valid for this type and for the specified context.

Applies to