BinaryData.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Implicit(BinaryData to ReadOnlyMemory<Byte>) |
Defines an implicit conversion from a BinaryData to a ReadOnlyMemory<T>. |
Implicit(BinaryData to ReadOnlySpan<Byte>) |
Defines an implicit conversion from a BinaryData to a ReadOnlySpan<T>. |
Implicit(BinaryData to ReadOnlyMemory<Byte>)
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
Defines an implicit conversion from a BinaryData to a ReadOnlyMemory<T>.
public:
static operator ReadOnlyMemory<System::Byte>(BinaryData ^ data);
public static implicit operator ReadOnlyMemory<byte> (BinaryData? data);
static member op_Implicit : BinaryData -> ReadOnlyMemory<byte>
Public Shared Widening Operator CType (data As BinaryData) As ReadOnlyMemory(Of Byte)
Parameters
- data
- BinaryData
The value to be converted.
Returns
A read-only memory of bytes representing the implicitly converted BinaryData.
Applies to
Implicit(BinaryData to ReadOnlySpan<Byte>)
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
Defines an implicit conversion from a BinaryData to a ReadOnlySpan<T>.
public:
static operator ReadOnlySpan<System::Byte>(BinaryData ^ data);
public static implicit operator ReadOnlySpan<byte> (BinaryData? data);
static member op_Implicit : BinaryData -> ReadOnlySpan<byte>
Public Shared Widening Operator CType (data As BinaryData) As ReadOnlySpan(Of Byte)
Parameters
- data
- BinaryData
The value to be converted.
Returns
A read-only span of bytes representing the implicitly converted BinaryData.