LastName Property
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Gets or sets the customer last name.
Namespace: Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly: Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)
Syntax
'Declaration
<DataMemberAttribute> _
<ColumnAttribute("LASTNAME")> _
Public Property LastName As String
Get
Set
'Usage
Dim instance As Customer
Dim value As String
value = instance.LastName
instance.LastName = value
[DataMemberAttribute]
[ColumnAttribute("LASTNAME")]
public string LastName { get; set; }
[DataMemberAttribute]
[ColumnAttribute(L"LASTNAME")]
public:
property String^ LastName {
String^ get ();
void set (String^ value);
}
Property Value
Type: System.String
Returns String.