Click or drag to resize

SpanT Methods

The SpanT type exposes the following members.

Methods
 NameDescription
Public methodClear Clears the contents of this span by setting all elements to the default value of T.
Public methodCopyTo Copies the contents of this span into a destination SpanT.
Public methodEquals Not supported. Throws NotSupportedException.
(Overrides ValueTypeEquals(Object))
Obsolete
Public methodFill Fills all elements of this span with the specified value.
Public methodGetEnumeratorReturns an enumerator for this span, enabling foreach support.
Public methodGetHashCode Not supported. Throws NotSupportedException.
(Overrides ValueTypeGetHashCode)
Obsolete
Public methodGetPinnableReference Returns a reference to the first element for use with the fixed statement.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSlice(Int32) Forms a slice out of the current span starting at the specified index.
Public methodSlice(Int32, Int32) Forms a slice out of the current span starting at the specified index for the specified length.
Public methodToArray Copies the contents of this span into a new array.
Public methodToString Returns the string representation of this SpanT.
(Overrides ValueTypeToString)
Public methodTryCopyTo Attempts to copy the contents of this span into a destination SpanT and returns a value indicating whether the operation succeeded.
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn Converts a generic object
(Defined by JCOBridgeExtensions)
Public Extension MethodToNative Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions)
Top
See Also