Method | Description | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Gets a value indicating whether this converter can convert an object in the given source type to a reference object using the specified context.
|
|
ConvertFrom ( ITypeDescriptorContext context, |
Converts the given object to the reference type.
|
|
ConvertTo ( ITypeDescriptorContext context, |
Converts the given value object to the reference type using the specified context and arguments.
|
|
GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection |
Gets a collection of standard values for the reference data type.
|
|
GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool |
Gets a value indicating whether the list of standard values returned from
|
|
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool |
Gets a value indicating whether this object supports a standard set of values that can be picked from a list.
|
|
ReferenceConverter ( |
Initializes a new instance of the
|
Method | Description | |
---|---|---|
IsValueAllowed ( ITypeDescriptorContext context, object value ) : bool |
Gets a value indicating whether a particular value can be added to the standard values collection.
|
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
sourceType | ||
return | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
return | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
destinationType | ||
return | object |
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection | ||
context | ITypeDescriptorContext | |
return | StandardValuesCollection |
public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
return | bool |
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
return | bool |
protected IsValueAllowed ( ITypeDescriptorContext context, object value ) : bool | ||
context | ITypeDescriptorContext | |
value | object | |
return | bool |
public ReferenceConverter ( |
||
type | ||
return | Microsoft.Win32 |