StdfMetadataCollection TryGetProperty T  Method (String, T ) TIBCO Spotfire 6.5 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: 14.10.7525.5058 (14.10.7525.5058)
Syntax

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

Parameters

name
Type: System String
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
System InvalidCastExceptionif the property exists but has the wrong type.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also