| PowerShellScriptVerifyResultProperty Method |
Verifies that one of the results returned contains a property that matches the supplied value.
Namespace:
Galactic.PowerShell
Assembly:
Galactic.PowerShell (in Galactic.PowerShell.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool VerifyResultProperty(
string propertyName,
string value
)
Public Function VerifyResultProperty (
propertyName As String,
value As String
) As Boolean
public:
virtual bool VerifyResultProperty(
String^ propertyName,
String^ value
) sealed
abstract VerifyResultProperty :
propertyName : string *
value : string -> bool
override VerifyResultProperty :
propertyName : string *
value : string -> bool
Parameters
- propertyName
- Type: SystemString
The name of the property in the result object to verify. - value
- Type: SystemString
The value to match against.
Return Value
Type:
BooleanTrue if the property value matches the supplied value. False otherwise.
Implements
IPowerShellScriptVerifyResultProperty(String, String)See Also