IQueryCollectionTryGetValue Method |
Retrieves value of query string item specified by given name.
Namespace: CMS.Base.InternalAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax bool TryGetValue(
string key,
out StringValues value
)
Parameters
- key
- Type: SystemString
Name of the query string item for which value is retrieved. - value
- Type: StringValues
If the key is found the value associated with the specified key, otherwise the default value for the type of the value parameter.
Return Value
Type:
BooleanTrue if query string item was present, otherwise false.
See Also