ChoiceExtensions.ToRef Method

Relativity Services API
Converts a fully hydrated Choice object into a ChoiceRef object.

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

public static ChoiceRef ToRef(
	this Choice choice
)

Parameters

choice
Type: Relativity.Services.Objects.DataContracts.Choice
The Choice object to convert.

Return Value

Type: ChoiceRef
The converted ChoiceRef.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Choice. 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