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