RelationExtensionGetLink Method (IRelations, String)DocuWare Platform .NET API
Gets the link by its name.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.6
Syntax

C#
public static Link GetLink(
	this IRelations linkable,
	string relationName
)

Parameters

linkable
Type: DocuWare.Services.Http.ClientIRelations
The linkable.
relationName
Type: SystemString
Name of the relation.

Return Value

Type: Link
The link, if it exists; null otherwise.

Usage Note

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