메소드 | 설명 | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Returns True when sourceType is a String.
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Returns True when destinationType is a String.
|
|
ConvertFrom ( ITypeDescriptorContext context, |
Converts a String in the short form like "omus" to a LoggingPolicies enumeration.
|
|
ConvertTo ( ITypeDescriptorContext context, |
Converts a LoggingPolicies to a short form String like "voicewarmup".
|
메소드 | 설명 | |
---|---|---|
LoggingPoliciesConverter ( ) : System | ||
TryParse ( string value, LoggingPolicies &mode ) : bool |
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
sourceType | The type of the source object. | |
리턴 | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
destinationType | The type of the destination object. | |
리턴 | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
culture | The culture to use for conversion. | |
value | object | The |
리턴 | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
culture | The culture to use for conversion. | |
value | object | The |
destinationType | The type of the destination object. | |
리턴 | object |