AttributeTargetAttribute(String, String) Constructor

Definition

Initializes a new instance of the AttributeTargetAttribute class. A required attribute of a parameter if the parameter is of type OptionSetValue.

public:
 AttributeTargetAttribute(System::String ^ entityName, System::String ^ attributeName);
public AttributeTargetAttribute (string entityName, string attributeName);
new Microsoft.Xrm.Sdk.Workflow.AttributeTargetAttribute : string * string -> Microsoft.Xrm.Sdk.Workflow.AttributeTargetAttribute
Public Sub New (entityName As String, attributeName As String)

Parameters

entityName
String

The target entity name.

attributeName
String

The name of the target attribute of the entity.

Remarks

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

Applies to