CustomPropertyValueExtensionsGetDescriptionOrDefault Method |
Gets the description 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
Syntaxpublic static MultilanguageString GetDescriptionOrDefault(
this CustomPropertyValue propertyValue,
MultilanguageString defaultDescription = null
)
<ExtensionAttribute>
Public Shared Function GetDescriptionOrDefault (
propertyValue As CustomPropertyValue,
Optional defaultDescription As MultilanguageString = Nothing
) As MultilanguageString
public:
[ExtensionAttribute]
static MultilanguageString^ GetDescriptionOrDefault(
CustomPropertyValue^ propertyValue,
MultilanguageString^ defaultDescription = nullptr
)
[<ExtensionAttribute>]
static member GetDescriptionOrDefault :
propertyValue : CustomPropertyValue *
?defaultDescription : MultilanguageString
(* Defaults:
let _defaultDescription = defaultArg defaultDescription null
*)
-> MultilanguageString
Parameters
- propertyValue
- Type: Aloe.EnterpriseOne.Model.GeneralCustomPropertyValue
The property value. - defaultDescription (Optional)
- Type: Aloe.EnterpriseOne.ModelMultilanguageString
The default description.
Return Value
Type:
MultilanguageStringUsage 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