GetEnumerator 方法
Gets an enumerator that can iterate through the list of objects.
此 API 不符合 CLS 標準。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<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() () () ()