AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# ISearchResult.GetFieldAsString Method

Gets the `ToString()` value of the specified `Field`.

string GetFieldAsString(
Field field
);

#### Parameters

field
  The `Field` to evaluate.

#### Return Value

The `String` value of the field.

#### Remarks

This method can be used for all `Field`s, as it does not check if the value is of type `String`.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentException | The field is not present in this `ISearchResult`.

#### See Also

ISearchResult Interface | Plumtree.Remote.PRC.Search Namespace