GetPropertyInfo

The GetPropertyInfo method retrieves a list of properties and their attributes from a collection, or the columns in a database table.

For example, if you ask for the properties of UserNames IDO, the response document returns information like the name of the base table used by the collection and for each property, its data type, label string, class, and so on.

Example

This example code retrieves an array of properties and their attributes from a specified IDO.

Client client = new Client( requestServiceURL, IDOProtocol.Http );
GetPropertyInfoResponseData response = default( GetPropertyInfoResponseData );
 
using ( client )
{
   response = client.GetPropertyInfo( idoName );
 
   // Property info can be enumerated as follows
   foreach ( PropertyInfo prop in response.Properties )
   {
      // Do something...
      Console.WriteLine( prop.Name );
   }
}