Leadtools.Dicom.Common

ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method

Show in webframe





An System.ComponentModel.ITypeDescriptorContext that provides a format context.
A System.Globalization.CultureInfo. If null is passed, the current culture is assumed.
The System.Object to convert.
Converts the given value object from the specified type, using the specified context and culture information.
Syntax
public override object ConvertFrom( 
   ITypeDescriptorContext context,
   CultureInfo culture,
   object value
)
'Declaration
 
Public Overloads Overrides Function ConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal culture As CultureInfo, _
   ByVal value As Object _
) As Object
'Usage
 
Dim instance As ShortDateTypeConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim value As Object
 
value = instance.ConvertFrom(context, culture, value)

            

            
public:
Object^ ConvertFrom( 
   ITypeDescriptorContext^ context,
   CultureInfo^ culture,
   Object^ value
) override 

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
culture
A System.Globalization.CultureInfo. If null is passed, the current culture is assumed.
value
The System.Object to convert.

Return Value

An System.Object that represents the converted value.
Exceptions
ExceptionDescription
System.NotSupportedException The conversion cannot be performed.
Requirements

Target Platforms

See Also

Reference

ShortDateTypeConverter Class
ShortDateTypeConverter Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features