ChangeType Method

Summary
Changes an object to another type.
Syntax
C#
VB
C++
public static object ChangeType( 
   this object value, 
   Type to 
) 
<ExtensionAttribute()> 
Public Shared Function ChangeType( _ 
   ByVal value As Object, _ 
   ByVal to As Type _ 
) As Object 
[ExtensionAttribute()] 
public: 
static Object^ ChangeType(  
   Object^ value, 
   Type^ to 
)  

Parameters

value
The object to change.

to
The type of object the object should be changed to.

Return Value

The new object changed to the specified type.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.