DataPropertyRegistryTryGetProperty Method

TIBCO Spotfire 11.4 API Reference
Tries to get a property with a given name.

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
public bool TryGetProperty(
	DataPropertyClass propertyClass,
	string propertyName,
	out DataProperty property
)

Parameters

propertyClass
Type: Spotfire.Dxp.DataDataPropertyClass
The property class to search in.
propertyName
Type: SystemString
The property name of the property to find.
property
Type: Spotfire.Dxp.DataDataProperty
This argument will be set to the property if it was found, it will be set to null otherwise.

Return Value

Type: Boolean
True if the property was found, false otherwise.
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference