UrnCollection.IEnumerable.GetEnumerator 方法
Gets a non-generic enumerator.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
'用途
Dim instance As UrnCollection
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator
private override GetEnumerator : unit -> IEnumerator
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
傳回值
型別:System.Collections.IEnumerator
The non-generic enumerator.