다음을 통해 공유


HtmlWindowCollection.Item[] 속성

정의

컬렉션에서 해당 name 속성 또는 해당 위치로 항목을 검색합니다.

오버로드

Name Description
Item[Int32]

컬렉션에서 프레임의 위치를 제공하여 프레임 창을 검색합니다.

Item[String]

프레임의 이름을 제공하여 프레임 창을 검색합니다.

설명

Item[] 배열 구문을 사용하여 컬렉션의 요소에 액세스할 수 있습니다.

Item[Int32]

Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs

컬렉션에서 프레임의 위치를 제공하여 프레임 창을 검색합니다.

public:
 property System::Windows::Forms::HtmlWindow ^ default[int] { System::Windows::Forms::HtmlWindow ^ get(int index); };
public System.Windows.Forms.HtmlWindow this[int index] { get; }
public System.Windows.Forms.HtmlWindow? this[int index] { get; }
member this.Item(int) : System.Windows.Forms.HtmlWindow
Default Public ReadOnly Property Item(index As Integer) As HtmlWindow

매개 변수

index
Int32

컬렉션 내의 HtmlWindow 위치입니다.

속성 값

HtmlWindow 요청된 프레임에 해당하는 프레임입니다.

예외

index 가 컬렉션의 항목 수보다 큽니다.

설명

HtmlWindowCollection 는 0부터 시작하는 컬렉션입니다. 컬렉션에 N 요소가 있는 경우 유효한 인수 Item[] 는 0에서 N-1까지의 정수입니다.

Windows는 미리 정해진 순서로 배치 HtmlWindowCollection 되지 않습니다.

추가 정보

적용 대상

Item[String]

Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs
Source:
HtmlWindowCollection.cs

프레임의 이름을 제공하여 프레임 창을 검색합니다.

public:
 property System::Windows::Forms::HtmlWindow ^ default[System::String ^] { System::Windows::Forms::HtmlWindow ^ get(System::String ^ windowId); };
public System.Windows.Forms.HtmlWindow this[string windowId] { get; }
public System.Windows.Forms.HtmlWindow? this[string windowId] { get; }
member this.Item(string) : System.Windows.Forms.HtmlWindow
Default Public ReadOnly Property Item(windowId As String) As HtmlWindow

매개 변수

windowId
String

검색할 이름입니다 HtmlWindow .

속성 값

HtmlWindow 제공된 이름에 해당하는 요소입니다.

예외

windowId 은 현재 문서나 자식에 있는 개체의 이름이 Frame 아닙니다.

설명

Item[]는 해당 속성이 Name .에 해당하는 단일 요소를 반환합니다.elementId 문서에 이름이 Item[] 같은 요소가 여러 개 있는 경우 컬렉션의 첫 번째 요소만 반환합니다. 속성windowId이 있는 Name 모든 요소를 검색해야 하는 경우 대신 메서드를 GetElementsByName 사용합니다.

추가 정보

적용 대상