CustomAttributeHandleCollection.Enumerator.IEnumerator.Current 属性
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取集合中位于枚举数当前位置的元素。
property System::Object ^ System::Collections::IEnumerator::Current { System::Object ^ get(); };
C#
object System.Collections.IEnumerator.Current { get; }
member this.System.Collections.IEnumerator.Current : obj
ReadOnly Property Current As Object Implements IEnumerator.Current
集合中位于枚举数当前位置的元素。
此成员是显式接口成员的实现。 它只能在 CustomAttributeHandleCollection.Enumerator 实例被强制转换为 IEnumerator 接口时使用。
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |