Parses a resource key from given value where the value is in the form {StaticResource x}

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

Syntax

C#
public static bool TryParseStaticResourceKey(
	string value,
	out string resourceKey
)
Visual Basic
Public Shared Function TryParseStaticResourceKey ( _
	value As String, _
	<OutAttribute> ByRef resourceKey As String _
) As Boolean
Visual C++
public:
static bool TryParseStaticResourceKey(
	String^ value, 
	[OutAttribute] String^% resourceKey
)

Parameters

value
Type: System..::..String
The value.
resourceKey
Type: System..::..String%
The resource key.

Return Value

A boolean indicating whether the parse operation was successful.

See Also