SignatureTypeEncoder.Array Method
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.
Array(Action<SignatureTypeEncoder>, Action<ArrayShapeEncoder>) |
Encodes an array type. |
Array(SignatureTypeEncoder, ArrayShapeEncoder) |
Encodes an array type. Returns a pair of encoders that must be used in the order they appear in the parameter list. |
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
Encodes an array type.
public:
void Array(Action<System::Reflection::Metadata::Ecma335::SignatureTypeEncoder> ^ elementType, Action<System::Reflection::Metadata::Ecma335::ArrayShapeEncoder> ^ arrayShape);
public void Array(Action<System.Reflection.Metadata.Ecma335.SignatureTypeEncoder> elementType, Action<System.Reflection.Metadata.Ecma335.ArrayShapeEncoder> arrayShape);
member this.Array : Action<System.Reflection.Metadata.Ecma335.SignatureTypeEncoder> * Action<System.Reflection.Metadata.Ecma335.ArrayShapeEncoder> -> unit
Public Sub Array (elementType As Action(Of SignatureTypeEncoder), arrayShape As Action(Of ArrayShapeEncoder))
Parameters
- elementType
- Action<SignatureTypeEncoder>
Called first, to encode the type of the element.
- arrayShape
- Action<ArrayShapeEncoder>
Called second, to encode the shape of the array.
Exceptions
elementType
or arrayShape
is null
.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
- Source:
- BlobEncoders.cs
Encodes an array type. Returns a pair of encoders that must be used in the order they appear in the parameter list.
public:
void Array([Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::SignatureTypeEncoder % elementType, [Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::ArrayShapeEncoder % arrayShape);
public void Array(out System.Reflection.Metadata.Ecma335.SignatureTypeEncoder elementType, out System.Reflection.Metadata.Ecma335.ArrayShapeEncoder arrayShape);
member this.Array : SignatureTypeEncoder * ArrayShapeEncoder -> unit
Public Sub Array (ByRef elementType As SignatureTypeEncoder, ByRef arrayShape As ArrayShapeEncoder)
Parameters
- elementType
- SignatureTypeEncoder
Use first, to encode the type of the element.
- arrayShape
- ArrayShapeEncoder
Use second, to encode the shape of the array.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: