IVirtualHierarchicalObjectTryGetProperty Method (String, Object, Boolean) |
Returns property with given name (either object or property value).
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax bool TryGetProperty(
string columnName,
out Object value,
bool notNull
)
Parameters
- columnName
- Type: SystemString
Column name - value
- Type: SystemObject
Returns the value - notNull
- Type: SystemBoolean
If true, the object always tries to return non-null value for properties, at least, it returns empty objects
Return Value
Type:
BooleanReturns true if the operation was successful (the value was present)
See Also