Parses a link target identified with specified uri.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static bool TryParseLinkTarget(
	this XpsDocument document,
	Uri uri,
	out LinkTarget linkTarget
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function TryParseLinkTarget ( _
	document As XpsDocument, _
	uri As Uri, _
	<OutAttribute> ByRef linkTarget As LinkTarget _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool TryParseLinkTarget(
	XpsDocument^ document, 
	Uri^ uri, 
	[OutAttribute] LinkTarget^% linkTarget
)

Parameters

document
Type: FirstFloor.Documents..::..XpsDocument
The document.
uri
Type: System..::..Uri
The URI.
linkTarget
Type: FirstFloor.Documents..::..LinkTarget%
The link target.

Return Value

A value indicating whether the parse operation succeeded.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XpsDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also