AttributeTargetAttribute Constructor (String, String)

 

Applies To: Dynamics CRM 2015

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:
AttributeTargetAttribute(
    String^ entityName,
    String^ attributeName
)
new : 
        entityName:string *
        attributeName:string -> AttributeTargetAttribute
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

© 2016 Microsoft. All rights reserved. Copyright