C# Class CrownPeak.SearchG2.Result.Field

Class that wraps a single facet result from a CrownPeak.SearchG2.PlainSearch on a CrownPeak SearchG2 collection.
Inheritance: IField
Datei anzeigen Open project: Crownpeak/Search-Results-Examples

Public Methods

Method Description
GetAsByteArray ( ) : byte[]

Convert the value of this field into a byte array.

GetAsByteArray ( int index ) : byte[]

Convert the nth value of this multi-valued field into a byte array.

GetAsDouble ( ) : double

Convert the value of this field into a double.

GetAsDouble ( int index ) : double

Convert the nth value of this multi-valued field into a double.

GetAsInt32 ( ) : int

Convert the value of this field into an Int32.

GetAsInt32 ( int index ) : int

Convert the nth value of this multi-valued field into an Int32.

GetAsObject ( ) : object

Convert the value of this field into an Object.

GetAsObject ( int index ) : object

Convert the nth value of this multi-valued field into an Object.

GetAsString ( ) : string

Convert the value of this field into a string.

GetAsString ( int index ) : string

Convert the nth value of this multi-valued field into a string.

GetAsType ( Type type ) : object

Convert the value of this field into the specified Type.

GetAsType ( int index, Type type ) : object

Convert the nth value of this multi-valued field into the specified Type.

GetEnumerator ( ) : IEnumerator

Get an IEnumerator{Object} for this collection.

ToString ( ) : string

Return a string that represents the current Field.

this ( int index ) : object

Get the numbered value from this collection.

Private Methods

Method Description
Field ( ) : System
Field ( string name, object value ) : System
System ( ) : System.Collections.IEnumerator

Get an System.Collections.IEnumerator for this collection.

Method Details

GetAsByteArray() public method

Convert the value of this field into a byte array.
public GetAsByteArray ( ) : byte[]
return byte[]

GetAsByteArray() public method

Convert the nth value of this multi-valued field into a byte array.
public GetAsByteArray ( int index ) : byte[]
index int The index of the value to retrieve.
return byte[]

GetAsDouble() public method

Convert the value of this field into a double.
public GetAsDouble ( ) : double
return double

GetAsDouble() public method

Convert the nth value of this multi-valued field into a double.
public GetAsDouble ( int index ) : double
index int The index of the value to retrieve.
return double

GetAsInt32() public method

Convert the value of this field into an Int32.
public GetAsInt32 ( ) : int
return int

GetAsInt32() public method

Convert the nth value of this multi-valued field into an Int32.
public GetAsInt32 ( int index ) : int
index int The index of the value to retrieve.
return int

GetAsObject() public method

Convert the value of this field into an Object.
public GetAsObject ( ) : object
return object

GetAsObject() public method

Convert the nth value of this multi-valued field into an Object.
public GetAsObject ( int index ) : object
index int The index of the value to retrieve.
return object

GetAsString() public method

Convert the value of this field into a string.
public GetAsString ( ) : string
return string

GetAsString() public method

Convert the nth value of this multi-valued field into a string.
public GetAsString ( int index ) : string
index int The index of the value to retrieve.
return string

GetAsType() public method

Convert the value of this field into the specified Type.
public GetAsType ( Type type ) : object
type System.Type The desired result .
return object

GetAsType() public method

Convert the nth value of this multi-valued field into the specified Type.
public GetAsType ( int index, Type type ) : object
index int The index of the value to retrieve.
type System.Type The desired result .
return object

GetEnumerator() public method

Get an IEnumerator{Object} for this collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

ToString() public method

Return a string that represents the current Field.
public ToString ( ) : string
return string

this() public method

Get the numbered value from this collection.
public this ( int index ) : object
index int The index to retrieve.
return object