This documentation is archived and is not being maintained.

DesignTimeData.GetDataMembers Method

Gets the data members of the specified data source.

[Visual Basic]
Public Shared Function GetDataMembers( _
   ByVal dataSource As Object _
) As String()
[C#]
public static string[] GetDataMembers(
 object dataSource
);
[C++]
public: static String* GetDataMembers(
 Object* dataSource
)  __gc[];
[JScript]
public static function GetDataMembers(
   dataSource : Object
) : String[];

Parameters

dataSource
The data source to retrieve the members of.

Return Value

An array of type string that represents the data members of the specified data source.

Example

[Visual Basic] 
Dim dataSources As String() = DesignTimeData.GetDataMembers(schemaSourceGrid)

[C#] 
string[] dataSources = DesignTimeData.GetDataMembers(schemaSourceGrid);            

[C++] 
String* dataSources[] = 
   DesignTimeData::GetDataMembers(schemaSourceGrid);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

DesignTimeData Class | DesignTimeData Members | System.Web.UI.Design Namespace

Show: