FieldExtensions.ToRef Method

Relativity Services API
Converts a fully hydrated Field object into a FieldRef object.

Namespace:  Relativity.Services.Objects.Extensions
Assembly:  Relativity.Services.Interfaces (in Relativity.Services.Interfaces.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public static FieldRef ToRef(
	this Field field
)

Parameters

field
Type: Relativity.Services.Objects.DataContracts.Field
The Field to convert.

Return Value

Type: FieldRef
A converted FieldRef.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Field. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference