EventPropertyCollection.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<EventProperty>
An IEnumerator object value that can be used to iterate through the collection.
实现
IEnumerable<T>.GetEnumerator()