Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Adds an attribute value to the attributes collection.
Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public void AddAttributeValue(
    string attributeName,
    object value
)
Public Sub AddAttributeValue (
    attributeName As String,
    value As Object
)
Parameters
- attributeName 
 Type: System.String- Type: String. The logical name of the attribute. 
- value 
 Type: System.Object- Type: Object. The attribute value. 
See Also
QueryByAttribute Class
Microsoft.Xrm.Sdk.Query Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright