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

개체를 찾을 인덱스 값(0부터 시작하는 DirectoryAttribute 값)입니다.

속성 값

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

예외

value 설정이 잘못된 형식입니다. 유효한 형식은 바이트[], 문자열 또는 URI입니다.

value null 참조를 포함합니다(Visual Basic Nothing).

설명

Get 메서드 Item[] 는 항상 값 개체를 문자열로 변환하고 반환하려고 시도하며, 그렇지 않으면 바이트 배열을 반환합니다. 성능을 향상시키려면 특성 값의 GetValues 반환 형식을 알고 있는 경우 메서드를 사용합니다.

적용 대상