TableQuery.GenerateFilterConditionForDate Method

Windows Runtime Azure Storage Client Library

Generates a property filter condition string for the DateTimeOffset value.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim propertyName As String
Dim operation As String
Dim givenValue As DateTimeOffset
Dim returnValue As String

returnValue = TableQuery.GenerateFilterConditionForDate(propertyName, operation, givenValue)

Syntax

Visual Basic
Public Shared Function GenerateFilterConditionForDate ( _
	propertyName As String, _
	operation As String, _
	givenValue As DateTimeOffset _
) As String
C#
public static string GenerateFilterConditionForDate (
	string propertyName,
	string operation,
	DateTimeOffset givenValue
)
C++
public:
static String^ GenerateFilterConditionForDate (
	String^ propertyName, 
	String^ operation, 
	DateTimeOffset givenValue
)
J#
public static String GenerateFilterConditionForDate (
	String propertyName, 
	String operation, 
	DateTimeOffset givenValue
)
JScript
public static function GenerateFilterConditionForDate (
	propertyName : String, 
	operation : String, 
	givenValue : DateTimeOffset
) : String

Parameters

propertyName

A string containing the name of the property to compare.

operation

A string containing the comparison operator to use.

givenValue

A DateTimeOffset containing the value to compare with the property.

Return Value

A string containing the formatted filter condition.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also