OpenTypeMethods Class

Represents a class used to perform late-bound operations on open properties.

Inheritance Hierarchy

System.Object
  System.Data.Services.Providers.OpenTypeMethods

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

Syntax

'Declaration
Public NotInheritable Class OpenTypeMethods
'Usage
public static class OpenTypeMethods
public ref class OpenTypeMethods abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type OpenTypeMethods =  class end
public final class OpenTypeMethods

The OpenTypeMethods type exposes the following members.

Methods

  Name Description
Public methodStatic member Add Adds two values.
Public methodStatic member AndAlso Performs a logical and operation between two expressions.
Public methodStatic member Ceiling Returns the ceiling of the given value.
Public methodStatic member Concat Concatenates two string values.
Public methodStatic member Convert Converts a value to the specified type.
Public methodStatic member Day Returns the day value of the given DateTime instance.
Public methodStatic member Distance Returns the distance between the specified objects.
Public methodStatic member Divide Divides two values.
Public methodStatic member EndsWith Determines whether the end of one string matches another string.
Public methodStatic member Equal Determines whether the specified objects are considered equal.
Public methodStatic member Floor Returns the floor of the given value.
Public methodStatic member GetValue Gets a value from the specified property of a specified object.
Public methodStatic member GreaterThan Determines whether the value of one object is greater than another object.
Public methodStatic member GreaterThanOrEqual Determines whether the value of one object is greater than or equal to another object.
Public methodStatic member Hour Returns the hour value of the given DateTime instance.
Public methodStatic member IndexOf Returns the index of a substring in the target string.
Public methodStatic member Length Gets the number of characters in the supplied string object.
Public methodStatic member LessThan Determines whether the value of one object is less than another object.
Public methodStatic member LessThanOrEqual Determines whether the value of one object is less than or equal to another object.
Public methodStatic member Minute Returns the minute value of the given DateTime instance.
Public methodStatic member Modulo Calculates the arithmetic remainder of dividing one value by a second value.
Public methodStatic member Month Returns the month value of the given DateTime instance.
Public methodStatic member Multiply Multiplies two values.
Public methodStatic member Negate Returns the result of multiplying the specified value by negative one.
Public methodStatic member Not Performs a bitwise (logical) complement operation on the supplied value.
Public methodStatic member NotEqual Performs a logical comparison of the two values to determine if they are not equal.
Public methodStatic member OrElse Performs a logical OR operation on two values.
Public methodStatic member Replace Replaces one substring with a second substring in a target string.
Public methodStatic member Round Rounds the supplied value.
Public methodStatic member Second Returns the second value of the given DateTime instance.
Public methodStatic member StartsWith Checks whether the target string starts with the substring.
Public methodStatic member Substring(Object, Object) Returns the substring after the specified starting index location.
Public methodStatic member Substring(Object, Object, Object) Returns the substring of a specific length after the specified starting index location.
Public methodStatic member SubstringOf Determines whether a substring occurs in another string.
Public methodStatic member Subtract Subtracts two values.
Public methodStatic member ToLower Returns a copy of a string converted to lowercase.
Public methodStatic member ToUpper Returns a copy of a string converted to uppercase.
Public methodStatic member Trim Removes all leading and trailing white-space characters from a string.
Public methodStatic member TypeIs Checks the type of a specified value.
Public methodStatic member Year Returns the year value of the given DateTime instance.

Top

Remarks

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

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.

See Also

Reference

System.Data.Services.Providers Namespace

Other Resources

Data Service Providers (WCF Data Services)