Click or drag to resize
RefIsRef Method
Determine whether the specified string is a reference

Namespace: Rally.RestApi
Assembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax
public static bool IsRef(
	string reference
)

Parameters

reference
Type: SystemString
the ref to test

Return Value

Type: Boolean
true if a ref, false otherwise
Examples
C#
bool isValid;
isValid = Ref.IsRef("http://rally1.rallydev.com/slm/webservice/1.32/defect/1234.js");
// isValid is true


isValid = Ref.IsRef("https://rally1.rallydev.com/slm/webservice/1.32/defect/abc.js");
// isValid is false
See Also