SocketAddress.Item[Int32] 속성

정의

내부 버퍼의 지정된 인덱스 요소를 가져오거나 설정합니다.

public:
 property System::Byte default[int] { System::Byte get(int offset); void set(int offset, System::Byte value); };
public byte this[int offset] { get; set; }
member this.Item(int) : byte with get, set
Default Public Property Item(offset As Integer) As Byte

매개 변수

offset
Int32

필요한 정보의 배열 인덱스 요소입니다.

속성 값

Byte

내부 버퍼의 지정된 인덱스 요소 값입니다.

예외

지정된 인덱스가 버퍼에 없는 경우

설명

이 속성은 기본 버퍼에서 지정된 바이트 위치를 가져오거나 설정합니다.

참고

기본 버퍼의 요소를 참조하기 전에 호출 Size 해야 합니다. 존재하지 않는 인덱스를 참조하면 SocketAddress IndexOutOfRangeException.

적용 대상

추가 정보