IPersistableObjectCanGetProperty Method

Gets whether the specified property can be retrieved. If returns , then GetPropertyOrDefault, ReplaceProperties and TryReplaceProperty methods throw an InvalidOperationException for the specified propertyName.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
bool CanGetProperty(
	string propertyName
)

Parameters

propertyName  String
Name of the property.

Return Value

Boolean
, if the specified property can be retrieved; otherwise, .

See Also