LocationTagged<T> Implicit Conversion (LocationTagged<T> to T)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Converts the specified value to a LocationTagged<T> object.
Namespace: System.Web.Razor.Text
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
value As LocationTagged(Of T) _
) As T
'Usage
Dim input As LocationTagged(Of T)
Dim output As T
output = CType(input, T)
public static implicit operator T (
LocationTagged<T> value
)
static implicit operator T (
LocationTagged<T>^ value
)
JScript supports the use of custom casts, but not the declaration of new ones.
Parameters
- value
Type: System.Web.Razor.Text.LocationTagged<T>
The value to convert.
Return Value
Type: T
true if successfully converted; otherwise, false.