←Select platform

ConvertFrom Method

Summary

Converts the given value object from the specified type, using the specified context and culture information.

Syntax

C#
VB
C++
public override object ConvertFrom( 
   ITypeDescriptorContext context, 
   CultureInfo culture, 
   object value 
) 
Public Overloads Overrides Function ConvertFrom( _ 
   ByVal context As ITypeDescriptorContext, _ 
   ByVal culture As CultureInfo, _ 
   ByVal value As Object _ 
) As Object 
public: 
Object^ ConvertFrom(  
   ITypeDescriptorContext^ context, 
   CultureInfo^ culture, 
   Object^ value 
) override  

Parameters

context
An ITypeDescriptorContext that provides a format context.

culture
A CultureInfo. If null is passed, the current culture is assumed.

value
The Object to convert.

Return Value

An Object that represents the converted value.

Exceptions

ExceptionDescription
System.NotSupportedException The conversion cannot be performed.
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly