AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.

Inheritance Hierarchy

System.Object
  Amazon.SimpleDB.Model.UpdateCondition

Namespace: Amazon.SimpleDB.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class UpdateCondition : Object

The UpdateCondition type exposes the following members

Constructors

NameDescription
Public Method UpdateCondition() Empty constructor used to set properties independently even when a simple constructor is available
Public Method UpdateCondition(string, string, bool) Instantiates UpdateCondition with the parameterized properties

Properties

NameTypeDescription
Public Property Exists System.Boolean Gets and sets the property Exists.

A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.

Public Property Name System.String Gets and sets the property Name.

The name of the attribute involved in the condition.

Public Property Value System.String Gets and sets the property Value.

The value of an attribute. This value can only be specified when the Exists parameter is equal to true.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8