Dela via


DefaultAttribute Constructor (String)

 

Applies To: Dynamics CRM 2015

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)

Syntax

public DefaultAttribute(
    string value
)
public:
DefaultAttribute(
    String^ value
)
new : 
        value:string -> DefaultAttribute
Public Sub New (
    value As String
)

Parameters

Remarks

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.

See Also

DefaultAttribute Overload
DefaultAttribute Class
Microsoft.Xrm.Sdk.Workflow Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright