메소드 | 설명 | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Converts from string.
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Converts to string.
|
|
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object |
Converts from string.
|
|
ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
Converts to string.
|
메소드 | 설명 | |
---|---|---|
AngleString2Double ( string value ) : double |
Convert angle string to double value
|
|
Double2AngleString ( Double value ) : string |
Convert double value to angle string
|
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
sourceType | ||
리턴 | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
destinationType | ||
리턴 | bool |
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object | ||
context | ITypeDescriptorContext | An System.ComponentModel.ITypeDescriptorContext /// that provides a format context. |
culture | System | An optional System.Globalization.CultureInfo. /// If not supplied, the current culture is assumed. |
value | object | string to be converted to an element |
리턴 | object |
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
||
context | ITypeDescriptorContext | An ITypeDescriptorContext that provides a format context. |
culture | System | A CultureInfo. If null is passed, the current culture is assumed. |
value | object | The Object to convert. |
destinationType | The Type to convert the value parameter to. | |
리턴 | object |