Leadtools.Dicom.Common

CanConvertFrom(ITypeDescriptorContext,Type) Method

Show in webframe





An System.ComponentModel.ITypeDescriptorContext that provides a format context.
The System.Type to convert the value parameter from.
Indicates whether the given value object can be converted from the specified type, using the specified context and culture information.
Syntax
public override bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type sourceType
)
'Declaration
 
Public Overloads Overrides Function CanConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal sourceType As Type _
) As Boolean
'Usage
 
Dim instance As ShortDateTypeConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim value As Boolean
 
value = instance.CanConvertFrom(context, sourceType)

            

            
public:
bool CanConvertFrom( 
   ITypeDescriptorContext^ context,
   Type^ sourceType
) override 

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
sourceType
The System.Type to convert the value parameter from.

Return Value

true if the given value object can be converted from the specified type, using the specified context and culture information; otherwise, false.
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