|
DXAttributeCollectionGetValueOrDefaultT(DXAttributeType, T) Method |
Gets the value of the specified attributeType or a defaultValue if the specified type T if the attributeType was not set.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public T GetValueOrDefault<T>(
DXAttributeType attributeType,
T defaultValue
)
Parameters
- attributeType DXAttributeType
- type of attribute as DXAttributeType
- defaultValue T
- value that is returned in case the specified attributeType is not set
Type Parameters
- T
Return Value
Tvalue of the specified attributeType
See Also