Bewerken

AxHost.StateConverter Class

Definition

Converts AxHost.State objects from one data type to another.

This API supports the product infrastructure and is not intended to be used directly from your code.

public: ref class AxHost::StateConverter : System::ComponentModel::TypeConverter
public class AxHost.StateConverter : System.ComponentModel.TypeConverter
type AxHost.StateConverter = class
    inherit TypeConverter
Public Class AxHost.StateConverter
Inherits TypeConverter
Inheritance
AxHost.StateConverter

Remarks

You should never create an instance of the AxHost.StateConverter class. Instead, call the GetConverter method of the TypeDescriptor class. For more information, see the examples in the TypeConverter base class.

Constructors

Name Description
AxHost.StateConverter()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the AxHost.StateConverter class.

Methods

Name Description
CanConvertFrom(ITypeDescriptorContext, Type)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns whether the AxHost.StateConverter can convert an object of the specified type to an AxHost.State, using the specified context.

CanConvertTo(ITypeDescriptorContext, Type)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns whether the AxHost.StateConverter can convert an object to the given destination type using the context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

This member overrides ConvertFrom(ITypeDescriptorContext, CultureInfo, Object).

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

This API supports the product infrastructure and is not intended to be used directly from your code.

This member overrides ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).

Applies to