다음을 통해 공유


GetEnumerator 메서드

Gets an enumerator that can iterate through the list of objects.

이 API는 CLS와 호환되지 않습니다. 

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<CLSCompliantAttribute(False)> _
Public Function GetEnumerator As IEnumerator(Of EventProperty)
‘사용 방법
Dim instance As EventPropertyCollection
Dim returnValue As IEnumerator(Of EventProperty)

returnValue = instance.GetEnumerator()
[CLSCompliantAttribute(false)]
public IEnumerator<EventProperty> GetEnumerator()
[CLSCompliantAttribute(false)]
public:
virtual IEnumerator<EventProperty^>^ GetEnumerator() sealed
[<CLSCompliantAttribute(false)>]
abstract GetEnumerator : unit -> IEnumerator<EventProperty> 
[<CLSCompliantAttribute(false)>]
override GetEnumerator : unit -> IEnumerator<EventProperty> 
public final function GetEnumerator() : IEnumerator<EventProperty>

반환 값

형식: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'EventProperty> ) > ) >
An IEnumerator object value that can be used to iterate through the collection.

구현

IEnumerable< (Of < ( <'T> ) > ) >. . :: . .GetEnumerator() () () ()