Click or drag to resize

IPropertySourceCanGetValue Method

Checks, whether this object can retrieve the value for the specified property, or not.

Namespace:  Mastersign.Bench.PropertyCollections
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
bool CanGetValue(
	string name
)

Parameters

name
Type: SystemString
The name of the property in question.

Return Value

Type: Boolean
true if this object can get the value for specified property; otherwise false.
Remarks
Even when this method returns true, it may be the case, that GetValue(String) returns null, because the property exists, but the value of the property is null.
See Also