BaseDataListDesigner.GetTemplateContainerDataSource メソッド
アセンブリ: System.Design (system.design.dll 内)

<ObsoleteAttribute("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 Overrides Function GetTemplateContainerDataSource ( _ templateName As String _ ) As IEnumerable
Dim instance As BaseDataListDesigner Dim templateName As String Dim returnValue As IEnumerable returnValue = instance.GetTemplateContainerDataSource(templateName)
[ObsoleteAttribute("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 IEnumerable GetTemplateContainerDataSource ( string templateName )
[ObsoleteAttribute(L"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: virtual IEnumerable^ GetTemplateContainerDataSource ( String^ templateName ) override
/** @attribute ObsoleteAttribute("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 IEnumerable GetTemplateContainerDataSource ( String templateName )
ObsoleteAttribute("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 function GetTemplateContainerDataSource ( templateName : String ) : IEnumerable
戻り値
デザイン時の DataSource プロパティが格納されている IEnumerable インターフェイスを実装するオブジェクト。

GetTemplateContainerDataSource メソッドは、GetResolvedSelectedDataSource メソッドを呼び出し、BaseDataList クラスから派生した関連付けられたコントロールの DataSource プロパティおよび DataMember プロパティで指定されるオブジェクトからデータ ソースを構築します。
呼び出し時の注意 GetTemplateContainerDataSource メソッドは今後使用しません。呼び出し元は、代わりに GetResolvedSelectedDataSource メソッドを使用する必要があります。templateName パラメータは使用されません。

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からBaseDataListDesigner.GetTemplateContainerDataSource メソッドを検索する場合は、下記のリンクをクリックしてください。

- BaseDataListDesigner.GetTemplateContainerDataSource メソッドのページへのリンク