Click or drag to resize

CustomPropertyValueExtensionsGetValueOrDefault Method

Gets the value or default if the propertyValue is null.

Namespace:  Aloe.EnterpriseOne.Model.General
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static string GetValueOrDefault(
	this CustomPropertyValue propertyValue,
	string defaultValue = null
)

Parameters

propertyValue
Type: Aloe.EnterpriseOne.Model.GeneralCustomPropertyValue
The property value.
defaultValue (Optional)
Type: SystemString
The default value.

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CustomPropertyValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also