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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly