Data.Bind.Components.TCollectionEnumerator.DoGetCurrent

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function DoGetCurrent: T; override;

C++

virtual T __fastcall DoGetCurrent();

プロパティ

種類 可視性 ソース ユニット
function public
Data.Bind.Components.pas
Data.Bind.Components.hpp
Data.Bind.Components TCollectionEnumerator

説明

コンテナ内で現在フォーカスされている要素を返します。

Data.Bind.Components.TCollectionEnumerator.DoGetCurrent は System.Generics.Collections.TEnumerator.DoGetCurrent を継承しています。以下の内容はすべて System.Generics.Collections.TEnumerator.DoGetCurrent を参照しています。

コンテナ内で現在フォーカスされている要素を返します。

DoGetCurrent を実装すると、コンテナ内で現在フォーカスされている要素を返すことができます。DoGetCurrent は、Current プロパティのリーダー メソッドです。

DoGetCurrentDoMoveNext と共に使用すると、コンテナ要素を列挙する特定の順序が与えられます。

関連項目