Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ChangeType Method
See Also 
Leadtools.Dicom.Common.Extensions Namespace > GeneralExtensions Class : ChangeType Method



value
The object to change.
to
The type of change the object to.
value
The object to change.
to
The type of change the object to.
Changes object to another type.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Shared Function ChangeType( _
   ByVal value As Object, _
   ByVal to As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim value As Object
Dim to As Type
Dim value As Object
 
value = GeneralExtensions.ChangeType(value, to)
C# 
[ExtensionAttribute()]
public static object ChangeType( 
   object value,
   Type to
)
C++/CLI 
[ExtensionAttribute()]
public:
static Object^ ChangeType( 
   Object^ value,
   Type^ to
) 

Parameters

value
The object to change.
to
The type of change the object to.

Return Value

The new object changed to the specified type.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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