FormDataSource.id Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the ID of the data source.
public:
override int id();
public override int id ();
override this.id : unit -> int
Public Overrides Function id () As Integer
Returns
The ID of the data source.
Remarks
The following example converts form data sources to their data source IDs.
static client DataSourceNumber fds2fdsNo(FormDataSource _fds)
{
Form form = _fds.formRun().form();
int i;
for (i=1;i<=form.dataSourceCount();i++)
{
if (_fds.formRun().dataSource(i).id() == _fds.id())
{
return i;
}
}
return 0;
}