[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static T ConvertTo<T>(
this Object object,
T defaultValue
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function ConvertTo(Of T) (
object As Object,
defaultValue As T
) As T
Dim object As Object
Dim defaultValue As T
Dim returnValue As T
returnValue = object.ConvertTo(defaultValue)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
generic<typename T>
static T ConvertTo(
Object^ object,
T defaultValue
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member ConvertTo :
object : Object *
defaultValue : 'T -> 'T
No code example is currently available or this language may not be supported.
[Missing <param name="object"/> documentation for "M:DevCase.Extensions.ObjectExtensions.ObjectExtensions.ConvertTo``1(System.Object,``0)"]
No code example is currently available or this language may not be supported.
Dim value As String = "1000000000000000000000000"
Dim obj As Integer = value.ConvertTo(Of Integer)(Integer.MaxValue)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.