StdfMetadataCollection TryGetProperty T  Method (String, T ) TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
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.
See Also