Diffusion .NET Client Library
6.1.5
|
A structured reader allowing the record content to be read using IMRecord metadata. More...
Inherited by PushTechnology.ClientInterface.Client.Content.RecordStructuredReader.
Public Member Functions | |
string | Get (string name) |
Gets a field value by name. More... | |
string | Get (string name, int index) |
Get the value of a specified occurrence of a repeating field. More... | |
List< string > | GetValues (string name) |
Returns a list of the values of the named field. More... | |
A structured reader allowing the record content to be read using IMRecord metadata.
Such a reader may be created using IRecord.CreateNewReader(IMRecord).
The reader will validate record content against the metadata allowing a zero-length string in any field. If a different empty field value is to be permitted as well as zero-length string (which typically indicates 'no change' in a field), create the builder using IRecord.CreateNewReader(IMRecord, string).
string PushTechnology.ClientInterface.Client.Content.IStructuredReader.Get | ( | string | name | ) |
Gets a field value by name.
This can only be used for a non-repeating field.
name | The field name. |
string PushTechnology.ClientInterface.Client.Content.IStructuredReader.Get | ( | string | name, |
int | index | ||
) |
Get the value of a specified occurrence of a repeating field.
That can only be used for a field that is declared as repeating.
name | |
index |
List<string> PushTechnology.ClientInterface.Client.Content.IStructuredReader.GetValues | ( | string | name | ) |
Returns a list of the values of the named field.
name | The field name. |