Skip to content

6b6fc91f 81ff 335d 997c 28c0a5f27206

Arthur Frederico Neves edited this page Jul 19, 2016 · 3 revisions

BasePack.Item Property

Make the buffer's data public but deny the exchange of buffer reference.

Namespace: NETLIB
Assembly: NETLIB (in NETLIB.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public virtual byte this[
	int index
] { get; set; }

VB

Public Overridable Default Property Item ( 
	index As Integer
) As Byte
	Get
	Set

C++

public:
virtual property unsigned char default[int index] {
	unsigned char get (int index);
	void set (int index, unsigned char value);
}

F#

abstract Item : byte with get, set
override Item : byte with get, set

Parameters

 

index
Type: System.Int32
Index of the byte to be read.

Return Value

Type: Byte
A byte of the byffer indexed by index.

Exceptions

 

Exception Condition
ArgumentOutOfRangeException When the index is larger than buffer

See Also

Reference

BasePack Class
NETLIB Namespace

Clone this wiki locally