Edit

Share via


OpenTypeMethods Class

Definition

Used to perform late-bound operations on open properties.

public ref class OpenTypeMethods abstract sealed
public static class OpenTypeMethods
type OpenTypeMethods = class
Public Class OpenTypeMethods
Inheritance
OpenTypeMethods

Remarks

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

Methods

Add(Object, Object)

Adds two values.

AndAlso(Object, Object)

Performs a logical and operation between two expressions.

Ceiling(Object)

Returns the ceiling of the given value.

Concat(Object, Object)

Concatenates two string values.

Convert(Object, ResourceType)

Converts a value to the specified type.

Day(Object)

Returns the day value of the given DateTime instance.

Divide(Object, Object)

Divides two values.

EndsWith(Object, Object)

Determines whether the end of one string matches another string.

Equal(Object, Object)

Determines whether the specified objects are considered equal.

Floor(Object)

Returns the floor of the given value.

GetValue(Object, String)

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

GreaterThan(Object, Object)

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

GreaterThanOrEqual(Object, Object)

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

Hour(Object)

Returns the hour value of the given DateTime instance.

IndexOf(Object, Object)

Returns the index of a substring in the target string.

Length(Object)

Gets the number of characters in the supplied string object.

LessThan(Object, Object)

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

LessThanOrEqual(Object, Object)

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

Minute(Object)

Returns the minute value of the given DateTime instance.

Modulo(Object, Object)

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

Month(Object)

Returns the month value of the given DateTime instance.

Multiply(Object, Object)

Multiplies two values.

Negate(Object)

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

Not(Object)

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

NotEqual(Object, Object)

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

OrElse(Object, Object)

Performs a logical OR operation on two values.

Replace(Object, Object, Object)

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

Round(Object)

Rounds the supplied value.

Second(Object)

Returns the second value of the given DateTime instance.

StartsWith(Object, Object)

Checks whether the target string starts with the substring.

Substring(Object, Object, Object)

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

Substring(Object, Object)

Returns the substring after the specified starting index location.

SubstringOf(Object, Object)

Determines whether a substring occurs in another string.

Subtract(Object, Object)

Subtracts two values.

ToLower(Object)

Returns a copy of a string converted to lowercase.

ToUpper(Object)

Returns a copy of a string converted to uppercase.

Trim(Object)

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

TypeIs(Object, ResourceType)

Checks the type of a specified value.

Year(Object)

Returns the year value of the given DateTime instance.

Applies to

See also