StdfMetadataCollectionTryGetPropertyT Method (String, T) TIBCO Spotfire 7.6 API Reference
Gets the value of a metadata property.

Namespace: Spotfire.Dxp.Data.Formats.Stdf
Assembly: Spotfire.Dxp.Data.Formats.Stdf (in Spotfire.Dxp.Data.Formats.Stdf.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public bool TryGetProperty<T>(
	string name,
	out T value
)

Parameters

name
Type: SystemString
The name of the property.
value
Type: T
The value of the property if found; otherwise, null.

Type Parameters

T
The runtime value type of the property.

Return Value

Type: Boolean
True if the name was found; otherwise, false.
Exceptions

ExceptionCondition
InvalidCastExceptionif the property exists but has the wrong type.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference