LayoutExtensions.ToRef Method

Relativity Services API
Converts a fully hydrated Layout object into a LayoutRef object.

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

public static LayoutRef ToRef(
	this Layout layout
)

Parameters

layout
Type: Relativity.Services.Objects.DataContracts.Layout
The Layout to convert.

Return Value

Type: LayoutRef
A Converted LayoutRef.

Usage Note

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