Interface IStructuredReader

A structured reader allowing the record content to be read using metadata.

Namespace: PushTechnology.ClientInterface.Client.Content
Assembly: Diffusion.Client.dll
Syntax
public interface IStructuredReader
Remarks

Deprecated: This interface is no longer used and will be removed in a future release.

Methods

Get(String)

Gets a field value by name.

This can only be used for a non-repeating field.

Declaration
string Get(string name)
Parameters
Type Name Description
String name

The field name.

Returns
Type Description
String

Get(String, Int32)

Get the value of a specified occurrence of a repeating field.

That can only be used for a field that is declared as repeating.

Declaration
string Get(string name, int index)
Parameters
Type Name Description
String name
Int32 index
Returns
Type Description
String

GetValues(String)

Returns a list of the values of the named field.

Declaration
List<string> GetValues(string name)
Parameters
Type Name Description
String name

The field name.

Returns
Type Description
List<String>

A list of values which may be empty for optional fields and will contain only a single value for a single value field.

Back to top