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));
}