Share via


PositionTagged<T> Implicit Conversion (Tuple<T, Int32> to PositionTagged<T>)

Converts the specified object to a PositionTagged<T> object.

Namespace:  System.Web.WebPages.Instrumentation
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    value As Tuple(Of T, Integer) _
) As PositionTagged(Of T)
'Usage
Dim input As Tuple(Of T, Integer)
Dim output As PositionTagged(Of T)

output = CType(input, PositionTagged(Of T))
public static implicit operator PositionTagged<T> (
    Tuple<T, int> value
)
static implicit operator PositionTagged<T>^ (
    Tuple<T, int>^ value
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: System.Web.WebPages.Instrumentation.PositionTagged<T>
The PositionTagged<T> that represents the converted value.

See Also

Reference

PositionTagged<T> Class

Implicit Overload

System.Web.WebPages.Instrumentation Namespace