BaseDataListDesigner.GetTemplateContainerDataSource(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202
テンプレートのコンテナーのデータ ソースを取得します。
public:
override System::Collections::IEnumerable ^ GetTemplateContainerDataSource(System::String ^ templateName);
public override System.Collections.IEnumerable GetTemplateContainerDataSource(string templateName);
[System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public override System.Collections.IEnumerable GetTemplateContainerDataSource(string templateName);
override this.GetTemplateContainerDataSource : string -> System.Collections.IEnumerable
[<System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>]
override this.GetTemplateContainerDataSource : string -> System.Collections.IEnumerable
Public Overrides Function GetTemplateContainerDataSource (templateName As String) As IEnumerable
パラメーター
返品
デザイン時のIEnumerable プロパティを含むDataSource インターフェイスを実装するオブジェクト。
- 属性
注釈
GetTemplateContainerDataSource メソッドは、GetResolvedSelectedDataSource メソッドを呼び出して、クラスから派生した関連付けられたコントロールのDataSourceプロパティとDataMemberプロパティで指定されたオブジェクトからデータ ソースBaseDataList構築します。
注意 (呼び出し元)
GetTemplateContainerDataSource(String)メソッドは廃止されています。 呼び出し元は、代わりに GetResolvedSelectedDataSource() メソッドを使用する必要があります。
templateName パラメーターは使用されません。