Click or drag to resize
RelationExtensionHasRelationUri Method
Determines whether the specified link exists.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.7 [UNOFFICIAL BUILD]
Syntax
C#
public static bool HasRelationUri(
	this IRelations relations,
	string relationName
)

Parameters

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

Return Value

Type: Boolean
true if the specified link exists; otherwise, false.

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