指定したデータ ソースを取得します。
Overloads Public Shared Function GetSelectedDataSource( _
ByVal component As IComponent, _ ByVal dataSource As String _) As Object
[C#]
public static object GetSelectedDataSource(IComponentcomponent,stringdataSource);
[C++]
public: static Object* GetSelectedDataSource(IComponent* component,String* dataSource);
[JScript]
public static function GetSelectedDataSource(
component : IComponent,dataSource : String) : Object;
パラメータ
- component
データ ソースを格納している IComponent 。 - dataSource
取得するデータ ソース。
戻り値
データ ソース オブジェクト。データ ソースまたはコンポーネントのサイトにアクセスできなかった場合は null 参照 (Visual Basic では Nothing) 。
必要条件
プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- 直前の呼び出し元の完全信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細の参照先 : 部分信頼コードからのライブラリの使用
参照
DesignTimeData クラス | DesignTimeData メンバ | System.Web.UI.Design 名前空間 | DesignTimeData.GetSelectedDataSource オーバーロードの一覧