Класс EmptyEnumerator
Acts as a placeholder when enumeration is called on an empty collection. This class cannot be inherited.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO..::..EmptyEnumerator
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
Сборка: Microsoft.SqlServer.ForEachADOEnumerator (в Microsoft.SqlServer.ForEachADOEnumerator.dll)
Синтаксис
'Декларация
Public NotInheritable Class EmptyEnumerator _
Implements IEnumerator
'Применение
Dim instance As EmptyEnumerator
public sealed class EmptyEnumerator : IEnumerator
public ref class EmptyEnumerator sealed : IEnumerator
[<SealedAttribute>]
type EmptyEnumerator =
class
interface IEnumerator
end
public final class EmptyEnumerator implements IEnumerator
Тип EmptyEnumerator обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
EmptyEnumerator | Initializes a new instance of the EmptyEnumerator class. |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
MoveNext | Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method. |
![]() |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. |
![]() |
ToString | (Производный от Object.) |
В начало
Замечания
The empty enumerator is returned by the runtime when there are no elements in the collection to enumerate over.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)