다음을 통해 공유


WindowConfigurations.Item 메서드

WindowConfigurations 컬렉션의 인덱싱된 멤버를 반환합니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
Function Item ( _
    index As Object _
) As WindowConfiguration
WindowConfiguration Item(
    Object index
)
WindowConfiguration^ Item(
    [InAttribute] Object^ index
)
abstract Item : 
        index:Object -> WindowConfiguration
function Item(
    index : Object
) : WindowConfiguration

매개 변수

  • index
    형식: Object

    필수입니다. 반환할 항목의 인덱스입니다.

반환 값

형식: EnvDTE.WindowConfiguration
WindowConfiguration 개체

설명

index에 전달되는 값은 컬렉션의 WindowConfiguration 개체에 대한 인덱스를 나타내는 정수입니다. 또한 Index 는 컬렉션에 있는 WindowConfiguration 개체의 이름을 나타내는 문자열 값이 될 수도 있습니다.

Item 메서드는 컬렉션에서 인덱스 값에 해당하는 개체를 찾지 못하면 ArgumentException 예외를 throw합니다.

.NET Framework 보안

참고 항목

참조

WindowConfigurations 인터페이스

EnvDTE 네임스페이스

기타 리소스

방법: 자동화 개체 모델 코드의 예제 컴파일 및 실행