메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
리턴 | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
destinationType | ||
리턴 | object |
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection | ||
context | ITypeDescriptorContext | |
리턴 | StandardValuesCollection |
public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
리턴 | bool |
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
리턴 | bool |
protected IsValueAllowed ( ITypeDescriptorContext context, object value ) : bool | ||
context | ITypeDescriptorContext | |
value | object | |
리턴 | bool |
public ReferenceConverter ( |
||
type | ||
리턴 | Microsoft.Win32 |