Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# ISearchResult.GetFieldAsString Method

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

string GetFieldAsString(
Field field
);

#### Parameters

field
  `Field` to evaluate

#### Return Value

`String` value of 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 | if the field is not present in this `ISearchResult`

#### See Also

ISearchResult Interface | Plumtree.Remote.PRC.Search Namespace