OpenTypeMethods Class


Used to perform late-bound operations on open properties.

Namespace:   System.Data.Services.Providers
Assembly:  System.Data.Services (in System.Data.Services.dll)


public ref class OpenTypeMethods abstract sealed 

System_CAPS_pubmethodSystem_CAPS_staticAdd(Object^, Object^)

Adds two values.

System_CAPS_pubmethodSystem_CAPS_staticAndAlso(Object^, Object^)

Performs a logical and operation between two expressions.


Returns the ceiling of the given value.

System_CAPS_pubmethodSystem_CAPS_staticConcat(Object^, Object^)

Concatenates two string values.

System_CAPS_pubmethodSystem_CAPS_staticConvert(Object^, ResourceType^)

Converts a value to the specified type.


Returns the day value of the given DateTime instance.

System_CAPS_pubmethodSystem_CAPS_staticDivide(Object^, Object^)

Divides two values.

System_CAPS_pubmethodSystem_CAPS_staticEndsWith(Object^, Object^)

Determines whether the end of one string matches another string.

System_CAPS_pubmethodSystem_CAPS_staticEqual(Object^, Object^)

Determines whether the specified objects are considered equal.


Returns the floor of the given value.

System_CAPS_pubmethodSystem_CAPS_staticGetValue(Object^, String^)

Gets a value from the specified property of a specified object.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThan(Object^, Object^)

Determines whether the value of one object is greater than another object.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThanOrEqual(Object^, Object^)

Determines whether the value of one object is greater than or equal to another object.


Returns the hour value of the given DateTime instance.

System_CAPS_pubmethodSystem_CAPS_staticIndexOf(Object^, Object^)

Returns the index of a substring in the target string.


Gets the number of characters in the supplied string object.

System_CAPS_pubmethodSystem_CAPS_staticLessThan(Object^, Object^)

Determines whether the value of one object is less than another object.

System_CAPS_pubmethodSystem_CAPS_staticLessThanOrEqual(Object^, Object^)

Determines whether the value of one object is less than or equal to another object.


Returns the minute value of the given DateTime instance.

System_CAPS_pubmethodSystem_CAPS_staticModulo(Object^, Object^)

Calculates the arithmetic remainder of dividing one value by a second value.


Returns the month value of the given DateTime instance.

System_CAPS_pubmethodSystem_CAPS_staticMultiply(Object^, Object^)

Multiplies two values.


Returns the result of multiplying the specified value by negative one.


Performs a bitwise (logical) complement operation on the supplied value.

System_CAPS_pubmethodSystem_CAPS_staticNotEqual(Object^, Object^)

Performs a logical comparison of the two values to determine if they are not equal.

System_CAPS_pubmethodSystem_CAPS_staticOrElse(Object^, Object^)

Performs a logical OR operation on two values.

System_CAPS_pubmethodSystem_CAPS_staticReplace(Object^, Object^, Object^)

Replaces one substring with a second substring in a target string.


Rounds the supplied value.


Returns the second value of the given DateTime instance.

System_CAPS_pubmethodSystem_CAPS_staticStartsWith(Object^, Object^)

Checks whether the target string starts with the substring.

System_CAPS_pubmethodSystem_CAPS_staticSubstring(Object^, Object^)

Returns the substring after the specified starting index location.

System_CAPS_pubmethodSystem_CAPS_staticSubstring(Object^, Object^, Object^)

Returns the substring of a specific length after the specified starting index location.

System_CAPS_pubmethodSystem_CAPS_staticSubstringOf(Object^, Object^)

Determines whether a substring occurs in another string.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(Object^, Object^)

Subtracts two values.


Returns a copy of a string converted to lowercase.


Returns a copy of a string converted to uppercase.


Removes all leading and trailing white-space characters from a string.

System_CAPS_pubmethodSystem_CAPS_staticTypeIs(Object^, ResourceType^)

Checks the type of a specified value.


Returns the year value of the given DateTime instance.

This class is used when you implement a custom data service provider for WCF Data Services.

.NET Framework
Available since 3.5

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

Return to top