CustomPropertyValueExtensionsGetValueIdOrDefault Method |
Gets the value Id 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 Nullable<Guid> GetValueIdOrDefault(
this CustomPropertyValue propertyValue,
Nullable<Guid> defaultValueId = null
)
<ExtensionAttribute>
Public Shared Function GetValueIdOrDefault (
propertyValue As CustomPropertyValue,
Optional defaultValueId As Nullable(Of Guid) = Nothing
) As Nullable(Of Guid)
public:
[ExtensionAttribute]
static Nullable<Guid^>^ GetValueIdOrDefault(
CustomPropertyValue^ propertyValue,
Nullable<Guid^>^ defaultValueId = nullptr
)
[<ExtensionAttribute>]
static member GetValueIdOrDefault :
propertyValue : CustomPropertyValue *
?defaultValueId : Nullable<Guid>
(* Defaults:
let _defaultValueId = defaultArg defaultValueId null
*)
-> Nullable<Guid>
Parameters
- propertyValue
- Type: Aloe.EnterpriseOne.Model.GeneralCustomPropertyValue
The property value. - defaultValueId (Optional)
- Type: SystemNullableGuid
The default value identifier.
Return Value
Type:
NullableGuidUsage 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