• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Method UnWrap

UnWrap(Type)

Convert data type of the value.

Declaration
object UnWrap(Type type)
Parameters
Type Name Description
System.Type type

New data Type.

Returns
Type Description
System.Object

Value with updated data type.

Examples

Example unwraps the entry into string and returns

if (entry.Exists())
{
    return entry.UnWrap(typeof(string));
}
Back to top Copyright © 2017 Alachisoft