PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Tests if the supplied string is a resource identifier.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static bool IsResourceIdentifier(
	 context,
	string identifier
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function IsResourceIdentifier ( _
	context As , _
	identifier As  _
) As 

Parameters

context
IRenderContext
I: Context.
identifier
String
I: Resource identifier to test, null allowed.

Return Value

True if supplied string is a resource identifier; otherwise false.

Remarks

A string is a resource identifier if it starts with '{', followed by a net identifier of one character at least, followed by a '}'. A resource identifier does not contain leading, embedded or trailing spacing. The net identifier may consist of digits, letters, '.', '-' and '_' characters. Letters may be in lowercase and uppercase and differences in case are not significant.

See Also

Advanced