Returns true if the context contains a value for a given property.
Namespace:
Gallio.CommonAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public bool HasProperty( string namespace, string identifier ) |
| Visual Basic (Declaration) |
|---|
Public Function HasProperty ( _ namespace As String, _ identifier As String _ ) As Boolean |
Parameters
- namespace
- Type: System..::.String
The property namespace.
- identifier
- Type: System..::.String
The property identifier.
Return Value
True if the context has the specified property.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if namespace or identifier is null. |
