DirectoryAttribute.Item[Int32] 속성

정의

Item[Int32] 속성은 지정된 인덱스에서 DirectoryAttribute 개체를 가져오거나 설정합니다.

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
public object this[int index] { get; set; }
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object

매개 변수

index
Int32

DirectoryAttribute 개체가 발견된 인덱스 값(0부터 시작)입니다.

속성 값

Object

지정된 인덱스의 DirectoryAttribute 개체입니다.

예외

설정할 value가 잘못된 형식인 경우. 유효한 형식은 byte[], 문자열 또는 URI입니다.

value에 null 참조(Visual Basic의 경우 Nothing)가 포함된 경우

설명

Get 메서드의 Item[] 개체를 문자열로 변환 하 고 값을 반환 하려고 항상; 바이트 배열을 반환 합니다. 더 나은 성능의 사용 합니다 GetValues 메서드 특성 값의 반환 형식을 알고 있으면 됩니다.

적용 대상