다음을 통해 공유


ParameterModifier.Item 속성

지정된 인덱스 위치의 매개 변수가 현재 ParameterModifier에 의해 수정될지 여부를 지정하는 값을 가져오거나 설정합니다.

네임스페이스: System.Reflection
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
Public Default Property Item ( _
    index As Integer _
) As Boolean
‘사용 방법
Dim instance As ParameterModifier
Dim index As Integer
Dim value As Boolean

value = instance(index)

instance(index) = value
public bool this [
    int index
] { get; set; }
public:
property bool default [int] {
    bool get (int index);
    void set (int index, bool value);
}
/** @property */
public boolean get_Item (int index)

/** @property */
public void set_Item (int index, boolean value)
JScript에서는 인덱싱된 속성을 사용할 수 있지만 새로 선언할 수는 없습니다.

매개 변수

  • index
    수정 상태가 검사되거나 설정되고 있는 매개 변수의 인덱스 위치입니다.

속성 값

이 인덱스 위치의 매개 변수가 이 ParameterModifier에 의해 수정되면 true이고, 그렇지 않으면 false입니다.

설명

인덱서를 사용하면 형식이 배열인 것처럼 형식의 기본 속성을 인덱싱할 수 있습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

ParameterModifier 구조체
ParameterModifier 멤버
System.Reflection 네임스페이스