Click or drag to resize
IVirtualHierarchicalObjectTryGetProperty Method (String, Object, Boolean)
Returns property with given name (either object or property value).

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax
C#
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: Boolean
Returns true if the operation was successful (the value was present)
See Also