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: 66.0.19621.1485 (66.0.19621.1485)
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: BooleanTrue if the name was found; otherwise, false.
Exceptions
Exception | Condition |
---|---|
InvalidCastException | if the property exists but has the wrong type. |
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also