DefaultAttribute Constructor (String)


Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of the DefaultAttribute class setting the value property.

Namespace:   Microsoft.Xrm.Sdk.Workflow
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

public DefaultAttribute(
	string value


Type: System.String

Type: String. Specifies a String containing the attribute value.

If the default value is for an attribute of type lookup, a customer or an owner, then you must use the DefaultAttribute Constructor (String, String) constructor and supply the entity name.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright