업데이트: 2007년 11월
열거자 인덱스를 컬렉션의 다음 개체로 이동합니다.
네임스페이스: Microsoft.Ink
어셈블리: Microsoft.Ink(Microsoft.Ink.dll)
구문
‘선언
Public Function MoveNext As Boolean
‘사용 방법
Dim instance As ExtendedProperties..::.ExtendedPropertiesEnumerator
Dim returnValue As Boolean
returnValue = instance.MoveNext()
public bool MoveNext()
public:
virtual bool MoveNext() sealed
public final boolean MoveNext()
public final function MoveNext() : boolean
반환 값
형식: System.Boolean
인덱스 위치가 개체를 참조하면 true이고, 인덱스 위치가 컬렉션의 끝을 참조하면 false입니다.
구현
설명
ExtendedProperties.ExtendedPropertiesEnumerator는 ExtendedProperties 컬렉션을 반복하며 System.Collections.IEnumerator 인터페이스를 구현합니다.
이 메서드는 System.Collections.IEnumerator.MoveNext에서 상속됩니다.
예제
이 예제에서는 ExtendedProperties 컬렉션의 System.Collections.IEnumerator를 가져와서 컬렉션의 각 항목을 열거하는 데 사용합니다. 다른 개체에도 적용 가능하지만 이 경우에는 Stroke.ExtendedProperties 속성에서 ExtendedProperties 컬렉션을 반환합니다.
Dim propList As ArrayList = New ArrayList()
Dim ienum As IEnumerator = stroke.ExtendedProperties.GetEnumerator()
ienum.Reset()
While ienum.MoveNext()
Dim prop As ExtendedProperty = DirectCast(ienum.Current, ExtendedProperty)
propList.Add(prop)
End While
ArrayList propList = new ArrayList();
IEnumerator ienum = stroke.ExtendedProperties.GetEnumerator();
ienum.Reset();
while (ienum.MoveNext())
{
ExtendedProperty prop = (ExtendedProperty)ienum.Current;
propList.Add(prop);
}
플랫폼
Windows Vista
.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
3.0에서 지원
참고 항목
참조
ExtendedProperties.ExtendedPropertiesEnumerator 클래스