Platform Core .NET Assemblies API
GetByName Method
See Also  Send Feedback
Terrasoft.Core.DB Namespace > QueryParameterCollection Class : GetByName Method
name
The name of the query parameter to return.

Glossary Item Box

From the current collection of query parameters, returns the parameter with the specified name. If the parameter is not found in the collection, an exception is thrown.

Syntax

 
C#
 
 

Parameters

name
The name of the query parameter to return.

Return Value

The instance of the QueryParameter query parameter with the name name.

Exceptions

ExceptionDescription
Terrasoft.Common.ItemNotFoundExceptionIf the parameter with the name name is not found in the current collection of query parameters.
Terrasoft.Common.ArgumentNullOrEmptyExceptionIf the empty value or null value is passed as the name parameter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.