BinaryData.Implicit Operator
In this article
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>. |
- 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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
- 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.
Applies to
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |