Dela via


AttributeTargetAttribute Constructor (String, String)

 

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

Initializes a new instance of the AttributeTargetAttribute class.

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

Syntax

public AttributeTargetAttribute(
    string entityName,
    string attributeName
)
Public Sub New (
    entityName As String,
    attributeName As String
)

Parameters

  • entityName
    Type: System.String

    Specifies a String containing the logical name of the entity. See Remarks.

  • attributeName
    Type: System.String

    Specifies a String containing the logical name of the attribute.

Remarks

The name of an entity is always lowercase, for example, account or new_bankaccount.

See Also

AttributeTargetAttribute Class
Microsoft.Xrm.Sdk.Workflow Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright