MaterialCollection.Enumerator MaterialCollection.Enumerator MaterialCollection.Enumerator MaterialCollection.Enumerator Struct

定義

列舉 MaterialCollection 中的 Material 項目。Enumerates Material items in a MaterialCollection.

public: value class MaterialCollection::Enumerator : System::Collections::Generic::IEnumerator<System::Windows::Media::Media3D::Material ^>
public struct MaterialCollection.Enumerator : System.Collections.Generic.IEnumerator<System.Windows.Media.Media3D.Material>
type MaterialCollection.Enumerator = struct
    interface IEnumerator
    interface IEnumerator<Material>
    interface IDisposable
Public Structure MaterialCollection.Enumerator
Implements IEnumerator(Of Material)
繼承
MaterialCollection.EnumeratorMaterialCollection.EnumeratorMaterialCollection.EnumeratorMaterialCollection.Enumerator
實作

屬性

Current Current Current Current

取得 MaterialCollection 中目前的項目。Gets the current element in the MaterialCollection.

方法

MoveNext() MoveNext() MoveNext() MoveNext()

將列舉值設為集合中的下一個項目。Advances the enumerator to the next element in the collection.

Reset() Reset() Reset() Reset()

重設列舉值至初始位置,也就是集合中的第一個項目之前。Resets the enumerator to its initial position, which is before the first element in the collection.

明確介面實作

IEnumerator.Current IEnumerator.Current IEnumerator.Current IEnumerator.Current

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

適用於