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: 30.0.11403.5322 (30.0.11403.5322)
Syntax
C#
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: 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: 7.9, 7.8, 7.7, 7.6, 7.5, 7.10, 7.0, 6.5, 6.0, 5.5, 5.0
See Also
See Also