ByteCollection Constructors
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
ByteCollection(Byte[]) |
Initializes a new instance of the ByteCollection class. |
ByteCollection(UInt32, Byte[]) |
Obsolete.
Initializes a new instance of the ByteCollection class. |
ByteCollection(UInt64, Byte[]) |
Initializes a new instance of the ByteCollection class. |
ByteCollection(UInt32, Byte[], String) |
Obsolete.
Initializes a new instance of the ByteCollection class. |
ByteCollection(UInt64, Byte[], String) |
Initializes a new instance of the ByteCollection class. |
ByteCollection(UInt64, String, Byte[]) |
Initializes a new instance of the ByteCollection class. |
ByteCollection(Byte[])
Initializes a new instance of the ByteCollection class.
public:
ByteCollection(cli::array <System::Byte> ^ value);
public:
ByteCollection(Platform::Array <byte> ^ value);
ByteCollection(std::Array <byte> const & value);
public ByteCollection (byte[] value);
new Microsoft.PowerShell.Commands.ByteCollection : byte[] -> Microsoft.PowerShell.Commands.ByteCollection
Public Sub New (value As Byte())
Parameters
- value
- Byte[]
Underlying bytes stored in the collection.
Applies to
ByteCollection(UInt32, Byte[])
Caution
The constructor is deprecated.
Initializes a new instance of the ByteCollection class.
public:
ByteCollection(System::UInt32 offset, cli::array <System::Byte> ^ value);
public:
ByteCollection(unsigned int offset, Platform::Array <byte> ^ value);
ByteCollection(unsigned int offset, std::Array <byte> const & value);
public ByteCollection (uint offset, byte[] value);
[System.Obsolete("The constructor is deprecated.", true)]
public ByteCollection (uint offset, byte[] value);
new Microsoft.PowerShell.Commands.ByteCollection : uint32 * byte[] -> Microsoft.PowerShell.Commands.ByteCollection
[<System.Obsolete("The constructor is deprecated.", true)>]
new Microsoft.PowerShell.Commands.ByteCollection : uint32 * byte[] -> Microsoft.PowerShell.Commands.ByteCollection
Public Sub New (offset As UInteger, value As Byte())
Parameters
- offset
- UInt32
The Offset address to be used while displaying the bytes in the collection.
- value
- Byte[]
Underlying bytes stored in the collection.
- Attributes
Applies to
ByteCollection(UInt64, Byte[])
Initializes a new instance of the ByteCollection class.
public ByteCollection (ulong offset, byte[] value);
new Microsoft.PowerShell.Commands.ByteCollection : uint64 * byte[] -> Microsoft.PowerShell.Commands.ByteCollection
Public Sub New (offset As ULong, value As Byte())
Parameters
- offset
- UInt64
The Offset address to be used while displaying the bytes in the collection.
- value
- Byte[]
Underlying bytes stored in the collection.
Applies to
ByteCollection(UInt32, Byte[], String)
Caution
The constructor is deprecated.
Initializes a new instance of the ByteCollection class.
public:
ByteCollection(System::UInt32 offset, cli::array <System::Byte> ^ value, System::String ^ path);
public:
ByteCollection(unsigned int offset, Platform::Array <byte> ^ value, Platform::String ^ path);
ByteCollection(unsigned int offset, std::Array <byte> const & value, std::wstring const & path);
public ByteCollection (uint offset, byte[] value, string path);
[System.Obsolete("The constructor is deprecated.", true)]
public ByteCollection (uint offset, byte[] value, string path);
new Microsoft.PowerShell.Commands.ByteCollection : uint32 * byte[] * string -> Microsoft.PowerShell.Commands.ByteCollection
[<System.Obsolete("The constructor is deprecated.", true)>]
new Microsoft.PowerShell.Commands.ByteCollection : uint32 * byte[] * string -> Microsoft.PowerShell.Commands.ByteCollection
Public Sub New (offset As UInteger, value As Byte(), path As String)
Parameters
- offset
- UInt32
The Offset address to be used while displaying the bytes in the collection.
- value
- Byte[]
Underlying bytes stored in the collection.
- path
- String
Indicates the path of the file whose contents are wrapped in the ByteCollection.
- Attributes
Applies to
ByteCollection(UInt64, Byte[], String)
Initializes a new instance of the ByteCollection class.
public ByteCollection (ulong offset, byte[] value, string path);
new Microsoft.PowerShell.Commands.ByteCollection : uint64 * byte[] * string -> Microsoft.PowerShell.Commands.ByteCollection
Public Sub New (offset As ULong, value As Byte(), path As String)
Parameters
- offset
- UInt64
The Offset address to be used while displaying the bytes in the collection.
- value
- Byte[]
Underlying bytes stored in the collection.
- path
- String
Indicates the path of the file whose contents are wrapped in the ByteCollection.
Applies to
ByteCollection(UInt64, String, Byte[])
Initializes a new instance of the ByteCollection class.
public ByteCollection (ulong offset, string label, byte[] value);
new Microsoft.PowerShell.Commands.ByteCollection : uint64 * string * byte[] -> Microsoft.PowerShell.Commands.ByteCollection
Public Sub New (offset As ULong, label As String, value As Byte())
Parameters
- offset
- UInt64
The Offset address to be used while displaying the bytes in the collection.
- label
- String
The label for the byte group. This may be a file path or a formatted identifying string for the group.
- value
- Byte[]
Underlying bytes stored in the collection.