System.Runtime
Provides a base class for Win32 critical handle implementations in which the value of -1 indicates an invalid handle.
Initializes a new instance of the class.
Gets a value that indicates whether the handle is invalid.
if the handle is not valid; otherwise, .
Provides a base class for Win32 critical handle implementations in which the value of either 0 or -1 indicates an invalid handle.
Initializes a new instance of the class.
Gets a value that indicates whether the handle is invalid.
if the handle is not valid; otherwise, .
Represents a wrapper class for a file handle.
Creates a around a file handle.
Initializes a new instance of the class.
An object that represents the pre-existing handle to use.
to reliably release the handle during the finalization phase; to prevent reliable release (not recommended).
Gets a value that determines if the handle is asynchronous or not.
if the handle is asynchronous; otherwise.
Gets a value that indicates whether the handle is invalid.
if the handle is not valid; otherwise, .
Provides a base class for Win32 safe handle implementations in which the value of -1 indicates an invalid handle.
Initializes a new instance of the class, specifying whether the handle is to be reliably released.
to reliably release the handle during the finalization phase; to prevent reliable release (not recommended).
Gets a value that indicates whether the handle is invalid.
if the handle is not valid; otherwise, .
Provides a base class for Win32 safe handle implementations in which the value of either 0 or -1 indicates an invalid handle.
Initializes a new instance of the class, specifying whether the handle is to be reliably released.
to reliably release the handle during the finalization phase; to prevent reliable release (not recommended).
Gets a value that indicates whether the handle is invalid.
if the handle is not valid; otherwise, .
Represents a wrapper class for a wait handle.
Creates a .
Initializes a new instance of the class.
An object that represents the pre-existing handle to use.
to reliably release the handle during the finalization phase; to prevent reliable release (not recommended).
The exception that is thrown when there is an attempt to read or write protected memory.
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Encapsulates a method that has no parameters and does not return a value.
Encapsulates a method that has a single parameter and does not return a value.
The parameter of the method that this delegate encapsulates.
The type of the parameter of the method that this delegate encapsulates.
Encapsulates a method that has 10 parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
Encapsulates a method that has 11 parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
Encapsulates a method that has 12 parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
Encapsulates a method that has 13 parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
Encapsulates a method that has 14 parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The fourteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
The type of the fourteenth parameter of the method that this delegate encapsulates.
Encapsulates a method that has 15 parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The fourteenth parameter of the method that this delegate encapsulates.
The fifteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
The type of the fourteenth parameter of the method that this delegate encapsulates.
The type of the fifteenth parameter of the method that this delegate encapsulates.
Encapsulates a method that has 16 parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The fourteenth parameter of the method that this delegate encapsulates.
The fifteenth parameter of the method that this delegate encapsulates.
The sixteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
The type of the fourteenth parameter of the method that this delegate encapsulates.
The type of the fifteenth parameter of the method that this delegate encapsulates.
The type of the sixteenth parameter of the method that this delegate encapsulates.
Encapsulates a method that has two parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
Encapsulates a method that has three parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
Encapsulates a method that has four parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
Encapsulates a method that has five parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
Encapsulates a method that has six parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
Encapsulates a method that has seven parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
Encapsulates a method that has eight parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
Encapsulates a method that has nine parameters and does not return a value.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
Contains methods to create types of objects locally or remotely, or obtain references to existing remote objects. This class cannot be inherited.
Creates an instance of the type whose name is specified, using the named assembly and the constructor that best matches the specified parameters.
The name of the assembly where the type named is sought. If is , the executing assembly is searched.
The fully qualified name of the type to create an instance of.
to specify that the search for is not case-sensitive; to specify that the search is case-sensitive.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that uses and to seek and identify the constructor. If is , the default binder is used.
An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If is an empty array or , the constructor that takes no parameters (the parameterless constructor) is invoked.
Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is , the for the current thread is used.
An array of one or more attributes that can participate in activation. This is typically an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
No matching constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The constructor, which was invoked through reflection, threw an exception.
The COM type was not obtained through or .
Creation of , , , and types, or arrays of those types, is not supported.
-or-
is not an empty array, and the type being created does not derive from .
-or-
The constructor that best matches has arguments.
is not a valid assembly.
-or-
The common language runtime (CLR) version 2.0 or later is currently loaded, and was compiled for a version of the CLR that is later than the currently loaded version. Note that the .NET Framework versions 2.0, 3.0, and 3.5 all use CLR version 2.0.
An assembly or module was loaded twice with two different evidences.
-or-
The assembly name or code base is invalid.
A handle that must be unwrapped to access the newly created instance, or for instances with no value.
Creates an instance of the type whose name is specified, using the named assembly and parameterless constructor.
The name of the assembly where the type named is sought. If is , the executing assembly is searched.
The fully qualified name of the type to create an instance of.
An array of one or more attributes that can participate in activation. This is typically an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
No matching public constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The COM type was not obtained through or .
Creation of , , , and types, or arrays of those types, is not supported.
-or-
is not an empty array, and the type being created does not derive from .
-or-
is not a
array.
is not a valid assembly.
-or-
The common language runtime (CLR) version 2.0 or later is currently loaded, and was compiled for a version of the CLR that is later than the currently loaded version. Note that the .NET Framework versions 2.0, 3.0, and 3.5 all use CLR version 2.0.
An assembly or module was loaded twice with two different evidences.
-or-
The assembly name or code base is invalid.
The invoked constructor throws an exception.
-or-
An error occurred when attempting remote activation in a target specified in .
A handle that must be unwrapped to access the newly created object, or for instances.
Creates an instance of the type whose name is specified, using the named assembly and parameterless constructor.
The name of the assembly where the type named is sought. If is , the executing assembly is searched.
The fully qualified name of the type to create an instance of.
is .
No matching public constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
You cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The constructor, which was invoked through reflection, threw an exception.
The COM type was not obtained through or .
Creation of , , , and types, or arrays of those types, is not supported.
is not a valid assembly.
-or-
The common language runtime (CLR) version 2.0 or later is currently loaded, and was compiled for a version of the CLR that is later than the currently loaded version. Note that the .NET Framework versions 2.0, 3.0, and 3.5 all use CLR version 2.0.
An assembly or module was loaded twice with two different evidences.
-or-
The assembly name or code base is invalid.
A handle that must be unwrapped to access the newly created object, or for instances.
Creates an instance of the specified type using that type's parameterless constructor.
The type of object to create.
if a public or nonpublic parameterless constructor can match; if only a public parameterless constructor can match.
is .
is not a .
-or-
is an open generic type (that is, the property returns ).
cannot be a .
-or-
Creation of , , , and types, or arrays of those types, is not supported.
-or-
The assembly that contains is a dynamic assembly that was created with .
The constructor being called throws an exception.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The COM type was not obtained through or .
No matching public constructor was found.
is a COM object but the class identifier used to obtain the type is invalid, or the identified class is not registered.
is not a valid type.
A reference to the newly created object, or for instances.
Creates an instance of the specified type using the constructor that best matches the specified parameters.
The type of object to create.
An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If is an empty array or , the constructor that takes no parameters (the parameterless constructor) is invoked.
An array of one or more attributes that can participate in activation. This is typically an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
is not a .
-or-
is an open generic type (that is, the property returns ).
cannot be a .
-or-
Creation of , , , and types, or arrays of those types, is not supported.
-or-
is not an empty array, and the type being created does not derive from .
-or-
The assembly that contains is a dynamic assembly that was created with .
-or-
The constructor that best matches has arguments.
The constructor being called throws an exception.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The COM type was not obtained through or .
No matching public constructor was found.
is a COM object but the class identifier used to obtain the type is invalid, or the identified class is not registered.
is not a valid type.
A reference to the newly created object, or for instances with no value.
Creates an instance of the specified type using the constructor that best matches the specified parameters.
The type of object to create.
An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If is an empty array or , the constructor that takes no parameters (the parameterless constructor) is invoked.
is .
is not a .
-or-
is an open generic type (that is, the property returns ).
cannot be a .
-or-
Creation of , , , and types, or arrays of those types, is not supported.
-or-
The assembly that contains is a dynamic assembly that was created with .
-or-
The constructor that best matches has arguments.
The constructor being called throws an exception.
The caller does not have permission to call this constructor.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The COM type was not obtained through or .
No matching public constructor was found.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
is a COM object but the class identifier used to obtain the type is invalid, or the identified class is not registered.
is not a valid type.
A reference to the newly created object, or for instances with no value.
Creates an instance of the specified type using the constructor that best matches the specified parameters.
The type of object to create.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that uses and to seek and identify the constructor. If is , the default binder is used.
An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If is an empty array or , the constructor that takes no parameters (the parameterless constructor) is invoked.
Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is , the for the current thread is used.
An array of one or more attributes that can participate in activation. This is typically an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
is not a .
-or-
is an open generic type (that is, the property returns ).
cannot be a .
-or-
Creation of , , , and types, or arrays of those types, is not supported.
-or-
is not an empty array, and the type being created does not derive from .
-or-
The assembly that contains is a dynamic assembly that was created with .
-or-
The constructor that best matches has arguments.
The constructor being called throws an exception.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The COM type was not obtained through or .
No matching constructor was found.
is a COM object but the class identifier used to obtain the type is invalid, or the identified class is not registered.
is not a valid type.
A reference to the newly created object, or for instances with no value.
Creates an instance of the specified type using the constructor that best matches the specified parameters.
The type of object to create.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that uses and to seek and identify the constructor. If is , the default binder is used.
An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If is an empty array or , the constructor that takes no parameters (the parameterless constructor) is invoked.
Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is , the for the current thread is used.
is .
is not a .
-or-
is an open generic type (that is, the property returns ).
cannot be a .
-or-
Creation of , , , and types, or arrays of those types, is not supported.
-or-
The assembly that contains is a dynamic assembly that was created with .
-or-
The constructor that best matches has arguments.
The constructor being called throws an exception.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The COM type was not obtained through or .
No matching constructor was found.
is a COM object but the class identifier used to obtain the type is invalid, or the identified class is not registered.
is not a valid type.
A reference to the newly created object, or for instances with no value.
Creates an instance of the specified type using that type's parameterless constructor.
The type of object to create.
is .
is not a .
-or-
is an open generic type (that is, the property returns ).
cannot be a .
-or-
Creation of , , , and types, or arrays of those types, is not supported.
-or-
The assembly that contains is a dynamic assembly that was created with .
The constructor being called throws an exception.
The caller does not have permission to call this constructor.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The COM type was not obtained through or .
No matching public constructor was found.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
is a COM object but the class identifier used to obtain the type is invalid, or the identified class is not registered.
is not a valid type.
A reference to the newly created object, or for instances.
Creates an instance of the type designated by the specified generic type parameter, using the parameterless constructor.
The type to create.
Cannot create an instance of an abstract class, or the type that is specified for does not have a parameterless constructor.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
A reference to the newly created object, or for instances.
Creates an instance of the type whose name is specified, using the named assembly file and the constructor that best matches the specified parameters.
The name of a file that contains an assembly where the type named is sought.
The name of the type to create an instance of.
to specify that the search for is not case-sensitive; to specify that the search is case-sensitive.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that uses and to seek and identify the constructor. If is , the default binder is used.
An array of arguments that match in number, order, and type the parameters of the constructor to invoke. If is an empty array or , the constructor that takes no parameters (the parameterless constructor) is invoked.
Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is , the for the current thread is used.
An array of one or more attributes that can participate in activation. This is typically an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
No matching constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The constructor, which was invoked through reflection, threw an exception.
The caller does not have the required .
is not an empty array, and the type being created does not derive from .
is not a valid assembly.
-or-
The common language runtime (CLR) version 2.0 or later is currently loaded, and was compiled for a version of the CLR that is later than the currently loaded version. Note that the .NET Framework versions 2.0, 3.0, and 3.5 all use CLR version 2.0.
A handle that must be unwrapped to access the newly created object, or for instances.
Creates an instance of the type whose name is specified, using the named assembly file and parameterless constructor.
The name of a file that contains an assembly where the type named is sought.
The name of the type to create an instance of.
An array of one or more attributes that can participate in activation. This is typically an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
No matching public constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The constructor, which was invoked through reflection, threw an exception.
is not an empty array, and the type being created does not derive from .
The caller does have the required .
is not a valid assembly.
-or-
The common language runtime (CLR) version 2.0 or later is currently loaded, and was compiled for a version of the CLR that is later than the currently loaded version. Note that the .NET Framework versions 2.0, 3.0, and 3.5 all use CLR version 2.0.
A handle that must be unwrapped to access the newly created object, or for instances.
Creates an instance of the type whose name is specified, using the named assembly file and parameterless constructor.
The name of a file that contains an assembly where the type named is sought.
The name of the type to create an instance of.
is .
No matching public constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
The constructor, which was invoked through reflection, threw an exception.
The caller does have the required .
is not a valid assembly.
-or-
The common language runtime (CLR) version 2.0 or later is currently loaded, and was compiled for a version of the CLR that is later than the currently loaded version. Note that the .NET Framework versions 2.0, 3.0, and 3.5 all use CLR version 2.0.
A handle that must be unwrapped to access the newly created object, or for instances.
Represents one or more errors that occur during application execution.
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class with references to the inner exceptions that are the cause of this exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Initializes a new instance of the class with references to the inner exceptions that are the cause of this exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
The argument is null.
The exception could not be deserialized correctly.
Initializes a new instance of the class with a specified error message and references to the inner exceptions that are the cause of this exception.
The error message that explains the reason for the exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
The argument is null.
Initializes a new instance of the class with a specified error message and references to the inner exceptions that are the cause of this exception.
The error message that explains the reason for the exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Flattens an instances into a single, new instance.
A new, flattened .
Returns the that is the root cause of this exception. This exception is either the root exception or the first that contains either multiple inner exceptions or no inner exceptions at all.
The that is the root cause of this exception.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
The argument is null.
Invokes a handler on each contained by this .
The predicate to execute for each exception. The predicate accepts as an argument the to be processed and returns a Boolean to indicate whether the exception was handled.
The argument is null.
An exception contained by this was not handled.
Creates and returns a string representation of the current .
A string representation of the current exception.
Gets a read-only collection of the instances that caused the current exception.
A read-only collection of the instances that caused the current exception.
Gets a message that describes the exception.
The message that describes the exception.
Provides members for setting and retrieving data about an application's context.
Returns the value of the named data element assigned to the current application domain.
The name of the data element.
The value of , if identifies a named value; otherwise, .
Sets the value of the named data element assigned to the current application domain.
The name of the data element
The value of
is .
Sets the value of a switch.
The name of the switch.
The value of the switch.
is .
is .
Tries to get the value of a switch.
The name of the switch.
When this method returns, contains the value of if was found, or if was not found. This parameter is passed uninitialized.
is .
is .
if was set and the argument contains the value of the switch; otherwise, .
Gets the file path of the base directory that the assembly resolver uses to probe for assemblies.
The file path of the base directory that the assembly resolver uses to probe for assemblies.
Gets the name of the framework version targeted by the current application.
The name of the framework version targeted by the current application.
Represents an application domain, which is an isolated environment where applications execute. This class cannot be inherited.
Occurs when an assembly is loaded.
Occurs when the resolution of an assembly fails.
Occurs when an is about to be unloaded.
Occurs when an exception is thrown in managed code, before the runtime searches the call stack for an exception handler in the application domain.
Occurs when the default application domain's parent process exits.
Occurs when the resolution of an assembly fails in the reflection-only context.
Occurs when the resolution of a resource fails because the resource is not a valid linked or embedded resource in the assembly.
Occurs when the resolution of a type fails.
Occurs when an exception is not caught.
Appends the specified directory name to the private path list.
The name of the directory to be appended to the private path.
The operation is attempted on an unloaded application domain.
Returns the assembly display name after policy has been applied.
The assembly display name, in the form provided by the property.
A string containing the assembly display name after policy has been applied.
Resets the path that specifies the location of private assemblies to the empty string ("").
The operation is attempted on an unloaded application domain.
Resets the list of directories containing shadow copied assemblies to the empty string ("").
The operation is attempted on an unloaded application domain.
Creates a new application domain with the specified name.
The friendly name of the domain.
is .
.NET Core and .NET 5+ only: In all cases.
The newly created application domain.
Creates a new instance of the specified type defined in the specified assembly. Parameters specify a binder, binding flags, constructor arguments, culture-specific information used to interpret arguments, and optional activation attributes.
The display name of the assembly. See .
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
A Boolean value specifying whether to perform a case-sensitive search or not.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If is null, the default binder is used.
The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the parameterless constructor is preferred, must be an empty array or null.
Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is , the for the current thread is used.
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
The operation is attempted on an unloaded application domain.
or is .
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
was not found.
The caller does not have permission to call this constructor.
No matching constructor was found.
The caller cannot provide activation attributes for an object that does not inherit from .
was not found in .
This instance is .
An object that is a wrapper for the new instance specified by . The return value needs to be unwrapped to access the real object.
Creates a new instance of the specified type defined in the specified assembly. A parameter specifies an array of activation attributes.
The display name of the assembly. See .
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects.Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
The operation is attempted on an unloaded application domain.
or is .
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
was not found.
The caller does not have permission to call this constructor.
No matching public constructor was found.
The caller cannot provide activation attributes for an object that does not inherit from .
was not found in .
This instance is .
An object that is a wrapper for the new instance specified by . The return value needs to be unwrapped to access the real object.
Creates a new instance of the specified type defined in the specified assembly.
The display name of the assembly. See .
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
The operation is attempted on an unloaded application domain.
or is .
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
was not found.
The caller does not have permission to call this constructor.
No matching public constructor was found.
was not found in .
This instance is .
An object that is a wrapper for the new instance specified by . The return value needs to be unwrapped to access the real object.
Creates a new instance of the specified type defined in the specified assembly, specifying whether the case of the type name is ignored; the binding attributes and the binder that are used to select the type to be created; the arguments of the constructor; the culture; and the activation attributes.
The display name of the assembly. See .
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
A Boolean value specifying whether to perform a case-sensitive search or not.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If is null, the default binder is used.
The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the parameterless constructor is preferred, must be an empty array or null.
A culture-specific object used to govern the coercion of types. If is , the for the current thread is used.
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object. that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
or is .
No matching constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
The caller cannot provide activation attributes for an object that does not inherit from .
The operation is attempted on an unloaded application domain.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
An instance of the object specified by .
Creates a new instance of the specified type. Parameters specify the assembly where the type is defined, the name of the type, and an array of activation attributes.
The display name of the assembly. See .
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects.Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
or is .
No matching public constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
The caller cannot provide activation attributes for an object that does not inherit from .
The operation is attempted on an unloaded application domain.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
An instance of the object specified by .
Creates a new instance of the specified type. Parameters specify the assembly where the type is defined, and the name of the type.
The display name of the assembly. See .
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
or is .
No matching public constructor was found.
was not found in .
was not found.
The caller does not have permission to call this constructor.
The operation is attempted on an unloaded application domain.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
An instance of the object specified by .
Creates a new instance of the specified type defined in the specified assembly file.
The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the method.
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
A Boolean value specifying whether to perform a case-sensitive search or not.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects through reflection. If is null, the default binder is used.
The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the parameterless constructor is preferred, must be an empty array or null.
Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is , the for the current thread is used.
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
-or-
is .
The caller cannot provide activation attributes for an object that does not inherit from .
The operation is attempted on an unloaded application domain.
was not found.
was not found in .
No matching public constructor was found.
The caller does not have sufficient permission to call this constructor.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
This instance is .
An object that is a wrapper for the new instance, or if is not found. The return value needs to be unwrapped to access the real object.
Creates a new instance of the specified type defined in the specified assembly file.
The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the method.
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects.Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
was not found.
was not found in .
The caller does not have sufficient permission to call this constructor.
No matching public constructor was found.
The caller cannot provide activation attributes for an object that does not inherit from .
The operation is attempted on an unloaded application domain.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
This instance is .
An object that is a wrapper for the new instance, or if is not found. The return value needs to be unwrapped to access the real object.
Creates a new instance of the specified type defined in the specified assembly file.
The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the method.
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
is .
-or-
is .
was not found.
was not found in .
The operation is attempted on an unloaded application domain.
No parameterless public constructor was found.
The caller does not have sufficient permission to call this constructor.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
This instance is .
An object that is a wrapper for the new instance, or if is not found. The return value needs to be unwrapped to access the real object.
Creates a new instance of the specified type defined in the specified assembly file, specifying whether the case of the type name is ignored; the binding attributes and the binder that are used to select the type to be created; the arguments of the constructor; the culture; and the activation attributes.
The file name and path of the assembly that defines the requested type.
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
A Boolean value specifying whether to perform a case-sensitive search or not.
A combination of zero or more bit flags that affect the search for the constructor. If is zero, a case-sensitive search for public constructors is conducted.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects through reflection. If is null, the default binder is used.
The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the parameterless constructor is preferred, must be an empty array or null.
Culture-specific information that governs the coercion of to the formal types declared for the constructor. If is , the for the current thread is used.
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
-or-
is .
The caller cannot provide activation attributes for an object that does not inherit from .
The operation is attempted on an unloaded application domain.
was not found.
was not found in .
No matching public constructor was found.
The caller does not have sufficient permission to call this constructor.
is not a valid assembly.
-or-
was compiled with a later version of the common language runtime that the version that is currently loaded.
An assembly or module was loaded twice with two different evidences.
The requested object, or if is not found.
Creates a new instance of the specified type defined in the specified assembly file.
The fully qualified name of the requested type, including the namespace but not the assembly (see the property).
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object.
This parameter is related to client-activated objects.Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is .
-or-
is .
The caller cannot provide activation attributes for an object that does not inherit from .
The operation is attempted on an unloaded application domain.
was not found.
was not found in .
No parameterless public constructor was found.
The caller does not have sufficient permission to call this constructor.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
The requested object, or if is not found.
Creates a new instance of the specified type defined in the specified assembly file.
The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the property.
is .
-or-
is .
The operation is attempted on an unloaded application domain.
was not found.
was not found in .
No parameterless public constructor was found.
The caller does not have sufficient permission to call this constructor.
is not a valid assembly for the currently loaded runtime.
An assembly or module was loaded twice with two different evidences.
The requested object, or if is not found.
Executes the assembly contained in the specified file, using the specified arguments, hash value, and hash algorithm.
The name of the file that contains the assembly to execute.
The arguments to the entry point of the assembly.
Represents the value of the computed hash code.
Represents the hash algorithm used by the assembly manifest.
is .
is not found.
is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
An assembly or module was loaded twice with two different evidences.
The specified assembly has no entry point.
The value that is returned by the entry point of the assembly.
Executes the assembly contained in the specified file, using the specified arguments.
The name of the file that contains the assembly to execute.
The arguments to the entry point of the assembly.
is .
is not found.
is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
An assembly or module was loaded twice with two different evidences.
The specified assembly has no entry point.
The value that is returned by the entry point of the assembly.
Executes the assembly contained in the specified file.
The name of the file that contains the assembly to execute.
is .
is not found.
is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
An assembly or module was loaded twice with two different evidences.
The specified assembly has no entry point.
The value returned by the entry point of the assembly.
Executes the assembly given an , using the specified arguments.
An object representing the name of the assembly.
Command-line arguments to pass when starting the process.
The assembly specified by is not found.
The assembly specified by was found, but could not be loaded.
The assembly specified by is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
The specified assembly has no entry point.
The value that is returned by the entry point of the assembly.
Executes the assembly given its display name, using the specified arguments.
The display name of the assembly. See .
Command-line arguments to pass when starting the process.
is .
The assembly specified by is not found.
The assembly specified by was found, but could not be loaded.
The assembly specified by is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
The specified assembly has no entry point.
The value that is returned by the entry point of the assembly.
Executes an assembly given its display name.
The display name of the assembly. See .
is .
The assembly specified by is not found.
The assembly specified by is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
The assembly specified by was found, but could not be loaded.
The specified assembly has no entry point.
The value returned by the entry point of the assembly.
Gets the assemblies that have been loaded into the execution context of this application domain.
The operation is attempted on an unloaded application domain.
An array of assemblies in this application domain.
Gets the current thread identifier.
A 32-bit signed integer that is the identifier of the current thread.
Gets the value stored in the current application domain for the specified name.
The name of a predefined application domain property, or the name of an application domain property you have defined.
is .
The operation is attempted on an unloaded application domain.
The value of the property, or if the property does not exist.
Gets a nullable Boolean value that indicates whether any compatibility switches are set, and if so, whether the specified compatibility switch is set.
The compatibility switch to test.
A null reference ( in Visual Basic) if no compatibility switches are set; otherwise, a Boolean value that indicates whether the compatibility switch that is specified by is set.
Returns a value that indicates whether the application domain is the default application domain for the process.
if the current object represents the default application domain for the process; otherwise, .
Indicates whether this application domain is unloading, and the objects it contains are being finalized by the common language runtime.
if this application domain is unloading and the common language runtime has started invoking finalizers; otherwise, .
Loads the with a common object file format (COFF) based image containing an emitted . The raw bytes representing the symbols for the are also loaded.
An array of type that is a COFF-based image containing an emitted assembly.
An array of type containing the raw bytes representing the symbols for the assembly.
is .
is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
An assembly or module was loaded twice with two different evidences.
The loaded assembly.
Loads the with a common object file format (COFF) based image containing an emitted .
An array of type that is a COFF-based image containing an emitted assembly.
is .
is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
An assembly or module was loaded twice with two different evidences.
The loaded assembly.
Loads an given its .
An object that describes the assembly to load.
is .
is not found.
is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
An assembly or module was loaded twice with two different evidences.
The loaded assembly.
Loads an given its display name.
The display name of the assembly. See .
is
is not found.
is not a valid assembly for the currently loaded runtime.
The operation is attempted on an unloaded application domain.
An assembly or module was loaded twice with two different evidences.
The loaded assembly.
Returns the assemblies that have been loaded into the reflection-only context of the application domain.
An operation is attempted on an unloaded application domain.
An array of objects that represent the assemblies loaded into the reflection-only context of the application domain.
Establishes the specified directory path as the location where assemblies are shadow copied.
The fully qualified path to the shadow copy location.
The operation is attempted on an unloaded application domain.
Assigns the specified value to the specified application domain property.
The name of a user-defined application domain property to create or change.
The value of the property.
The operation is attempted on an unloaded application domain.
Establishes the specified directory path as the base directory for subdirectories where dynamically generated files are stored and accessed.
The fully qualified path that is the base directory for subdirectories where dynamic assemblies are stored.
The operation is attempted on an unloaded application domain.
Specifies how principal and identity objects should be attached to a thread if the thread attempts to bind to a principal while executing in this application domain.
One of the values that specifies the type of the principal object to attach to threads.
The operation is attempted on an unloaded application domain.
Turns on shadow copying.
The operation is attempted on an unloaded application domain.
Establishes the specified directory path as the location of assemblies to be shadow copied.
A list of directory names, where each name is separated by a semicolon.
The operation is attempted on an unloaded application domain.
Sets the default principal object to be attached to threads if they attempt to bind to a principal while executing in this application domain.
The principal object to attach to threads.
is .
The thread principal has already been set.
The operation is attempted on an unloaded application domain.
Obtains a string representation that includes the friendly name of the application domain and any context policies.
The application domain represented by the current has been unloaded.
A string formed by concatenating the literal string "Name:", the friendly name of the application domain, and either string representations of the context policies or the string "There are no context policies."
Unloads the specified application domain.
An application domain to unload.
is .
.NET Core and .NET 5+ only: In all cases.
-or-
could not be unloaded.
An error occurred during the unload process.
Gets the base directory that the assembly resolver uses to probe for assemblies.
The operation is attempted on an unloaded application domain.
The base directory that the assembly resolver uses to probe for assemblies.
Gets the current application domain for the current .
The current application domain.
Gets the directory that the assembly resolver uses to probe for dynamically created assemblies.
The operation is attempted on an unloaded application domain.
The directory that the assembly resolver uses to probe for dynamically created assemblies.
Gets the friendly name of this application domain.
The operation is attempted on an unloaded application domain.
The friendly name of this application domain.
Gets an integer that uniquely identifies the application domain within the process.
An integer that identifies the application domain.
Gets a value that indicates whether assemblies that are loaded into the current application domain execute with full trust.
.NET Framework only: if assemblies that are loaded into the current application domain execute with full trust; otherwise, .
.NET Core and .NET 5+: in all cases.
Gets a value that indicates whether the current application domain has a set of permissions that is granted to all assemblies that are loaded into the application domain.
if the current application domain has a homogenous set of permissions; otherwise, .
Gets or sets a value that indicates whether CPU and memory monitoring of application domains is enabled for the current process. Once monitoring is enabled for a process, it cannot be disabled.
The current process attempted to assign the value to this property.
if monitoring is enabled; otherwise .
Gets the number of bytes that survived the last collection and that are known to be referenced by the current application domain.
The ( in Visual Basic) property is set to .
The number of surviving bytes.
Gets the total bytes that survived from the last collection for all application domains in the process.
The ( in Visual Basic) property is set to .
The total number of surviving bytes for the process.
Gets the total size, in bytes, of all memory allocations that have been made by the application domain since it was created, without subtracting memory that has been collected.
The ( in Visual Basic) property is set to .
The total size of all memory allocations.
Gets the total processor time that has been used by all threads while executing in the current application domain, since the process started.
The ( in Visual Basic) property is set to .
Total processor time for the current application domain.
Gets the permission set of a sandboxed application domain.
The permission set of the sandboxed application domain.
Gets the path under the base directory where the assembly resolver should probe for private assemblies.
The operation is attempted on an unloaded application domain.
The path under the base directory where the assembly resolver should probe for private assemblies.
Gets the application domain configuration information for this instance.
The operation is attempted on an unloaded application domain.
The application domain initialization information.
Gets an indication whether the application domain is configured to shadow copy files.
The operation is attempted on an unloaded application domain.
if the application domain is configured to shadow copy files; otherwise, .
Represents assembly binding information that can be added to an instance of .
Gets the name of the directory containing the application.
The name of the application base directory.
Gets (or, in .NET Framework, sets) a string that specifies the target framework in a format that can be parsed by the constructor.
The target framework of the executable that started the process.
The exception that is thrown when an attempt is made to access an unloaded application domain.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the error.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Serves as the base class for application-defined exceptions.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A message that describes the error.
Contains information used to uniquely identify a manifest-based application. This class cannot be inherited.
Initializes a new instance of the class.
The array of bytes representing the raw public key data.
The name of the application.
A object that specifies the version of the application.
The processor architecture of the application.
The culture of the application.
is .
-or-
is .
-or-
is .
is an empty string.
Creates and returns an identical copy of the current application identity.
An object that represents an exact copy of the original.
Determines whether the specified object is equivalent to the current .
The object to compare to the current .
if the specified object is equivalent to the current ; otherwise, .
Gets the hash code for the current application identity.
The hash code for the current application identity.
Creates and returns a string representation of the application identity.
A string representation of the application identity.
Gets a string representing the culture information for the application.
The culture information for the application.
Gets the name of the application.
The name of the application.
Gets the target processor architecture for the application.
The processor architecture of the application.
Gets the public key token for the application.
A byte array containing the public key token for the application.
Gets the version of the application.
A that specifies the version of the application.
Represents a variable-length argument list; that is, the parameters of a function that takes a variable number of arguments.
Initializes a new instance of the structure using the specified argument list and a pointer to an item in the list.
An argument list consisting of mandatory and optional arguments.
A pointer to the argument in to access first, or the first mandatory argument in if is .
Initializes a new instance of the structure using the specified argument list.
An argument list consisting of mandatory and optional arguments.
Concludes processing of the variable-length argument list represented by this instance.
This method is not supported, and always throws .
An object to be compared to this instance.
This method is not supported.
This comparison is not supported. No value is returned.
Returns the hash code of this object.
A 32-bit signed integer hash code.
Returns the next argument in a variable-length argument list.
An attempt was made to read beyond the end of the list.
The next argument as a object.
Returns the next argument in a variable-length argument list that has a specified type.
A runtime type handle that identifies the type of the argument to retrieve.
An attempt was made to read beyond the end of the list.
The pointer to the remaining arguments is zero.
The next argument as a object.
Returns the type of the next argument.
The type of the next argument.
Returns the number of arguments remaining in the argument list.
The number of remaining arguments.
The exception that is thrown when one of the arguments provided to a method is not valid.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the parameter name, and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The name of the parameter that caused the current exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and the name of the parameter that causes this exception.
The error message that explains the reason for the exception.
The name of the parameter that caused the current exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Sets the object with the parameter name and additional exception information.
The object that holds the serialized object data.
The contextual information about the source or destination.
The object is a null reference ( in Visual Basic).
Throws an exception if is or empty.
The string argument to validate as non- and non-empty.
The name of the parameter with which corresponds.
is .
is empty.
Throws an exception if is , empty, or consists only of white-space characters.
The string argument to validate.
The name of the parameter with which corresponds.
is .
is empty or consists only of white-space characters.
Gets the error message and the parameter name, or only the error message if no parameter name is set.
A text string describing the details of the exception. The value of this property takes one of two forms:
Condition Value- The is a null reference ( in Visual Basic) or of zero length. The string passed to the constructor.
- The is not null and has a length greater than zero. The string appended with the name of the invalid parameter.
Gets the name of the parameter that causes this exception.
The parameter name.
The exception that is thrown when a null reference ( in Visual Basic) is passed to a method that does not accept it as a valid argument.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
An object that describes the source or destination of the serialized data.
Initializes a new instance of the class with a specified error message and the exception that is the cause of this exception.
The error message that explains the reason for this exception.
The exception that is the cause of the current exception, or a null reference ( in Visual Basic) if no inner exception is specified.
Initializes an instance of the class with a specified error message and the name of the parameter that causes this exception.
The name of the parameter that caused the exception.
A message that describes the error.
Initializes a new instance of the class with the name of the parameter that causes this exception.
The name of the parameter that caused the exception.
Throws an if is .
The reference type argument to validate as non-null.
The name of the parameter with which corresponds. If you omit this parameter, the name of is used.
is .
Throws an if is .
The pointer argument to validate as non-null.
The name of the parameter with which corresponds.
The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
An object that describes the source or destination of the serialized data.
Initializes a new instance of the class with a specified error message and the exception that is the cause of this exception.
The error message that explains the reason for this exception.
The exception that is the cause of the current exception, or a null reference ( in Visual Basic) if no inner exception is specified.
Initializes a new instance of the class with the parameter name, the value of the argument, and a specified error message.
The name of the parameter that caused the exception.
The value of the argument that causes this exception.
The message that describes the error.
Initializes a new instance of the class with the name of the parameter that causes this exception and a specified error message.
The name of the parameter that caused the exception.
The message that describes the error.
Initializes a new instance of the class with the name of the parameter that causes this exception.
The name of the parameter that causes this exception.
Sets the object with the invalid argument value and additional exception information.
The object that holds the serialized object data.
An object that describes the source or destination of the serialized data.
The object is .
Throws an if is equal to .
The argument to validate as not equal to .
The value to compare with .
The name of the parameter with which corresponds.
The type of the objects to validate.
Throws an if is greater than .
The argument to validate as less than or equal to .
The value to compare with .
The name of the parameter with which corresponds.
The type of the objects to validate.
Throws an if is greater than or equal to .
The argument to validate as less than .
The value to compare with .
The name of the parameter with which corresponds.
The type of the objects to validate.
Throws an if is less than .
The argument to validate as greater than or equal to .
The value to compare with .
The name of the parameter with which corresponds.
The type of the objects to validate.
Throws an if is less than or equal to .
The argument to validate as greater than .
The value to compare with .
The name of the parameter with which corresponds.
The type of the objects to validate.
Throws an if is negative.
The argument to validate as non-negative.
The name of the parameter with which corresponds.
The type of the object to validate.
Throws an if is negative or zero.
The argument to validate as non-zero and non-negative.
The name of the parameter with which corresponds.
The type of the object to validate.
Throws an if is not equal to .
The argument to validate as equal to .
The value to compare with .
The name of the parameter with which corresponds.
The type of the objects to validate.
Throws an if is zero.
The argument to validate as non-zero.
The name of the parameter with which corresponds.
The type of the object to validate.
Gets the argument value that causes this exception.
The value of the parameter that caused the current .
Gets the error message and the string representation of the invalid argument value, or only the error message if the argument value is null.
The text message for this exception. The value of this property takes one of two forms, as follows.
Condition Value- The is . The string passed to the constructor.
- The is not . The string appended with the string representation of the invalid argument value.
The exception that is thrown for errors in an arithmetic, casting, or conversion operation.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
Returns a read-only wrapper for the specified array.
The one-dimensional, zero-based array to wrap in a read-only wrapper.
The type of the elements of the array.
is .
A read-only wrapper for the specified array.
Searches a range of elements in a one-dimensional sorted array for a value, using the specified interface.
The sorted one-dimensional to search.
The starting index of the range to search.
The length of the range to search.
The object to search for.
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
is .
is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
-or-
is , and is of a type that is not compatible with the elements of .
is , does not implement the interface, and the search encounters an element that does not implement the interface.
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Searches a range of elements in a one-dimensional sorted array for a value, using the interface implemented by each element of the array and by the specified value.
The sorted one-dimensional to search.
The starting index of the range to search.
The length of the range to search.
The object to search for.
is .
is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
-or-
is of a type that is not compatible with the elements of .
does not implement the interface, and the search encounters an element that does not implement the interface.
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Searches an entire one-dimensional sorted array for a value using the specified interface.
The sorted one-dimensional to search.
The object to search for.
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
is .
is multidimensional.
is , and is of a type that is not compatible with the elements of .
is , does not implement the interface, and the search encounters an element that does not implement the interface.
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Searches an entire one-dimensional sorted array for a specific element, using the interface implemented by each element of the array and by the specified object.
The sorted one-dimensional to search.
The object to search for.
is .
is multidimensional.
is of a type that is not compatible with the elements of .
does not implement the interface, and the search encounters an element that does not implement the interface.
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Searches an entire one-dimensional sorted array for a value using the specified generic interface.
The sorted one-dimensional, zero-based to search.
The object to search for.
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
The type of the elements of the array.
is .
is , and is of a type that is not compatible with the elements of .
is , and does not implement the generic interface
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Searches an entire one-dimensional sorted array for a specific element, using the generic interface implemented by each element of the and by the specified object.
The sorted one-dimensional, zero-based to search.
The object to search for.
The type of the elements of the array.
is .
does not implement the generic interface.
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Searches a range of elements in a one-dimensional sorted array for a value, using the specified generic interface.
The sorted one-dimensional, zero-based to search.
The starting index of the range to search.
The length of the range to search.
The object to search for.
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
The type of the elements of the array.
is .
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
-or-
is , and is of a type that is not compatible with the elements of .
is , and does not implement the generic interface.
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Searches a range of elements in a one-dimensional sorted array for a value, using the generic interface implemented by each element of the and by the specified value.
The sorted one-dimensional, zero-based to search.
The starting index of the range to search.
The length of the range to search.
The object to search for.
The type of the elements of the array.
is .
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
-or-
is of a type that is not compatible with the elements of .
does not implement the generic interface.
The index of the specified in the specified , if is found; otherwise, a negative number. If is not found and is less than one or more elements in , the negative number returned is the bitwise complement of the index of the first element that is larger than . If is not found and is greater than all elements in , the negative number returned is the bitwise complement of (the index of the last element plus 1). If this method is called with a non-sorted , the return value can be incorrect and a negative number could be returned, even if is present in .
Sets a range of elements in an array to the default value of each element type.
The array whose elements need to be cleared.
The starting index of the range of elements to clear.
The number of elements to clear.
is .
is less than the lower bound of .
-or-
is less than zero.
-or-
The sum of and is greater than the size of .
Clears the contents of an array.
The array to clear.
is .
Creates a shallow copy of the .
A shallow copy of the .
Copies a range of elements from an starting at the specified source index and pastes them to another starting at the specified destination index. Guarantees that all changes are undone if the copy does not succeed completely.
The that contains the data to copy.
A 32-bit integer that represents the index in at which copying begins.
The that receives the data.
A 32-bit integer that represents the index in at which storing begins.
A 32-bit integer that represents the number of elements to copy.
is .
-or-
is .
and have different ranks.
The type is neither the same as nor derived from the type.
At least one element in cannot be cast to the type of .
is less than the lower bound of the first dimension of .
-or-
is less than the lower bound of the first dimension of .
-or-
is less than zero.
is greater than the number of elements from to the end of .
-or-
is greater than the number of elements from to the end of .
Converts an array of one type to an array of another type.
The one-dimensional, zero-based to convert to a target type.
A that converts each element from one type to another type.
The type of the elements of the source array.
The type of the elements of the target array.
is .
-or-
is .
An array of the target type containing the converted elements from the source array.
Copies a range of elements from an starting at the first element and pastes them into another starting at the first element. The length is specified as a 32-bit integer.
The that contains the data to copy.
The that receives the data.
A 32-bit integer that represents the number of elements to copy.
is .
-or-
is .
and have different ranks.
and are of incompatible types.
At least one element in cannot be cast to the type of .
is less than zero.
is greater than the number of elements in .
-or-
is greater than the number of elements in .
Copies a range of elements from an starting at the first element and pastes them into another starting at the first element. The length is specified as a 64-bit integer.
The that contains the data to copy.
The that receives the data.
A 64-bit integer that represents the number of elements to copy. The integer must be between zero and Int32.MaxValue, inclusive.
is .
-or-
is .
and have different ranks.
and are of incompatible types.
At least one element in cannot be cast to the type of .
is less than 0 or greater than Int32.MaxValue.
is greater than the number of elements in .
-or-
is greater than the number of elements in .
Copies a range of elements from an starting at the specified source index and pastes them to another starting at the specified destination index. The length and the indexes are specified as 32-bit integers.
The that contains the data to copy.
A 32-bit integer that represents the index in at which copying begins.
The that receives the data.
A 32-bit integer that represents the index in at which storing begins.
A 32-bit integer that represents the number of elements to copy.
is .
-or-
is .
and have different ranks.
and are of incompatible types.
At least one element in cannot be cast to the type of .
is less than the lower bound of the first dimension of .
-or-
is less than the lower bound of the first dimension of .
-or-
is less than zero.
is greater than the number of elements from to the end of .
-or-
is greater than the number of elements from to the end of .
Copies a range of elements from an starting at the specified source index and pastes them to another starting at the specified destination index. The length and the indexes are specified as 64-bit integers.
The that contains the data to copy.
A 64-bit integer that represents the index in at which copying begins.
The that receives the data.
A 64-bit integer that represents the index in at which storing begins.
A 64-bit integer that represents the number of elements to copy. The integer must be between zero and Int32.MaxValue, inclusive.
is .
-or-
is .
and have different ranks.
and are of incompatible types.
At least one element in cannot be cast to the type of .
is outside the range of valid indexes for the .
-or-
is outside the range of valid indexes for the .
-or-
is less than 0 or greater than Int32.MaxValue.
is greater than the number of elements from to the end of .
-or-
is greater than the number of elements from to the end of .
Copies all the elements of the current one-dimensional array to the specified one-dimensional array starting at the specified destination array index. The index is specified as a 32-bit integer.
The one-dimensional array that is the destination of the elements copied from the current array.
A 32-bit integer that represents the index in the destination array at which copying begins.
is .
is less than the lower bound of .
is multidimensional.
-or-
The number of elements in the source array is greater than the available number of elements from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The source array is multidimensional.
At least one element in the source cannot be cast to the type of destination .
Copies all the elements of the current one-dimensional array to the specified one-dimensional array starting at the specified destination array index. The index is specified as a 64-bit integer.
The one-dimensional array that is the destination of the elements copied from the current array.
A 64-bit integer that represents the index in the destination array at which copying begins.
is .
is outside the range of valid indexes for .
is multidimensional.
-or-
The number of elements in the source array is greater than the available number of elements from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
The source is multidimensional.
At least one element in the source cannot be cast to the type of destination .
Creates a three-dimensional of the specified and dimension lengths, with zero-based indexing.
The of the to create.
The size of the first dimension of the to create.
The size of the second dimension of the to create.
The size of the third dimension of the to create.
is .
is not a valid .
is not supported. For example, is not supported.
-or-
is an open generic type.
is less than zero.
-or-
is less than zero.
-or-
is less than zero.
A new three-dimensional of the specified with the specified length for each dimension, using zero-based indexing.
Creates a two-dimensional of the specified and dimension lengths, with zero-based indexing.
The of the to create.
The size of the first dimension of the to create.
The size of the second dimension of the to create.
is .
is not a valid .
is not supported. For example, is not supported.
-or-
is an open generic type.
is less than zero.
-or-
is less than zero.
A new two-dimensional of the specified with the specified length for each dimension, using zero-based indexing.
Creates a one-dimensional of the specified and length, with zero-based indexing.
The of the to create.
The size of the to create.
is .
is not a valid .
is not supported. For example, is not supported.
-or-
is an open generic type.
is less than zero.
A new one-dimensional of the specified with the specified length, using zero-based indexing.
Creates a multidimensional of the specified and dimension lengths, with the specified lower bounds.
The of the to create.
A one-dimensional array that contains the size of each dimension of the to create.
A one-dimensional array that contains the lower bound (starting index) of each dimension of the to create.
is .
-or-
is .
-or-
is .
is not a valid .
-or-
The array contains less than one element.
-or-
The and arrays do not contain the same number of elements.
is not supported. For example, is not supported.
-or-
is an open generic type.
Any value in is less than zero.
-or-
Any value in is very large, such that the sum of a dimension's lower bound and length is greater than Int32.MaxValue.
A new multidimensional of the specified with the specified length and lower bound for each dimension.
Creates a multidimensional of the specified and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 32-bit integers.
The of the to create.
An array of 32-bit integers that represent the size of each dimension of the to create.
is .
-or-
is .
is not a valid .
-or-
The array contains less than one element.
is not supported. For example, is not supported.
-or-
is an open generic type.
Any value in is less than zero.
A new multidimensional of the specified with the specified length for each dimension, using zero-based indexing.
Creates a multidimensional of the specified and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 64-bit integers.
The of the to create.
An array of 64-bit integers that represent the size of each dimension of the to create. Each integer in the array must be between zero and Int32.MaxValue, inclusive.
is .
-or-
is .
is not a valid .
-or-
The array contains less than one element.
is not supported. For example, is not supported.
-or-
is an open generic type.
Any value in is less than zero or greater than Int32.MaxValue.
A new multidimensional of the specified with the specified length for each dimension, using zero-based indexing.
Creates a one-dimensional of the specified array type and length, with zero-based indexing.
The type of the array (not of the array element type).
The size of the to create.
is .
is negative.
is not an array type.
-or-
is not one-dimensional array.
A new one-dimensional of the specified with the specified length.
Creates a multidimensional of the specified and dimension lengths, with the specified lower bounds.
The type of the array (not of the array element type).
The dimension lengths, specified in an array of 32-bit integers.
A one-dimensional array that contains the lower bound (starting index) of each dimension of the to create.
is .
-or-
is .
-or-
is .
The and arrays do not contain the same number of elements.
-or-
The lengths array is empty.
-or-
is not an array type.
-or-
rank does not match length.
Any value in is less than zero.
Native AOT: any value in is different than zero.
A new multidimensional of the specified with the specified length and lower bound for each dimension.
Creates a multidimensional of the specified and dimension lengths, with zero-based indexing.
The type of the array (not of the array element type).
The dimension lengths, specified in an array of 32-bit integers.
is .
-or-
is .
Any value in is less than zero.
The lengths array is empty.
-or-
is not an array type.
-or-
rank does not match length.
A new multidimensional of the specified Type with the specified length for each dimension, using zero-based indexing.
Returns an empty array.
The type of the elements of the array.
An empty array.
Determines whether the specified array contains elements that match the conditions defined by the specified predicate.
The one-dimensional, zero-based to search.
The that defines the conditions of the elements to search for.
The type of the elements of the array.
is .
-or-
is .
if contains one or more elements that match the conditions defined by the specified predicate; otherwise, .
Assigns the given of type to the elements of the specified that are
within the range of (inclusive) and the next number of indices.
The array to be filled.
The new value for the elements in the specified range.
A 32-bit integer that represents the index in at which filling begins.
The number of elements to copy.
The type of the elements of the array.
Assigns the given of type to each element of the specified .
The array to be filled.
The value to assign to each array element.
The type of the elements in the array.
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire .
The one-dimensional, zero-based array to search.
The predicate that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type .
Retrieves all the elements that match the conditions defined by the specified predicate.
The one-dimensional, zero-based to search.
The that defines the conditions of the elements to search for.
The type of the elements of the array.
is .
-or-
is .
An containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the that starts at the specified index and contains the specified number of elements.
The one-dimensional, zero-based to search.
The zero-based starting index of the search.
The number of elements in the section to search.
The that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the first occurrence of an element that matches the conditions defined by , if found; otherwise, -1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the that extends from the specified index to the last element.
The one-dimensional, zero-based to search.
The zero-based starting index of the search.
The that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
is outside the range of valid indexes for .
The zero-based index of the first occurrence of an element that matches the conditions defined by , if found; otherwise, -1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire .
The one-dimensional, zero-based to search.
The that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
The zero-based index of the first occurrence of an element that matches the conditions defined by , if found; otherwise, -1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire .
The one-dimensional, zero-based to search.
The that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the that contains the specified number of elements and ends at the specified index.
The one-dimensional, zero-based to search.
The zero-based starting index of the backward search.
The number of elements in the section to search.
The that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the last occurrence of an element that matches the conditions defined by , if found; otherwise, -1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the that extends from the first element to the specified index.
The one-dimensional, zero-based to search.
The zero-based starting index of the backward search.
The that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
is outside the range of valid indexes for .
The zero-based index of the last occurrence of an element that matches the conditions defined by , if found; otherwise, -1.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire .
The one-dimensional, zero-based to search.
The that defines the conditions of the element to search for.
The type of the elements of the array.
is .
-or-
is .
The zero-based index of the last occurrence of an element that matches the conditions defined by , if found; otherwise, -1.
Performs the specified action on each element of the specified array.
The one-dimensional, zero-based on whose elements the action is to be performed.
The to perform on each element of .
The type of the elements of the array.
is .
-or-
is .
Returns an for the .
An for the .
Gets a 32-bit integer that represents the number of elements in the specified dimension of the .
A zero-based dimension of the whose length needs to be determined.
is less than zero.
-or-
is equal to or greater than .
A 32-bit integer that represents the number of elements in the specified dimension.
Gets a 64-bit integer that represents the number of elements in the specified dimension of the .
A zero-based dimension of the whose length needs to be determined.
is less than zero.
-or-
is equal to or greater than .
A 64-bit integer that represents the number of elements in the specified dimension.
Gets the index of the first element of the specified dimension in the array.
A zero-based dimension of the array whose starting index needs to be determined.
is less than zero.
-or-
is equal to or greater than .
The index of the first element of the specified dimension in the array.
Gets the index of the last element of the specified dimension in the array.
A zero-based dimension of the array whose upper bound needs to be determined.
is less than zero.
-or-
is equal to or greater than .
The index of the last element of the specified dimension in the array, or -1 if the specified dimension is empty.
Gets the value at the specified position in the three-dimensional . The indexes are specified as 32-bit integers.
A 32-bit integer that represents the first-dimension index of the element to get.
A 32-bit integer that represents the second-dimension index of the element to get.
A 32-bit integer that represents the third-dimension index of the element to get.
The current does not have exactly three dimensions.
or or is outside the range of valid indexes for the corresponding dimension of the current .
The value at the specified position in the three-dimensional .
Gets the value at the specified position in the two-dimensional . The indexes are specified as 32-bit integers.
A 32-bit integer that represents the first-dimension index of the element to get.
A 32-bit integer that represents the second-dimension index of the element to get.
The current does not have exactly two dimensions.
Either or is outside the range of valid indexes for the corresponding dimension of the current .
The value at the specified position in the two-dimensional .
Gets the value at the specified position in the one-dimensional . The index is specified as a 32-bit integer.
A 32-bit integer that represents the position of the element to get.
The current does not have exactly one dimension.
is outside the range of valid indexes for the current .
The value at the specified position in the one-dimensional .
Gets the value at the specified position in the multidimensional . The indexes are specified as an array of 32-bit integers.
A one-dimensional array of 32-bit integers that represent the indexes specifying the position of the element to get.
is .
The number of dimensions in the current is not equal to the number of elements in .
Any element in is outside the range of valid indexes for the corresponding dimension of the current .
The value at the specified position in the multidimensional .
Gets the value at the specified position in the three-dimensional . The indexes are specified as 64-bit integers.
A 64-bit integer that represents the first-dimension index of the element to get.
A 64-bit integer that represents the second-dimension index of the element to get.
A 64-bit integer that represents the third-dimension index of the element to get.
The current does not have exactly three dimensions.
or or is outside the range of valid indexes for the corresponding dimension of the current .
The value at the specified position in the three-dimensional .
Gets the value at the specified position in the two-dimensional . The indexes are specified as 64-bit integers.
A 64-bit integer that represents the first-dimension index of the element to get.
A 64-bit integer that represents the second-dimension index of the element to get.
The current does not have exactly two dimensions.
Either or is outside the range of valid indexes for the corresponding dimension of the current .
The value at the specified position in the two-dimensional .
Gets the value at the specified position in the one-dimensional . The index is specified as a 64-bit integer.
A 64-bit integer that represents the position of the element to get.
The current does not have exactly one dimension.
is outside the range of valid indexes for the current .
The value at the specified position in the one-dimensional .
Gets the value at the specified position in the multidimensional . The indexes are specified as an array of 64-bit integers.
A one-dimensional array of 64-bit integers that represent the indexes specifying the position of the element to get.
is .
The number of dimensions in the current is not equal to the number of elements in .
Any element in is outside the range of valid indexes for the corresponding dimension of the current .
The value at the specified position in the multidimensional .
Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of ifs first occurrence. The range extends from a specified index for a specified number of elements.
The one-dimensional array to search.
The object to locate in .
The starting index of the search. 0 (zero) is valid in an empty array.
The number of elements to search.
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
is multidimensional.
The index of the first occurrence of , if it's found in the from index to + - 1; otherwise, the lower bound of the array minus 1.
Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence. The range extends from a specified index to the end of the array.
The one-dimensional array to search.
The object to locate in .
The starting index of the search. 0 (zero) is valid in an empty array.
is .
is outside the range of valid indexes for .
is multidimensional.
The index of the first occurrence of , if it's found, within the range of elements in that extends from to the last element; otherwise, the lower bound of the array minus 1.
Searches for the specified object and returns the index of its first occurrence in a one-dimensional array.
The one-dimensional array to search.
The object to locate in .
is .
is multidimensional.
The index of the first occurrence of in , if found; otherwise, the lower bound of the array minus 1.
Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence. The range extends from a specified index for a specified number of elements.
The one-dimensional, zero-based array to search.
The object to locate in .
The zero-based starting index of the search. 0 (zero) is valid in an empty array.
The number of elements in the section to search.
The type of the elements of the array.
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the first occurrence of within the range of elements in that starts at and contains the number of elements specified in , if found; otherwise, -1.
Searches for the specified object in a range of elements of a one dimensional array, and returns the index of its first occurrence. The range extends from a specified index to the end of the array.
The one-dimensional, zero-based array to search.
The object to locate in .
The zero-based starting index of the search. 0 (zero) is valid in an empty array.
The type of the elements of the array.
is .
is outside the range of valid indexes for .
The zero-based index of the first occurrence of within the range of elements in that extends from to the last element, if found; otherwise, -1.
Searches for the specified object and returns the index of its first occurrence in a one-dimensional array.
The one-dimensional, zero-based array to search.
The object to locate in .
The type of the elements of the array.
is .
The zero-based index of the first occurrence of in the entire , if found; otherwise, -1.
Initializes every element of the value-type by calling the parameterless constructor of the value type.
Searches for the specified object and returns the index of the last occurrence within the range of elements in the one-dimensional that contains the specified number of elements and ends at the specified index.
The one-dimensional to search.
The object to locate in .
The starting index of the backward search.
The number of elements in the section to search.
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
is multidimensional.
The index of the last occurrence of within the range of elements in that contains the number of elements specified in and ends at , if found; otherwise, the lower bound of the array minus 1.
Searches for the specified object and returns the index of the last occurrence within the range of elements in the one-dimensional that extends from the first element to the specified index.
The one-dimensional to search.
The object to locate in .
The starting index of the backward search.
is .
is outside the range of valid indexes for .
is multidimensional.
The index of the last occurrence of within the range of elements in that extends from the first element to , if found; otherwise, the lower bound of the array minus 1.
Searches for the specified object and returns the index of the last occurrence within the entire one-dimensional .
The one-dimensional to search.
The object to locate in .
is .
is multidimensional.
The index of the last occurrence of within the entire , if found; otherwise, the lower bound of the array minus 1.
Searches for the specified object and returns the index of the last occurrence within the range of elements in the that contains the specified number of elements and ends at the specified index.
The one-dimensional, zero-based to search.
The object to locate in .
The zero-based starting index of the backward search.
The number of elements in the section to search.
The type of the elements of the array.
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the last occurrence of within the range of elements in that contains the number of elements specified in and ends at , if found; otherwise, -1.
Searches for the specified object and returns the index of the last occurrence within the range of elements in the that extends from the first element to the specified index.
The one-dimensional, zero-based to search.
The object to locate in .
The zero-based starting index of the backward search.
The type of the elements of the array.
is .
is outside the range of valid indexes for .
The zero-based index of the last occurrence of within the range of elements in that extends from the first element to , if found; otherwise, -1.
Searches for the specified object and returns the index of the last occurrence within the entire .
The one-dimensional, zero-based to search.
The object to locate in .
The type of the elements of the array.
is .
The zero-based index of the last occurrence of within the entire , if found; otherwise, -1.
Changes the number of elements of a one-dimensional array to the specified new size.
The one-dimensional, zero-based array to resize, or to create a new array with the specified size.
The size of the new array.
The type of the elements of the array.
is less than zero.
Reverses the sequence of a subset of the elements in the one-dimensional .
The one-dimensional to reverse.
The starting index of the section to reverse.
The number of elements in the section to reverse.
is .
is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
Reverses the sequence of the elements in the entire one-dimensional .
The one-dimensional to reverse.
is .
is multidimensional.
Reverses the sequence of a subset of the elements in the one-dimensional generic array.
The one-dimensional array of elements to reverse.
The starting index of the section to reverse.
The number of elements in the section to reverse.
The type of the elements in .
is .
is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
Reverses the sequence of the elements in the one-dimensional generic array.
The one-dimensional array of elements to reverse.
The type of the elements in .
is .
is multidimensional.
Sets a value to the element at the specified position in the three-dimensional . The indexes are specified as 32-bit integers.
The new value for the specified element.
A 32-bit integer that represents the first-dimension index of the element to set.
A 32-bit integer that represents the second-dimension index of the element to set.
A 32-bit integer that represents the third-dimension index of the element to set.
The current does not have exactly three dimensions.
cannot be cast to the element type of the current .
or or is outside the range of valid indexes for the corresponding dimension of the current .
Sets a value to the element at the specified position in the two-dimensional . The indexes are specified as 32-bit integers.
The new value for the specified element.
A 32-bit integer that represents the first-dimension index of the element to set.
A 32-bit integer that represents the second-dimension index of the element to set.
The current does not have exactly two dimensions.
cannot be cast to the element type of the current .
Either or is outside the range of valid indexes for the corresponding dimension of the current .
Sets a value to the element at the specified position in the one-dimensional . The index is specified as a 32-bit integer.
The new value for the specified element.
A 32-bit integer that represents the position of the element to set.
The current does not have exactly one dimension.
cannot be cast to the element type of the current .
is outside the range of valid indexes for the current .
Sets a value to the element at the specified position in the multidimensional . The indexes are specified as an array of 32-bit integers.
The new value for the specified element.
A one-dimensional array of 32-bit integers that represent the indexes specifying the position of the element to set.
is .
The number of dimensions in the current is not equal to the number of elements in .
cannot be cast to the element type of the current .
Any element in is outside the range of valid indexes for the corresponding dimension of the current .
Sets a value to the element at the specified position in the three-dimensional . The indexes are specified as 64-bit integers.
The new value for the specified element.
A 64-bit integer that represents the first-dimension index of the element to set.
A 64-bit integer that represents the second-dimension index of the element to set.
A 64-bit integer that represents the third-dimension index of the element to set.
The current does not have exactly three dimensions.
cannot be cast to the element type of the current .
or or is outside the range of valid indexes for the corresponding dimension of the current .
Sets a value to the element at the specified position in the two-dimensional . The indexes are specified as 64-bit integers.
The new value for the specified element.
A 64-bit integer that represents the first-dimension index of the element to set.
A 64-bit integer that represents the second-dimension index of the element to set.
The current does not have exactly two dimensions.
cannot be cast to the element type of the current .
Either or is outside the range of valid indexes for the corresponding dimension of the current .
Sets a value to the element at the specified position in the one-dimensional . The index is specified as a 64-bit integer.
The new value for the specified element.
A 64-bit integer that represents the position of the element to set.
The current does not have exactly one dimension.
cannot be cast to the element type of the current .
is outside the range of valid indexes for the current .
Sets a value to the element at the specified position in the multidimensional . The indexes are specified as an array of 64-bit integers.
The new value for the specified element.
A one-dimensional array of 64-bit integers that represent the indexes specifying the position of the element to set.
is .
The number of dimensions in the current is not equal to the number of elements in .
cannot be cast to the element type of the current .
Any element in is outside the range of valid indexes for the corresponding dimension of the current .
Sorts a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the specified .
The one-dimensional that contains the keys to sort.
The one-dimensional that contains the items that correspond to each of the keys in the .
-or-
to sort only the .
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
is .
The is multidimensional.
-or-
The is multidimensional.
is not , and the length of is greater than the length of .
-or-
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
is , and one or more elements in the do not implement the interface.
Sorts a range of elements in a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the specified .
The one-dimensional that contains the keys to sort.
The one-dimensional that contains the items that correspond to each of the keys in the .
-or-
to sort only the .
The starting index of the range to sort.
The number of elements in the range to sort.
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
is .
The is multidimensional.
-or-
The is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
is not , and the lower bound of does not match the lower bound of .
-or-
is not , and the length of is greater than the length of .
-or-
and do not specify a valid range in the .
-or-
is not , and and do not specify a valid range in the .
-or-
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
is , and one or more elements in the do not implement the interface.
Sorts a range of elements in a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the implementation of each key.
The one-dimensional that contains the keys to sort.
The one-dimensional that contains the items that correspond to each of the keys in the .
-or-
to sort only the .
The starting index of the range to sort.
The number of elements in the range to sort.
is .
The is multidimensional.
-or-
The is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
is not , and the length of is greater than the length of .
-or-
and do not specify a valid range in the .
-or-
is not , and and do not specify a valid range in the .
One or more elements in the do not implement the interface.
Sorts a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the implementation of each key.
The one-dimensional that contains the keys to sort.
The one-dimensional that contains the items that correspond to each of the keys in the .
-or-
to sort only the .
is .
The is multidimensional.
-or-
The is multidimensional.
is not , and the length of is greater than the length of .
One or more elements in the do not implement the interface.
Sorts the elements in a one-dimensional using the specified .
The one-dimensional array to sort.
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
is .
is multidimensional.
is , and one or more elements in do not implement the interface.
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
Sorts the elements in a range of elements in a one-dimensional using the specified .
The one-dimensional to sort.
The starting index of the range to sort.
The number of elements in the range to sort.
The implementation to use when comparing elements.
-or-
to use the implementation of each element.
is .
is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
-or-
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
is , and one or more elements in do not implement the interface.
Sorts the elements in a range of elements in a one-dimensional using the implementation of each element of the .
The one-dimensional to sort.
The starting index of the range to sort.
The number of elements in the range to sort.
is .
is multidimensional.
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
One or more elements in do not implement the interface.
Sorts the elements in an entire one-dimensional using the implementation of each element of the .
The one-dimensional to sort.
is .
is multidimensional.
One or more elements in do not implement the interface.
Sorts the elements in an using the specified generic interface.
The one-dimensional, zero-base to sort.
The generic interface implementation to use when comparing elements, or to use the generic interface implementation of each element.
The type of the elements of the array.
is .
is , and one or more elements in do not implement the generic interface.
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
Sorts the elements in an using the specified .
The one-dimensional, zero-based to sort.
The to use when comparing elements.
The type of the elements of the array.
is .
-or-
is .
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
Sorts the elements in a range of elements in an using the specified generic interface.
The one-dimensional, zero-based to sort.
The starting index of the range to sort.
The number of elements in the range to sort.
The generic interface implementation to use when comparing elements, or to use the generic interface implementation of each element.
The type of the elements of the array.
is .
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
-or-
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
is , and one or more elements in do not implement the generic interface.
Sorts the elements in a range of elements in an using the generic interface implementation of each element of the .
The one-dimensional, zero-based to sort.
The starting index of the range to sort.
The number of elements in the range to sort.
The type of the elements of the array.
is .
is less than the lower bound of .
-or-
is less than zero.
and do not specify a valid range in .
One or more elements in do not implement the generic interface.
Sorts the elements in an entire using the generic interface implementation of each element of the .
The one-dimensional, zero-based to sort.
The type of the elements of the array.
is .
One or more elements in do not implement the generic interface.
Sorts a pair of objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the specified generic interface.
The one-dimensional, zero-based that contains the keys to sort.
The one-dimensional, zero-based that contains the items that correspond to the keys in , or to sort only .
The generic interface implementation to use when comparing elements, or to use the generic interface implementation of each element.
The type of the elements of the key array.
The type of the elements of the items array.
is .
is not , and the lower bound of does not match the lower bound of .
-or-
is not , and the length of is greater than the length of .
-or-
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
is , and one or more elements in the do not implement the generic interface.
Sorts a range of elements in a pair of objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the specified generic interface.
The one-dimensional, zero-based that contains the keys to sort.
The one-dimensional, zero-based that contains the items that correspond to the keys in , or to sort only .
The starting index of the range to sort.
The number of elements in the range to sort.
The generic interface implementation to use when comparing elements, or to use the generic interface implementation of each element.
The type of the elements of the key array.
The type of the elements of the items array.
is .
is less than the lower bound of .
-or-
is less than zero.
is not , and the lower bound of does not match the lower bound of .
-or-
is not , and the length of is greater than the length of .
-or-
and do not specify a valid range in the .
-or-
is not , and and do not specify a valid range in the .
-or-
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
is , and one or more elements in the do not implement the generic interface.
Sorts a range of elements in a pair of objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the generic interface implementation of each key.
The one-dimensional, zero-based that contains the keys to sort.
The one-dimensional, zero-based that contains the items that correspond to the keys in , or to sort only .
The starting index of the range to sort.
The number of elements in the range to sort.
The type of the elements of the key array.
The type of the elements of the items array.
is .
is less than the lower bound of .
-or-
is less than zero.
is not , and the lower bound of does not match the lower bound of .
-or-
is not , and the length of is greater than the length of .
-or-
and do not specify a valid range in the .
-or-
is not , and and do not specify a valid range in the .
One or more elements in the do not implement the generic interface.
Sorts a pair of objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the generic interface implementation of each key.
The one-dimensional, zero-based that contains the keys to sort.
The one-dimensional, zero-based that contains the items that correspond to the keys in , or to sort only .
The type of the elements of the key array.
The type of the elements of the items array.
is .
is not , and the lower bound of does not match the lower bound of .
-or-
is not , and the length of is greater than the length of .
One or more elements in the do not implement the generic interface.
Calling this method always throws a exception.
The object to be added to the .
The has a fixed size.
Adding a value to an array is not supported. No value is returned.
Removes all items from the .
The is read-only.
Determines whether an element is in the .
The object to locate in the current list. The element to locate can be for reference types.
if is found in the ; otherwise, .
Determines the index of a specific item in the .
The object to locate in the current list.
The index of value if found in the list; otherwise, -1.
Inserts an item to the at the specified index.
The index at which should be inserted.
The object to insert.
is not a valid index in the .
The is read-only.
-or-
The has a fixed size.
is null reference in the .
Removes the first occurrence of a specific object from the .
The object to remove from the .
The is read-only.
-or-
The has a fixed size.
Removes the item at the specified index.
The index of the element to remove.
index is not a valid index in the .
The is read-only.
-or-
The has a fixed size.
Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order.
The object to compare with the current instance.
An object that compares the current object and .
An integer that indicates the relationship of the current collection object to other, as shown in the following table.
Return value Description- -1 The current instance precedes .
- 0 The current instance and are equal.
- 1 The current instance follows .
Determines whether an object is equal to the current instance.
The object to compare with the current instance.
An object that determines whether the current instance and are equal.
if the two objects are equal; otherwise, .
Returns a hash code for the current instance.
An object that computes the hash code of the current object.
The hash code for the current instance.
Determines whether every element in the array matches the conditions defined by the specified predicate.
The one-dimensional, zero-based to check against the conditions.
The predicate that defines the conditions to check against the elements.
The type of the elements of the array.
is .
-or-
is .
if every element in matches the conditions defined by the specified predicate; otherwise, . If there are no elements in the array, the return value is .
Gets a value indicating whether the has a fixed size.
This property is always for all arrays.
Gets a value indicating whether the is read-only.
This property is always for all arrays.
Gets a value indicating whether access to the is synchronized (thread safe).
This property is always for all arrays.
Gets the total number of elements in all the dimensions of the .
The array is multidimensional and contains more than Int32.MaxValue elements.
The total number of elements in all the dimensions of the ; zero if there are no elements in the array.
Gets a 64-bit integer that represents the total number of elements in all the dimensions of the .
A 64-bit integer that represents the total number of elements in all the dimensions of the .
Gets the maximum number of elements that may be contained in an array.
The maximum count of elements allowed in any array.
Gets the rank (number of dimensions) of the . For example, a one-dimensional array returns 1, a two-dimensional array returns 2, and so on.
The rank (number of dimensions) of the .
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Gets the number of elements contained in the .
The number of elements contained in the collection.
Gets or sets the element at the specified index.
The index of the element to get or set.
is less than zero.
-or-
is equal to or greater than .
The current does not have exactly one dimension.
The element at the specified index.
Delimits a section of a one-dimensional array.
The type of the elements in the array segment.
Initializes a new instance of the structure that delimits the specified range of the elements in the specified array.
The array containing the range of elements to delimit.
The zero-based index of the first element in the range.
The number of elements in the range.
is .
or is less than 0.
and do not specify a valid range in .
Initializes a new instance of the structure that delimits all the elements in the specified array.
The array to wrap.
is .
Copies the contents of this instance into the specified destination array of the same type , starting at the specified destination index.
The array of type into which the contents of this instance will be copied.
The index in at which storing begins.
The underlying array of this instance is .
Copies the contents of this instance into the specified destination array of the same type .
The array of type into which the contents of this instance will be copied.
The underlying array of this instance is .
Copies the contents of this instance into the specified destination array segment of the same type .
The array segment into which the contents of this instance will be copied.
The underlying array of this instance is .
-or-
The underlying array of is .
The length of the underlying array of this instance is larger than the length of the underlying array of .
Determines whether the specified structure is equal to the current instance.
The structure to compare with the current instance.
if the specified structure is equal to the current instance; otherwise, .
Determines whether the specified object is equal to the current instance.
The object to be compared with the current instance.
if the specified object is a structure and is equal to the current instance; otherwise, .
Returns an enumerator that can be used to iterate through the array segment.
The underlying array is .
An enumerator that can be used to iterate through the array segment.
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Indicates whether two structures are equal.
The structure on the left side of the equality operator.
The structure on the right side of the equality operator.
if is equal to ; otherwise, .
Defines an implicit conversion of an array of type to an array segment of type .
The array to convert.
An array segment representation of the array.
Indicates whether two structures are unequal.
The structure on the left side of the inequality operator.
The structure on the right side of the inequality operator.
if is not equal to ; otherwise, .
Forms a slice of the specified length out of the current array segment starting at the specified index.
The index at which to begin the slice.
The desired length of the slice.
The underlying array of this instance is .
is greater than the length of the underlying array of this instance.
-or-
is greater than the length of the underlying array of this instance - .
An array segment of elements starting at .
Forms a slice out of the current array segment starting at the specified index.
The index at which to begin the slice.
The underlying array of this instance is .
is greater than the length of the underlying array of this instance.
An array segment that consists of all elements of the current array segment from to the end of the array segment.
Throws a exception in all cases.
The object to add to the array segment.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the array segment contains a specific value.
The object to locate in the array segment.
The underlying array is .
if is found in the array segment; otherwise, .
Throws a exception in all cases.
The object to remove from the array segment.
In all cases.
Always throws an exception.
Returns an enumerator that iterates through the array segment.
The underlying array is .
An enumerator that can be used to iterate through the array segment.
Determines the index of a specific item in the array segment.
The object to locate in the array segment.
The underlying array is .
The index of if found in the list; otherwise, -1.
Throws a exception in all cases.
The zero-based index at which should be inserted.
The object to insert into the array segment.
In all cases.
Throws a exception in all cases.
The zero-based index of the item to remove.
In all cases.
Returns an enumerator that iterates through an array segment.
The underlying array is .
An enumerator that can be used to iterate through the array segment.
Copies the contents of this array segment into a new array.
default(ArraySegment<T>) cannot be converted to an array.
An array containing the data in the current array segment.
Gets the original array containing the range of elements that the array segment delimits.
The original array that was passed to the constructor, and that contains the range delimited by the .
Gets the number of elements in the range delimited by the array segment.
The number of elements in the range delimited by the .
Represents the empty array segment. This field is read-only.
An array segment of type containing zero elements.
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The element at the specified index.
Gets the position of the first element in the range delimited by the array segment, relative to the start of the original array.
The position of the first element in the range delimited by the , relative to the start of the original array.
Gets a value that indicates whether the array segment is read-only.
if the array segment is read-only; otherwise, .
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The property is set and the array segment is read-only.
The element at the specified index.
Gets the element at the specified index of the array segment.
The zero-based index of the element to get.
is not a valid index in the .
The underlying array is .
The property is set.
The element at the specified index.
Provides an enumerator for the elements of an .
Releases all resources used by this enumerator instance.
Advances the enumerator to the next element of the .
if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the array segment.
Sets the enumerator to its initial position, which is before the first element in the array segment.
Gets a reference to the item at the current position of the enumerator.
The element of the at the current position of the enumerator.
Gets the element at the current position of the enumerator.
The enumerator is positioned before the first element of the array segment or after the last element.
The element in the array segment at the current position of the enumerator.
The exception that is thrown when an attempt is made to store an element of the wrong type within an array.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Provides data for the event.
Initializes a new instance of the class using the specified .
An instance that represents the currently loaded assembly.
Gets an that represents the currently loaded assembly.
An instance of that represents the currently loaded assembly.
Represents the method that handles the event of an .
The source of the event.
An that contains the event data.
References a method to be called when a corresponding asynchronous operation completes.
The result of the asynchronous operation.
Represents the base class for custom attributes.
Initializes a new instance of the class.
Returns a value that indicates whether this instance is equal to a specified object.
An to compare with this instance or .
if and this instance are of the same type and have identical field values; otherwise, .
Retrieves a custom attribute applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
An object derived from the class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
This parameter is ignored, and does not affect the operation of this method.
or is .
is not derived from .
More than one of the requested attributes was found.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves a custom attribute applied to a specified assembly. Parameters specify the assembly and the type of the custom attribute to search for.
An object derived from the class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
More than one of the requested attributes was found.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves a custom attribute applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
An object derived from the class that describes a constructor, event, field, method, or property member of a class.
The type, or a base type, of the custom attribute to search for.
If , specifies to also search the ancestors of for custom attributes.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves a custom attribute applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.
An object derived from the class that describes a constructor, event, field, method, or property member of a class.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves a custom attribute applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.
An object derived from the class that describes a portable executable file.
The type, or a base type, of the custom attribute to search for.
This parameter is ignored, and does not affect the operation of this method.
or is .
is not derived from .
More than one of the requested attributes was found.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves a custom attribute applied to a module. Parameters specify the module, and the type of the custom attribute to search for.
An object derived from the class that describes a portable executable file.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
More than one of the requested attributes was found.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter.
An object derived from the class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
If , specifies to also search the ancestors of for custom attributes.
or is .
is not derived from .
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
An object derived from the class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A reference to the single custom attribute of type that is applied to , or if there is no such attribute.
Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and an ignored search option.
An object derived from the class that describes a reusable collection of modules.
This parameter is ignored, and does not affect the operation of this method.
is .
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
An object derived from the class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
This parameter is ignored, and does not affect the operation of this method.
or is .
is not derived from .
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for.
An object derived from the class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly.
An object derived from the class that describes a reusable collection of modules.
is .
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
An object derived from the class that describes a constructor, event, field, method, or property member of a class.
If , specifies to also search the ancestors of for custom attributes.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
An object derived from the class that describes a constructor, event, field, method, or property member of a class.
If , specifies to also search the ancestors of for custom attributes.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.
An object derived from the class that describes a constructor, event, field, method, or property member of a class.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a member of a type. A parameter specifies the member.
An object derived from the class that describes a constructor, event, field, method, or property member of a class.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a module. Parameters specify the module, and an ignored search option.
An object derived from the class that describes a portable executable file.
This parameter is ignored, and does not affect the operation of this method.
is .
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.
An object derived from the class that describes a portable executable file.
The type, or a base type, of the custom attribute to search for.
This parameter is ignored, and does not affect the operation of this method.
or is .
is not derived from .
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a module. Parameters specify the module, and the type of the custom attribute to search for.
An object derived from the class that describes a portable executable file.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a module. A parameter specifies the module.
An object derived from the class that describes a portable executable file.
is .
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and whether to search ancestors of the method parameter.
An object derived from the class that describes a parameter of a member of a class.
If , specifies to also search the ancestors of for custom attributes.
The property of is .
is .
A custom attribute type cannot be loaded.
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter.
An object derived from the class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
If , specifies to also search the ancestors of for custom attributes.
or is .
is not derived from .
A custom attribute type cannot be loaded.
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
An object derived from the class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
A custom attribute type cannot be loaded.
An array that contains the custom attributes of type applied to , or an empty array if no such custom attributes exist.
Retrieves an array of the custom attributes applied to a method parameter. A parameter specifies the method parameter.
An object derived from the class that describes a parameter of a member of a class.
is .
A custom attribute type cannot be loaded.
An array that contains the custom attributes applied to , or an empty array if no such custom attributes exist.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
if this instance is the default attribute for the class; otherwise, .
Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
An object derived from the class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
This parameter is ignored, and does not affect the operation of this method.
or is .
is not derived from .
if a custom attribute of type is applied to ; otherwise, .
Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for.
An object derived from the class that describes a reusable collection of modules.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
if a custom attribute of type is applied to ; otherwise, .
Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
An object derived from the class that describes a constructor, event, field, method, type, or property member of a class.
The type, or a base type, of the custom attribute to search for.
If , specifies to also search the ancestors of for custom attributes.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
if a custom attribute of type is applied to ; otherwise, .
Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.
An object derived from the class that describes a constructor, event, field, method, type, or property member of a class.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
if a custom attribute of type is applied to ; otherwise, .
Determines whether any custom attributes are applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.
An object derived from the class that describes a portable executable file.
The type, or a base type, of the custom attribute to search for.
This parameter is ignored, and does not affect the operation of this method.
or is .
is not derived from .
if a custom attribute of type is applied to ; otherwise, .
Determines whether any custom attributes of a specified type are applied to a module. Parameters specify the module, and the type of the custom attribute to search for.
An object derived from the class that describes a portable executable file.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
if a custom attribute of type is applied to ; otherwise, .
Determines whether any custom attributes are applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter.
An object derived from the class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
If , specifies to also search the ancestors of for custom attributes.
or is .
is not derived from .
is not a method, constructor, or type.
if a custom attribute of type is applied to ; otherwise, .
Determines whether any custom attributes are applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
An object derived from the class that describes a parameter of a member of a class.
The type, or a base type, of the custom attribute to search for.
or is .
is not derived from .
if a custom attribute of type is applied to ; otherwise, .
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
An to compare with this instance of .
if this instance equals ; otherwise, .
When implemented in a derived class, gets a unique identifier for this .
An that is a unique identifier for the attribute.
Specifies the application elements on which it is valid to apply an attribute.
Attribute can be applied to any application element.
Attribute can be applied to an assembly.
Attribute can be applied to a class.
Attribute can be applied to a constructor.
Attribute can be applied to a delegate.
Attribute can be applied to an enumeration.
Attribute can be applied to an event.
Attribute can be applied to a field.
Attribute can be applied to a generic parameter. Currently, this attribute can be applied only in C#, Microsoft intermediate language (MSIL), and emitted code.
Attribute can be applied to an interface.
Attribute can be applied to a method.
Attribute can be applied to a module. refers to a portable executable file (.dll or.exe) and not a Visual Basic standard module.
Attribute can be applied to a parameter.
Attribute can be applied to a property.
Attribute can be applied to a return value.
Attribute can be applied to a structure; that is, a value type.
Specifies the usage of another attribute class. This class cannot be inherited.
Initializes a new instance of the class with the specified list of , the value, and the value.
The set of values combined using a bitwise OR operation to indicate which program elements are valid.
Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can be specified for a single program element.
if more than one instance is allowed to be specified; otherwise, . The default is .
Gets or sets a value that determines whether the indicated attribute is inherited by derived classes and overriding members.
if the attribute can be inherited by derived classes and overriding members; otherwise, . The default is .
Gets a set of values identifying which program elements that the indicated attribute can be applied to.
One or several values. The default is .
The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The full name of the file with the invalid image.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and file name.
A message that describes the error.
The full name of the file with the invalid image.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Sets the object with the file name, assembly cache log, and additional exception information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The caller does not have the required permission.
Returns the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.
A string containing the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.
Gets the name of the file that causes this exception.
The name of the file with the invalid image, or a null reference if no file name was passed to the constructor for the current instance.
Gets the log file that describes why an assembly load failed.
A containing errors reported by the assembly cache.
Gets the error message and the name of the file that caused this exception.
A string containing the error message and the name of the file that caused this exception.
Specifies whether relevant and methods insert line breaks in their output.
Inserts line breaks after every 76 characters in the string representation.
Does not insert line breaks after every 76 characters in the string representation.
Converts base data types to an array of bytes, and an array of bytes to base data types.
Indicates the byte order ("endianness") in which data is stored in this computer architecture.
Converts the specified double-precision floating point number to a 64-bit signed integer.
The number to convert.
A 64-bit signed integer whose value is equivalent to .
Converts the specified double-precision floating point number to a 64-bit unsigned integer.
The number to convert.
A 64-bit unsigned integer whose bits are identical to .
Returns the specified Boolean value as a byte array.
The value to convert.
A byte array with length 1.
Returns the specified Unicode character value as an array of bytes.
The character to convert.
An array of bytes with length 2.
Returns the specified double-precision floating-point value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns the specified half-precision floating-point value as an array of bytes.
The number to convert.
An array of bytes with length 2.
Returns the specified 128-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 16.
Returns the specified 16-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 2.
Returns the specified 32-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 64-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns the specified single-precision floating point value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 128-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 16.
Returns the specified 16-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 2.
Returns the specified 32-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 64-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Converts a half-precision floating-point value into a 16-bit integer.
The half-precision floating-point value to convert.
An integer representing the converted half-precision floating-point value.
Converts the specified half-precision floating point number to a 16-bit unsigned integer.
The number to convert.
A 16-bit unsigned integer whose bits are identical to .
Reinterprets the specified 16-bit signed integer value as a half-precision floating-point value.
The 16-bit signed integer value to convert.
A half-precision floating-point value that represents the converted integer.
Reinterprets the specified 32-bit integer as a single-precision floating-point value.
The integer to convert.
A single-precision floating-point value that represents the converted integer.
Reinterprets the specified 64-bit signed integer to a double-precision floating point number.
The number to convert.
A double-precision floating point number whose value is equivalent to .
Converts a single-precision floating-point value into an integer.
The single-precision floating-point value to convert.
An integer representing the converted single-precision floating-point value.
Converts the specified single-precision floating point number to a 32-bit unsigned integer.
The number to convert.
A 32-bit unsigned integer whose bits are identical to .
Returns a Boolean value converted from the byte at a specified position in a byte array.
A byte array.
The index of the byte within to convert.
is .
is less than zero or greater than the length of minus 1.
if the byte at in is nonzero; otherwise, .
Converts a read-only byte span to a Boolean value.
A read-only span containing the bytes to convert.
The length of is less than 1.
A Boolean representing the converted bytes.
Returns a Unicode character converted from two bytes at a specified position in a byte array.
An array that includes the two bytes to convert.
The starting position within .
equals the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
The character formed by two bytes beginning at .
Converts a read-only byte span into a character.
A read-only span containing the bytes to convert.
The length of is less than the length of a .
A character representing the converted bytes.
Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.
An array of bytes that includes the eight bytes to convert.
The starting position within .
is greater than or equal to the length of minus 7, and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A double-precision floating point number formed by eight bytes beginning at .
Converts a read-only byte span into a double-precision floating-point value.
A read-only span containing the bytes to convert.
The length of is less than the length of a value.
A double-precision floating-point value that represents the converted bytes.
Returns a half-precision floating point number converted from two bytes at a specified position in a byte array.
An array of bytes that includes the two bytes to convert.
The starting position within .
equals the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A half-precision floating point number formed by two bytes beginning at .
Converts a read-only byte span into a half-precision floating-point value.
A read-only span containing the bytes to convert.
The length of is less than 2.
A half-precision floating-point value that represents the converted bytes.
Returns a 128-bit signed integer converted from sixteen bytes at a specified position in a byte array.
An array of bytes.
The starting position within .
is greater than or equal to the length of minus 15,
and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 128-bit signed integer formed by sixteen bytes beginning at .
Converts a read-only byte span into a 128-bit signed integer.
A read-only span containing the bytes to convert.
The length of is less than 16.
A 128-bit signed integer representing the converted bytes.
Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
An array of bytes that includes the two bytes to convert.
The starting position within .
equals the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 16-bit signed integer formed by two bytes beginning at .
Converts a read-only byte span into a 16-bit signed integer.
A read-only span containing the bytes to convert.
The length of is less than 2.
A 16-bit signed integer representing the converted bytes.
Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
An array of bytes that includes the four bytes to convert.
The starting position within .
is greater than or equal to the length of minus 3, and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 32-bit signed integer formed by four bytes beginning at .
Converts a read-only byte span into a 32-bit signed integer.
A read-only span containing the bytes to convert.
The length of is less than 4.
A 32-bit signed integer representing the converted bytes.
Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
An array of bytes that includes the eight bytes to convert.
The starting position within .
is greater than or equal to the length of minus 7, and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 64-bit signed integer formed by eight bytes beginning at .
Converts a read-only byte span into a 64-bit signed integer.
A read-only span containing the bytes to convert.
The length of is less than 8.
A 64-bit signed integer representing the converted bytes.
Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
An array of bytes.
The starting position within .
is greater than or equal to the length of minus 3, and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A single-precision floating point number formed by four bytes beginning at .
Converts a read-only byte span into a single-precision floating-point value.
A read-only span containing the bytes to convert.
The length of is less than the length of a value.
A single-precision floating-point value representing the converted bytes.
Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.
An array of bytes that includes the bytes to convert.
The starting position within .
The number of array elements in to convert.
is .
or is less than zero.
-or-
is greater than zero and is greater than or equal to the length of .
The combination of and does not specify a position within ; that is, the parameter is greater than the length of minus the parameter.
A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in a subarray of ; for example, "7F-2C-4A-00".
Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.
An array of bytes.
The starting position within .
is .
is less than zero or greater than the length of minus 1.
A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in a subarray of ; for example, "7F-2C-4A-00".
Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation.
An array of bytes.
is .
A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in ; for example, "7F-2C-4A-00".
Returns a 128-bit unsigned integer converted from sixteen bytes at a specified position in a byte array.
An array of bytes.
The starting position within .
is greater than or equal to the length of minus 15,
and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 128-bit unsigned integer formed by sixteen bytes beginning at .
Converts a read-only byte span into a 128-bit unsigned integer.
A read-only span containing the bytes to convert.
The length of is less than 16.
A 128-bit unsigned integer representing the converted bytes.
Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
The array of bytes that includes the two bytes to convert.
The starting position within .
equals the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 16-bit unsigned integer formed by two bytes beginning at .
Converts a read-only byte-span into a 16-bit unsigned integer.
A read-only span containing the bytes to convert.
The length of is less than 2.
An 16-bit unsigned integer representing the converted bytes.
Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
An array of bytes.
The starting position within .
is greater than or equal to the length of minus 3, and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 32-bit unsigned integer formed by four bytes beginning at .
Converts a read-only byte span into a 32-bit unsigned integer.
A read-only span containing the bytes to convert.
The length of is less than 4.
A 32-bit unsigned integer representing the converted bytes.
Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.
An array of bytes that includes the eight bytes to convert.
The starting position within .
is greater than or equal to the length of minus 7, and is less than or equal to the length of minus 1.
is .
is less than zero or greater than the length of minus 1.
A 64-bit unsigned integer formed by the eight bytes beginning at .
Converts bytes into an unsigned long.
A read-only span containing the bytes to convert.
The length of is less than 8.
A 64-bit unsigned integer representing the converted bytes.
Converts a Boolean into a span of bytes.
When this method returns, the bytes representing the converted Boolean.
The Boolean to convert.
if the conversion was successful; otherwise.
Converts a character into a span of bytes.
When this method returns, the bytes representing the converted character.
The character to convert.
if the conversion was successful; otherwise.
Converts a double-precision floating-point value into a span of bytes.
When this method returns, the bytes representing the converted double-precision floating-point value.
The double-precision floating-point value to convert.
if the conversion was successful; otherwise.
Converts a half-precision floating-point value into a span of bytes.
When this method returns, the bytes representing the converted half-precision floating-point value.
The half-precision floating-point value to convert.
if the conversion was successful; otherwise.
Converts a 128-bit signed integer into a span of bytes.
When this method returns, the bytes representing the converted 128-bit signed integer.
The 128-bit signed integer to convert.
if the conversion was successful; otherwise.
Converts a 16-bit signed integer into a span of bytes.
When this method returns, the bytes representing the converted 16-bit signed integer.
The 16-bit signed integer to convert.
if the conversion was successful; otherwise.
Converts a 32-bit signed integer into a span of bytes.
When this method returns, the bytes representing the converted 32-bit signed integer.
The 32-bit signed integer to convert.
if the conversion was successful; otherwise.
Converts a 64-bit signed integer into a span of bytes.
When this method returns, the bytes representing the converted 64-bit signed integer.
The 64-bit signed integer to convert.
if the conversion was successful; otherwise.
Converts a single-precision floating-point value into a span of bytes.
When this method returns, the bytes representing the converted single-precision floating-point value.
The single-precision floating-point value to convert.
if the conversion was successful; otherwise.
Converts a 128-bit unsigned integer into a span of bytes.
When this method returns, the bytes representing the converted 128-bit unsigned integer.
The 128-bit unsigned integer to convert.
if the conversion was successful; otherwise.
Converts an unsigned 16-bit integer into a span of bytes.
When this method returns, the bytes representing the converted unsigned 16-bit integer.
The unsigned 16-bit integer to convert.
if the conversion was successful; otherwise.
Converts a 32-bit unsigned integer into a span of bytes.
When this method returns, the bytes representing the converted unsigned 32-bit integer.
The unsigned 32-bit integer to convert.
if the conversion was successful; otherwise.
Converts an unsigned 64-bit integer into a span of bytes.
When this method returns, the bytes representing the converted unsigned 64-bit integer.
The unsigned 64-bit integer to convert.
if the conversion was successful; otherwise.
Converts the specified 16-bit unsigned integer to a half-precision floating point number.
The number to convert.
A half-precision floating point number whose bits are identical to .
Converts the specified 32-bit unsigned integer to a single-precision floating point number.
The number to convert.
A single-precision floating point number whose bits are identical to .
Converts the specified 64-bit unsigned integer to a double-precision floating point number.
The number to convert.
A double-precision floating point number whose bits are identical to .
Represents a Boolean ( or ) value.
Represents the Boolean value as a string. This field is read-only.
Represents the Boolean value as a string. This field is read-only.
Compares this instance to a specified object and returns an integer that indicates their relationship to one another.
A object to compare to this instance.
A signed integer that indicates the relative values of this instance and .
Return Value Condition- Less than zero This instance is and is .
- Zero This instance and are equal (either both are or both are ).
- Greater than zero This instance is and is .
Compares this instance to a specified object and returns an integer that indicates their relationship to one another.
An object to compare to this instance, or .
is not a .
A signed integer that indicates the relative order of this instance and .
Return Value Condition- Less than zero This instance is and is .
- Zero This instance and are equal (either both are or both are ).
- Greater than zero This instance is and is .
-or-
is .
Returns a value indicating whether this instance is equal to a specified object.
A value to compare to this instance.
if has the same value as this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare to this instance.
if is a and has the same value as this instance; otherwise, .
Returns the hash code for this instance.
A hash code for the current .
Returns the type code for the value type.
The enumerated constant .
Converts the specified span representation of a logical value to its equivalent.
A span containing the characters representing the value to convert.
if is equivalent to ; if is equivalent to .
Converts the specified string representation of a logical value to its equivalent.
A string containing the value to convert.
is .
is not equivalent to or .
if is equivalent to ; if is equivalent to .
For a description of this member, see .
This parameter is ignored.
or .
For a description of this member, see .
This parameter is ignored.
1 if the value of this instance is ; otherwise, 0.
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
You attempt to convert a value to a value. This conversion is not supported.
This conversion is not supported. No value is returned.
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
You attempt to convert a value to a value. This conversion is not supported.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
The desired type.
An implementation that supplies culture-specific information about the format of the returned value.
is .
The requested type conversion is not supported.
An object of the specified type, with a value that is equivalent to the value of this object.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
For a description of this member, see .
This parameter is ignored.
1 if this instance is ; otherwise, 0.
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the value of this instance to its equivalent string representation (either "True" or "False").
"True" (the value of the property) if the value of this instance is , or "False" (the value of the property) if the value of this instance is .
Converts the value of this instance to its equivalent string representation (either "True" or "False").
(Reserved) An object.
if the value of this instance is , or if the value of this instance is .
Tries to format the value of the current boolean instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
if the formatting was successful; otherwise, .
Tries to convert the specified span representation of a logical value to its equivalent.
A span containing the characters representing the value to convert.
When this method returns, if the conversion succeeded, contains if is equal to or if is equal to . If the conversion failed, contains . The conversion fails if is or is not equal to the value of either the or field.
if was converted successfully; otherwise, .
Tries to convert the specified string representation of a logical value to its equivalent.
A string containing the value to convert.
When this method returns, if the conversion succeeded, contains if is equal to or if is equal to . If the conversion failed, contains . The conversion fails if is or is not equal to the value of either the or field.
if was converted successfully; otherwise, .
Manipulates arrays of primitive types.
Copies a specified number of bytes from a source array starting at a particular offset to a destination array starting at a particular offset.
The source buffer.
The zero-based byte offset into .
The destination buffer.
The zero-based byte offset into .
The number of bytes to copy.
or is .
or is not an array of primitives.
-or-
The number of bytes in is less than plus .
-or-
The number of bytes in is less than plus .
, , or is less than 0.
Returns the number of bytes in the specified array.
An array.
is .
is not a primitive.
is larger than 2 gigabytes (GB).
The number of bytes in the array.
Retrieves the byte at the specified location in the specified array.
An array.
A location in the array.
is not a primitive.
is .
is negative or greater than the length of .
is larger than 2 gigabytes (GB).
The byte at the specified location in the array.
Copies a number of bytes specified as a long integer value from one address in memory to another.
This API is not CLS-compliant.
The address of the bytes to copy.
The target address.
The number of bytes available in the destination memory block.
The number of bytes to copy.
is greater than .
Copies a number of bytes specified as an unsigned long integer value from one address in memory to another.
This API is not CLS-compliant.
The address of the bytes to copy.
The target address.
The number of bytes available in the destination memory block.
The number of bytes to copy.
is greater than .
Assigns a specified value to a byte at a particular location in a specified array.
An array.
A location in the array.
A value to assign.
is not a primitive.
is .
is negative or greater than the length of .
is larger than 2 gigabytes (GB).
Provides a resource pool that enables reusing instances of type T[].
The type of the objects that are in the resource pool.
Initializes a new instance of the class.
Creates a new instance of the class.
A new instance of the class.
Creates a new instance of the class using the specified configuration.
The maximum length of an array instance that may be stored in the pool.
The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access.
A new instance of the class with the specified configuration.
Retrieves a buffer that is at least the requested length.
The minimum length of the array.
An array of type T that is at least in length.
Returns an array to the pool that was previously obtained using the method on the same instance.
A buffer to return to the pool that was previously obtained using the method.
Indicates whether the contents of the buffer should be cleared before reuse. If is set to , and if the pool will store the buffer to enable subsequent reuse, the method will clear the of its contents so that a subsequent caller using the method will not see the content of the previous caller. If is set to or if the pool will release the buffer, the array's contents are left unchanged.
Gets a shared instance.
A shared instance.
Identifies the owner of a block of memory who is responsible for disposing of the underlying memory appropriately.
The type of elements to store in memory.
Gets the memory belonging to this owner.
The memory belonging to this owner.
Provides a mechanism for pinning and unpinning objects to prevent the garbage collector from moving them.
Pins a block of memory.
The offset to the element within the memory buffer to which the returned points.
A handle to the block of memory.
Frees a block of pinned memory.
Provides a memory handle for a block of memory.
Creates a new memory handle for the block of memory.
A pointer to memory.
A handle used to pin array buffers.
A reference to a manually managed object, or if there is no memory manager.
Frees the pinned handle and releases the instance.
Returns a pointer to the memory block.
A pointer to the memory block.
An abstract base class that is used to replace the implementation of .
The type of items in the memory buffer managed by this memory manager.
Initializes a new instance of the class.
Returns a memory buffer consisting of a specified number of elements starting at a specified offset from the memory managed by the current memory manager.
The offset to the element at which the returned memory buffer starts.
The number of elements to include in the returned memory buffer.
A memory buffer that consists of elements starting at offset .
Returns a memory buffer consisting of a specified number of elements from the memory managed by the current memory manager.
The number of elements in the memory buffer, starting at offset 0.
A memory buffer.
Releases all resources used by the current memory manager.
to release both managed and unmanaged resources; to release only unmanaged resources.
Returns a memory span that wraps the underlying memory buffer.
A memory span that wraps the underlying memory buffer.
Returns a handle to the memory that has been pinned and whose address can be taken.
The offset to the element in the memory buffer at which the returned points.
A handle to the memory that has been pinned.
Releases all resources used by the memory manager.
Returns an array segment.
The array segment to write to.
if the method succeeded in retrieving the array segment; otherwise, .
Unpins pinned memory so that the garbage collector is free to move it.
Gets the memory block handled by this .
The memory block handled by this .
Defines the values that can be returned from span-based operations that support processing of input contained in multiple discontiguous buffers.
The input is partially processed, up to what could fit into the destination buffer. The caller can enlarge the destination buffer, slice the buffers appropriately, and retry.
The entire input buffer has been processed and the operation is complete.
The input contained invalid bytes which could not be processed. If the input is partially processed, the destination contains the partial result. This guarantees that no additional data appended to the input will make the invalid sequence valid.
The input is partially processed, up to the last valid chunk of the input that could be consumed. The caller can stitch the remaining unprocessed input with more data, slice the buffers appropriately, and retry.
Encapsulates a method that receives a read-only span of objects of type and a state object of type .
A read-only span of objects of type .
A state object of type .
The type of the objects in the read-only span.
The type of the object that represents the state.
Provides a set of initialization methods for instances of the class.
Creates an optimized representation of used for efficient searching.
The set of values.
The optimized representation of used for efficient searching.
Creates an optimized representation of used for efficient searching.
The set of values.
The optimized representation of used for efficient searching.
Creates an optimized representation of used for efficient searching.
The set of values.
Specifies whether to use or search semantics.
The optimized representation of used for efficient searching.
Provides an immutable, read-only set of values optimized for efficient searching.
Instances are created by or .
The type of the values to search for.
Searches for the specified value.
The value to search for.
if was found; otherwise, .
Encapsulates a method that receives a span of objects of type and a state object of type .
A span of objects of type .
A state object of type .
The type of the objects in the span.
The type of the object that represents the state.
Converts between binary data and UTF-8 encoded text that is represented in base 64.
Decodes the span of UTF-8 encoded text represented as base 64 into binary data. If the input is not a multiple of 4, it will decode as much as it can, to the closest multiple of 4.
The input span that contains UTF-8 encoded text in base 64 that needs to be decoded.
The output span that contains the result of the operation, that is, the decoded binary data.
When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary.
When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary.
(default) to indicate that the input span contains the entire data to decode. to indicate that the input span contains partial data with more data to follow.
One of the enumeration values that indicates the status of the decoding operation.
Decodes the span of UTF-8 encoded text in base 64 (in-place) into binary data. The decoded binary output is smaller than the text data contained in the input (the operation deflates the data). If the input is not a multiple of 4, the method will not decode any data.
The input span that contains the base-64 text data that needs to be decoded.
When this method returns, contains the number of bytes written into the buffer.
One of the enumeration values that indicates the status of the decoding operation.
Encodes the span of binary data into UTF-8 encoded text represented as base 64.
The input span that contains binary data that needs to be encoded.
The output span that contains the result of the operation, that is, the UTF-8 encoded text in base 64.
When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary.
When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary.
(the default) to indicate that the input span contains the entire data to encode. to indicate that the input span contains partial data with more data to follow.
One of the enumeration values that indicates the status of the encoding operation.
Encodes the span of binary data (in-place) into UTF-8 encoded text represented as base 64. The encoded text output is larger than the binary data contained in the input (the operation inflates the data).
The input span that contains binary data that needs to be encoded. Because the method performs an in-place conversion, it needs to be large enough to store the result of the operation.
The number of bytes of binary data contained within the buffer that needs to be encoded. This value must be smaller than the buffer length.
When this method returns, contains the number of bytes written into the buffer.
One of the enumeration values that indicates the status of the encoding operation.
Returns the maximum length (in bytes) of the result if you were to decode base-64 encoded text within a byte span with the specified length.
The size of the byte span.
is less than 0.
The maximum length (in bytes) of the result.
Returns the maximum length (in bytes) of the result if you were to encode binary data within a byte span with the specified length.
The size of the byte span.
is less than 0 or larger than 1610612733 (since encode inflates the data by 4/3).
The maximum length (in bytes) of the result.
Validates that the specified span of UTF-8 text is comprised of valid base-64 encoded data.
A span of UTF-8 text to validate.
If the method returns , the number of decoded bytes that will result from decoding the input UTF-8 text.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Validates that the specified span of UTF-8 text is comprised of valid base-64 encoded data.
A span of UTF-8 text to validate.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Validates that the specified span of text is comprised of valid base-64 encoded data.
A span of text to validate.
If the method returns , the number of decoded bytes that will result from decoding the input text.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Validates that the specified span of text is comprised of valid base-64 encoded data.
A span of text to validate.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Converts between binary data and URL-safe ASCII encoded text that's represented in Base64Url characters.
Decodes the span of unicode ASCII chars represented as Base64Url into binary data.
The input span which contains unicode ASCII chars in Base64Url that needs to be decoded.
The output span which contains the result of the operation, i.e. the decoded binary data.
When this method returns, contains the number of input chars consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.
When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
when the input span contains the entirety of data to encode; when more data may follow,
such as when calling in a loop. Calls with should be followed up with another call where this parameter is call. The default is .
One of the enumeration values that indicates the success or failure of the operation.
Decodes the span of unicode ASCII chars represented as Base64Url into binary data.
The input span which contains ASCII chars in Base64Url that needs to be decoded.
The output span which contains the result of the operation, i.e. the decoded binary data.
The buffer in is too small to hold the encoded output.
contains a invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.
The number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary.
Decodes the span of unicode ASCII chars represented as Base64Url into binary data.
The input span which contains ASCII chars in Base64Url that needs to be decoded.
contains a invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.
A byte array which contains the result of the decoding operation.
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.
The output span which contains the result of the operation, i.e. the decoded binary data.
When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.
When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
when the input span contains the entirety of data to encode; when more data may follow,
such as when calling in a loop. Calls with should be followed up with another call where this parameter is call. The default is .
One of the enumeration values that indicates the success or failure of the operation.
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.
The output span which contains the result of the operation, i.e. the decoded binary data.
The buffer in is too small to hold the encoded output.
contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.
The number of bytes written into . This can be used to slice the output for subsequent calls, if necessary.
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.
contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.
>A byte array which contains the result of the decoding operation.
Decodes the span of UTF-8 encoded text in Base64Url into binary data, in-place.
The decoded binary output is smaller than the text data contained in the input (the operation deflates the data).
The input span which contains the base 64 text data that needs to be decoded.
contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.
The number of bytes written into . This can be used to slice the output for subsequent calls, if necessary.
Encodes the span of binary data into unicode ASCII chars represented as Base64Url.
The input span which contains binary data that needs to be encoded.
The output span which contains the result of the operation, i.e. the ASCII chars in Base64Url.
>When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.
>When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
when the input span contains the entirety of data to encode; when more data may follow,
such as when calling in a loop, subsequent calls with should end with call. The default is .
One of the enumeration values that indicates the success or failure of the operation.
Encodes the span of binary data into Unicode ASCII chars represented as Base64Url.
The input span which contains binary data that needs to be encoded.
The output span which contains the result of the operation, i.e. the ASCII chars in Base64Url.
The buffer in is too small to hold the encoded output.
The number of bytes written into the destination span. This can be used to slice the output for subsequent calls, if necessary.
Encodes the span of binary data into unicode ASCII chars represented as Base64Url.
The input span which contains binary data that needs to be encoded.
A char array which contains the result of the operation, i.e. the ASCII chars in Base64Url.
Encodes the span of binary data into Unicode string represented as Base64Url ASCII chars.
The input span that contains binary data that needs to be encoded.
A string that contains the result of the operation, i.e. the ASCII string in Base64Url.
Encodes the span of binary data into UTF-8 encoded text represented as Base64Url.
The input span which contains binary data that needs to be encoded.
The output span which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.
When this method returns, contains the number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary. This parameter is treated as uninitialized.
When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
when the input span contains the entirety of data to encode; when more data may follow,
such as when calling in a loop, subsequent calls with should end with call. The default is .
One of the enumeration values that indicates the success or failure of the operation.
Encodes the span of binary data into UTF-8 encoded text represented as Base64Url.
The input span which contains binary data that needs to be encoded.
The output span which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.
The buffer in is too small to hold the encoded output.
The number of bytes written into the destination span. This can be used to slice the output for subsequent calls, if necessary.
Encodes the span of binary data into UTF-8 encoded text represented as Base64Url.
The input span which contains binary data that needs to be encoded.
The output byte array which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.
Returns the length (in bytes) of the result if you were to encode binary data within a byte span of size .
The size of the input span.
is less than 0 or greater than 1610612733.
The length (in bytes) of the encoded result.
Returns the maximum length (in bytes) of the result if you were to decode base 64 encoded text from a span of size .
The size of the input span.
The specified is less than 0.
The maximum length (in bytes) of the decoded result.
Validates that the specified span of UTF-8 text is comprised of valid base-64 encoded data.
A span of UTF-8 text to validate.
If the method returns , the number of decoded bytes that will result from decoding the input UTF-8 text.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Validates that the specified span of UTF-8 text is comprised of valid base-64 encoded data.
A span of UTF-8 text to validate.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Validates that the specified span of text is comprised of valid base-64 encoded data.
A span of text to validate.
If the method returns , the number of decoded bytes that will result from decoding the input text.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Validates that the specified span of text is comprised of valid base-64 encoded data.
A span of text to validate.
if contains a valid, decodable sequence of base-64 encoded data; otherwise, .
Decodes the span of Unicode ASCII chars represented as Base64Url into binary data.
The input span which contains ASCII chars in Base64Url that needs to be decoded.
The output span which contains the result of the operation, i.e. the decoded binary data.
When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.
if bytes decoded successfully; if is too small.
Decodes the span of UTF-8 encoded text represented as Base64Url into binary data.
The input span which contains UTF-8 encoded text in Base64Url that needs to be decoded.
The output span which contains the result of the operation, i.e. the decoded binary data.
When this method returns, contains the number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
contains an invalid Base64Url character,
more than two padding characters, or a non white space character among the padding characters.
if bytes decoded successfully; if is too small.
Encodes the span of binary data into Unicode ASCII chars represented as Base64Url.
The input span which contains binary data that needs to be encoded.
The output span which contains the result of the operation, i.e. the ASCII chars in Base64Url.
When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
if chars encoded successfully; if is too small.
Encodes the span of binary data into UTF-8 encoded chars represented as Base64Url.
The input span which contains binary data that needs to be encoded.
The output span which contains the result of the operation, i.e. the UTF-8 encoded text in Base64Url.
When this method returns, contains the number of chars written into the output span. This can be used to slice the output for subsequent calls, if necessary. This parameter is treated as uninitialized.
if bytes encoded successfully; if is too small.
Encodes the span of binary data (in-place) into UTF-8 encoded text represented as base 64.
The encoded text output is larger than the binary data contained in the input (the operation inflates the data).
The input span which contains binary data that needs to be encoded.
It needs to be large enough to fit the result of the operation.
The amount of binary data contained within the buffer that needs to be encoded
(and needs to be smaller than the buffer length).
When this method returns, contains the number of bytes written into the buffer. This parameter is treated as uninitialized.
if bytes encoded successfully; if is too small to fit the result.
Represents an 8-bit unsigned integer.
Represents the largest possible value of a . This field is constant.
Represents the smallest possible value of a . This field is constant.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified 8-bit unsigned integer and returns an indication of their relative values.
An 8-bit unsigned integer to compare.
A signed integer that indicates the relative order of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not a .
A signed integer that indicates the relative order of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance and a specified object represent the same value.
An object to compare to this instance.
if is equal to this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance, or .
if is an instance of and equals the value of this instance; otherwise, .
Returns the hash code for this instance.
A hash code for the current .
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number in a specified style and culture-specific format to its equivalent.
A span containing the characters representing the value to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific information about the format of . If is , the thread current culture is used.
A byte value that is equivalent to the number contained in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its equivalent.
A string that contains a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific information about the format of . If is , the thread current culture is used.
is .
is not of the correct format.
represents a number less than Byte.MinValue or greater than Byte.MaxValue.
-or-
includes non-zero, fractional digits.
is not a value.
-or-
is not a combination of and values.
A byte value that is equivalent to the number contained in .
Converts the string representation of a number in a specified style to its equivalent.
A string that contains a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
is .
is not of the correct format.
represents a number less than Byte.MinValue or greater than Byte.MaxValue.
-or-
includes non-zero, fractional digits.
is not a value.
-or-
is not a combination of and values.
A byte value that's equivalent to the number contained in .
Converts the string representation of a number in a specified culture-specific format to its equivalent.
A string that contains a number to convert. The string is interpreted using the style.
An object that supplies culture-specific parsing information about . If is , the thread current culture is used.
is .
is not of the correct format.
represents a number less than Byte.MinValue or greater than Byte.MaxValue.
A byte value that is equivalent to the number contained in .
Converts the string representation of a number to its equivalent.
A string that contains a number to convert. The string is interpreted using the style.
is .
is not of the correct format.
represents a number less than Byte.MinValue or greater than Byte.MaxValue.
A byte value that is equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An implementation that supplies information about the format of the returned value.
is .
The requested type conversion is not supported.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the value of the current object to its equivalent string representation.
The string representation of the value of this object, which consists of a sequence of digits that range from 0 to 9 with no leading zeroes.
Converts the numeric value of the current object to its equivalent string representation using the specified culture-specific formatting information.
An object that supplies culture-specific formatting information.
The string representation of the value of this object in the format specified by the parameter.
Converts the value of the current object to its equivalent string representation using the specified format and culture-specific formatting information.
A standard or custom numeric format string.
An object that supplies culture-specific formatting information.
includes an unsupported specifier. Supported format specifiers are listed in the Remarks section.
The string representation of the current object, formatted as specified by the and parameters.
Converts the value of the current object to its equivalent string representation using the specified format.
A numeric format string.
includes an unsupported specifier. Supported format specifiers are listed in the Remarks section.
The string representation of the current object, formatted as specified by the parameter.
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current 8-bit unsigned integer instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, the number of characters that were written in .
A span containing the charactes that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 8-bit unsigned integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 8-bit unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the span representation of a number to its equivalent, and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the number to convert.
When this method returns, contains the value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts the span representation of a number in a specified style and culture-specific format to its equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters representing the number to convert. The span is interpreted using the style.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about . If is , the thread current culture is used.
When this method returns, contains the 8-bit unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than Byte.MinValue or greater than Byte.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the string representation of a number to its equivalent, and returns a value that indicates whether the conversion succeeded.
A string that contains a number to convert.
When this method returns, contains the value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its equivalent. A return value indicates whether the conversion succeeded or failed.
A string containing a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about . If is , the thread current culture is used.
When this method returns, contains the 8-bit unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than Byte.MinValue or greater than Byte.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
The exception that is thrown when an attempt to unload an application domain fails.
Initializes a new instance of the class.
Initializes a new instance of the class from serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Represents a character as a UTF-16 code unit.
Represents the largest possible value of a . This field is constant.
Represents the smallest possible value of a . This field is constant.
Compares this instance to a specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified object.
A object to compare.
A signed number indicating the position of this instance in the sort order in relation to the parameter.
Return Value Description- Less than zero This instance precedes .
- Zero This instance has the same position in the sort order as .
- Greater than zero This instance follows .
Compares this instance to a specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified .
An object to compare this instance to, or .
is not a object.
A signed number indicating the position of this instance in the sort order in relation to the parameter.
Return Value Description- Less than zero This instance precedes .
- Zero This instance has the same position in the sort order as .
- Greater than zero This instance follows .
-or-
is .
Converts the specified Unicode code point into a UTF-16 encoded string.
A 21-bit Unicode code point.
is not a valid 21-bit Unicode code point ranging from U+0 through U+10FFFF, excluding the surrogate pair range from U+D800 through U+DFFF.
A string consisting of one object or a surrogate pair of objects equivalent to the code point specified by the parameter.
Converts the value of a UTF-16 encoded surrogate pair into a Unicode code point.
A high surrogate code unit (that is, a code unit ranging from U+D800 through U+DBFF).
A low surrogate code unit (that is, a code unit ranging from U+DC00 through U+DFFF).
is not in the range U+D800 through U+DBFF, or is not in the range U+DC00 through U+DFFF.
The 21-bit Unicode code point represented by the and parameters.
Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into a Unicode code point.
A string that contains a character or surrogate pair.
The index position of the character or surrogate pair in .
is .
is not a position within .
The specified index position contains a surrogate pair, and either the first character in the pair is not a valid high surrogate or the second character in the pair is not a valid low surrogate.
The 21-bit Unicode code point represented by the character or surrogate pair at the position in the parameter specified by the parameter.
Returns a value that indicates whether this instance is equal to the specified object.
An object to compare to this instance.
if the parameter equals the value of this instance; otherwise, .
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance or .
if is an instance of and equals the value of this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Converts the specified numeric Unicode character to a double-precision floating point number.
The Unicode character to convert.
The numeric value of if that character represents a number; otherwise, -1.0.
Converts the numeric Unicode character at the specified position in a specified string to a double-precision floating point number.
A .
The character position in .
is .
is less than zero or greater than the last position in .
The numeric value of the character at position in if that character represents a number; otherwise, -1.
Returns the for value type .
The enumerated constant, .
Categorizes a specified Unicode character into a group identified by one of the values.
The Unicode character to categorize.
A value that identifies the group that contains .
Categorizes the character at the specified position in a specified string into a group identified by one of the values.
A .
The character position in .
is .
is less than zero or greater than the last position in .
A enumerated constant that identifies the group that contains the character at position in .
Returns if is an ASCII character ([ U+0000..U+007F ]).
The character to analyze.
if is an ASCII character; otherwise.
Indicates whether a character is categorized as an ASCII digit.
The character to evaluate.
if is an ASCII digit; otherwise, .
Indicates whether a character is categorized as an ASCII hexademical digit.
The character to evaluate.
if is a hexademical digit; otherwise, .
Indicates whether a character is categorized as an ASCII lower-case hexademical digit.
The character to evaluate.
if is a lower-case hexademical digit; otherwise, .
Indicates whether a character is categorized as an ASCII upper-case hexademical digit.
The character to evaluate.
if is a hexademical digit; otherwise, .
Indicates whether a character is categorized as an ASCII letter.
The character to evaluate.
if is an ASCII letter; otherwise, .
Indicates whether a character is categorized as a lowercase ASCII letter.
The character to evaluate.
if is a lowercase ASCII letter; otherwise, .
Indicates whether a character is categorized as an ASCII letter or digit.
The character to evaluate.
if is an ASCII letter or digit; otherwise, .
Indicates whether a character is categorized as an uppercase ASCII letter.
The character to evaluate.
if is an uppercase ASCII letter; otherwise, .
Indicates whether a character is within the specified inclusive range.
The character to evaluate.
The lower bound, inclusive.
The upper bound, inclusive.
if is within the specified range; otherwise, .
Indicates whether the specified Unicode character is categorized as a control character.
The Unicode character to evaluate.
if is a control character; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a control character.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a control character; otherwise, .
Indicates whether the specified Unicode character is categorized as a decimal digit.
The Unicode character to evaluate.
if is a decimal digit; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a decimal digit.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a decimal digit; otherwise, .
Indicates whether the specified object is a high surrogate.
The Unicode character to evaluate.
if the numeric value of the parameter ranges from U+D800 through U+DBFF; otherwise, .
Indicates whether the object at the specified position in a string is a high surrogate.
A string.
The position of the character to evaluate in .
is .
is not a position within .
if the numeric value of the specified character in the parameter ranges from U+D800 through U+DBFF; otherwise, .
Indicates whether the specified Unicode character is categorized as a Unicode letter.
The Unicode character to evaluate.
if is a letter; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a Unicode letter.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a letter; otherwise, .
Indicates whether the specified Unicode character is categorized as a letter or a decimal digit.
The Unicode character to evaluate.
if is a letter or a decimal digit; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a letter or a decimal digit; otherwise, .
Indicates whether the specified Unicode character is categorized as a lowercase letter.
The Unicode character to evaluate.
if is a lowercase letter; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a lowercase letter; otherwise, .
Indicates whether the specified object is a low surrogate.
The character to evaluate.
if the numeric value of the parameter ranges from U+DC00 through U+DFFF; otherwise, .
Indicates whether the object at the specified position in a string is a low surrogate.
A string.
The position of the character to evaluate in .
is .
is not a position within .
if the numeric value of the specified character in the parameter ranges from U+DC00 through U+DFFF; otherwise, .
Indicates whether the specified Unicode character is categorized as a number.
The Unicode character to evaluate.
if is a number; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a number.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a number; otherwise, .
Indicates whether the specified Unicode character is categorized as a punctuation mark.
The Unicode character to evaluate.
if is a punctuation mark; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a punctuation mark.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a punctuation mark; otherwise, .
Indicates whether the specified Unicode character is categorized as a separator character.
The Unicode character to evaluate.
if is a separator character; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a separator character.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a separator character; otherwise, .
Indicates whether the specified character has a surrogate code unit.
The Unicode character to evaluate.
if is either a high surrogate or a low surrogate; otherwise, .
Indicates whether the character at the specified position in a specified string has a surrogate code unit.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a either a high surrogate or a low surrogate; otherwise, .
Indicates whether the two specified objects form a surrogate pair.
The character to evaluate as the high surrogate of a surrogate pair.
The character to evaluate as the low surrogate of a surrogate pair.
if the numeric value of the parameter ranges from U+D800 through U+DBFF, and the numeric value of the parameter ranges from U+DC00 through U+DFFF; otherwise, .
Indicates whether two adjacent objects at a specified position in a string form a surrogate pair.
A string.
The starting position of the pair of characters to evaluate within .
is .
is not a position within .
if the parameter includes adjacent characters at positions and + 1, and the numeric value of the character at position ranges from U+D800 through U+DBFF, and the numeric value of the character at position +1 ranges from U+DC00 through U+DFFF; otherwise, .
Indicates whether the specified Unicode character is categorized as a symbol character.
The Unicode character to evaluate.
if is a symbol character; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as a symbol character.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is a symbol character; otherwise, .
Indicates whether the specified Unicode character is categorized as an uppercase letter.
The Unicode character to evaluate.
if is an uppercase letter; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is an uppercase letter; otherwise, .
Indicates whether the specified Unicode character is categorized as white space.
The Unicode character to evaluate.
if is white space; otherwise, .
Indicates whether the character at the specified position in a specified string is categorized as white space.
A string.
The position of the character to evaluate in .
is .
is less than zero or greater than the last position in .
if the character at position in is white space; otherwise, .
Converts the value of the specified string to its equivalent Unicode character.
A string that contains a single character, or .
is .
The length of is not 1.
A Unicode character equivalent to the sole character in .
Note This conversion is not supported. Attempting to do so throws an .
This parameter is ignored.
This conversion is not supported.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The converted value of the current object.
For a description of this member, see .
This parameter is ignored.
The value of the current object unchanged.
Note This conversion is not supported. Attempting to do so throws an .
This parameter is ignored.
This conversion is not supported.
No value is returned.
Note This conversion is not supported. Attempting to do so throws an .
This parameter is ignored.
This conversion is not supported.
No value is returned.
Note This conversion is not supported. Attempting to do so throws an .
This parameter is ignored.
This conversion is not supported.
No value is returned.
For a description of this member, see .
This parameter is ignored.
The converted value of the current object.
For a description of this member, see .
This parameter is ignored.
The converted value of the current object.
For a description of this member, see .
This parameter is ignored.
The converted value of the current object.
For a description of this member, see .
This parameter is ignored.
The converted value of the current object.
Note This conversion is not supported. Attempting to do so throws an .
This parameter is ignored.
This conversion is not supported.
No value is returned.
For a description of this member, see .
A object.
An object.
is .
The value of the current object cannot be converted to the type specified by the parameter.
An object of the specified type.
For a description of this member, see .
An object. (Specify because the parameter is ignored.)
The converted value of the current object.
For a description of this member, see .
An object. (Specify because the parameter is ignored.)
The converted value of the current object.
For a description of this member, see .
An object. (Specify because the parameter is ignored.)
The converted value of the current object.
Formats the value of the current instance using the specified format.
The format to use.
-or-
A reference ( in Visual Basic) to use the default format defined for the type of the implementation.
The provider to use to format the value.
-or-
A reference ( in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
The value of the current instance in the specified format.
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Computes the number of leading zero bits in a value.
The value whose leading zero bits are to be counted.
The number of leading zero bits in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that's rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that's rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the number of trailing zero bits in a value.
The value whose trailing zero bits are to be counted.
The number of trailing zero bits in .
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Parses a span of characters into a value.
The span of characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a string into a value.
The string to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the value of a specified Unicode character to its lowercase equivalent using specified culture-specific formatting information.
The Unicode character to convert.
An object that supplies culture-specific casing rules.
is .
The lowercase equivalent of , modified according to , or the unchanged value of , if is already lowercase or not alphabetic.
Converts the value of a Unicode character to its lowercase equivalent.
The Unicode character to convert.
The lowercase equivalent of , or the unchanged value of , if is already lowercase or not alphabetic.
Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.
The Unicode character to convert.
The lowercase equivalent of the parameter, or the unchanged value of , if is already lowercase or not alphabetic.
Converts the value of this instance to its equivalent string representation.
The string representation of the value of this instance.
Converts the specified Unicode character to its equivalent string representation.
The Unicode character to convert.
The string representation of the value of .
Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
(Reserved) An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the value of a specified Unicode character to its uppercase equivalent using specified culture-specific formatting information.
The Unicode character to convert.
An object that supplies culture-specific casing rules.
is .
The uppercase equivalent of , modified according to , or the unchanged value of if is already uppercase, has no uppercase equivalent, or is not alphabetic.
Converts the value of a Unicode character to its uppercase equivalent.
The Unicode character to convert.
The uppercase equivalent of , or the unchanged value of if is already uppercase, has no uppercase equivalent, or is not alphabetic.
Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.
The Unicode character to convert.
The uppercase equivalent of the parameter, or the unchanged value of , if is already uppercase or not alphabetic.
Converts the value of the specified string to its equivalent Unicode character. A return code indicates whether the conversion succeeded or failed.
A string that contains a single character, or .
When this method returns, contains a Unicode character equivalent to the sole character in , if the conversion succeeded, or an undefined value if the conversion failed. The conversion fails if the parameter is or the length of is not 1. This parameter is passed uninitialized.
if the parameter was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Supports iterating over a object and reading its individual characters. This class cannot be inherited.
Creates a copy of the current object.
An that is a copy of the current object.
Releases all resources used by the current instance of the class.
Increments the internal index of the current object to the next character of the enumerated string.
if the index is successfully incremented and within the enumerated string; otherwise, .
Initializes the index to a position logically before the first character of the enumerated string.
Gets the currently referenced character in the string enumerated by this object.
The index is invalid; that is, it is before the first or after the last character of the enumerated string.
The Unicode character currently referenced by this object.
Gets the currently referenced character in the string enumerated by this object. For a description of this member, see .
Enumeration has not started.
-or-
Enumeration has ended.
The boxed Unicode character currently referenced by this object.
Indicates whether a program element is compliant with the Common Language Specification (CLS). This class cannot be inherited.
Initializes an instance of the class with a Boolean value indicating whether the indicated program element is CLS-compliant.
if CLS-compliant; otherwise, .
Gets the Boolean value indicating whether the indicated program element is CLS-compliant.
if the program element is CLS-compliant; otherwise, .
Identifies code generated by a tool. This class cannot be inherited.
Initializes a new instance of the class specifying the name and version of the tool that generated the code.
The name of the tool that generated the code.
The version of the tool that generated the code.
Gets the name of the tool that generated the code.
The name of the tool that generated to code.
Gets the version of the tool that generated the code.
The version of the tool that generated the code.
Provides a text writer that can indent new lines by a tab string token.
Specifies the default tab string. This field is constant.
Initializes a new instance of the class using the specified text writer and tab string.
The to use for output.
The tab string to use for indentation.
Initializes a new instance of the class using the specified text writer and default tab string.
The to use for output.
Closes the document being written to.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
A representing the asynchronous dispose operation.
Flushes the stream.
Clears all buffers for this asynchronously and causes any buffered data to be written to the underlying device.
A representing the asynchronous flush operation.
Clears all buffers for this asynchronously and causes any buffered data to be written to the underlying device.
The to monitor for cancellation requests.
The cancellation token was canceled. This exception is stored into the returned task.
A representing the asynchronous flush operation.
Outputs the tab string once for each level of indentation according to the property.
Asynchronously outputs tabs to the underlying based on the current .
A representing the asynchronous operation.
Writes the text representation of a Boolean value to the text stream.
The Boolean value to write.
Writes a character to the text stream.
The character to write.
Writes a subarray of characters to the text stream.
The character array to write data from.
Starting index in the buffer.
The number of characters to write.
Writes a character array to the text stream.
The character array to write.
Writes the text representation of a Double to the text stream.
The to write.
Writes the text representation of an integer to the text stream.
The integer to write.
Writes the text representation of an 8-byte integer to the text stream.
The 8-byte integer to write.
Writes the text representation of an object to the text stream.
The object to write.
Writes the text representation of a Single to the text stream.
The to write.
Writes out a formatted string, using the same semantics as specified.
The formatting string to use.
The first object to write into the formatted string.
The second object to write into the formatted string.
Writes out a formatted string, using the same semantics as specified.
The formatting string.
The object to write into the formatted string.
Writes out a formatted string, using the same semantics as specified.
The formatting string to use.
The argument array to output.
Writes out a formatted string, using the same semantics as specified.
The formatting string to use.
The argument span to output.
Writes the specified string to the text stream.
The string to write.
Asynchronously writes the specified to the underlying , inserting tabs at the start of every line.
The to write.
A representing the asynchronous operation.
Asynchronously writes the specified number of s from the specified buffer to the underlying , starting at the specified index, and outputting tabs at the start of every new line.
The array to write from.
Index in the array to stort writing at.
The number of characters to write.
A representing the asynchronous operation.
Asynchronously writes the specified characters to the underlying , inserting tabs at the start of every line.
The characters to write.
Token for canceling the operation.
The cancellation token was canceled. This exception is stored into the returned task.
A representing the asynchronous operation.
Asynchronously writes the specified string to the underlying , inserting tabs at the start of every line.
The string to write.
A representing the asynchronous operation.
Asynchronously writes the contents of the specified to the underlying , inserting tabs at the start of every line.
The text to write.
Token for canceling the operation.
The cancellation token was canceled. This exception is stored into the returned task.
A representing the asynchronous operation.
Writes a line terminator.
Writes the text representation of a Boolean, followed by a line terminator, to the text stream.
The Boolean to write.
Writes a character, followed by a line terminator, to the text stream.
The character to write.
Writes a subarray of characters, followed by a line terminator, to the text stream.
The character array to write data from.
Starting index in the buffer.
The number of characters to write.
Writes a character array, followed by a line terminator, to the text stream.
The character array to write.
Writes the text representation of a Double, followed by a line terminator, to the text stream.
The to write.
Writes the text representation of an integer, followed by a line terminator, to the text stream.
The integer to write.
Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream.
The 8-byte integer to write.
Writes the text representation of an object, followed by a line terminator, to the text stream.
The object to write.
Writes the text representation of a Single, followed by a line terminator, to the text stream.
The to write.
Writes out a formatted string, followed by a line terminator, using the same semantics as specified.
The formatting string to use.
The first object to write into the formatted string.
The second object to write into the formatted string.
Writes out a formatted string, followed by a line terminator, using the same semantics as specified.
The formatting string.
The object to write into the formatted string.
Writes out a formatted string, followed by a line terminator, using the same semantics as specified.
The formatting string to use.
The argument array to output.
Writes out a formatted string, followed by a line terminator, using the same semantics as specified.
The formatting string to use.
The argument span to output.
Writes the specified string, followed by a line terminator, to the text stream.
The string to write.
Writes the text representation of a UInt32, followed by a line terminator, to the text stream.
A UInt32 to output.
Asynchronously writes the line terminator to the underlying .
A representing the asynchronous line writing operation.
Asynchronously writes the specified to the underlying followed by a line terminator, inserting tabs at the start of every line.
The character to write.
A representing the asynchronous operation.
Asynchronously writes the specified number of characters from the specified buffer followed by a line terminator, to the underlying , starting at the specified index within the buffer, inserting tabs at the start of every line.
The buffer containing characters to write.
The index within the buffer to start writing at.
The number of characters to write.
A representing the asynchronous operation.
Asynchronously writes the specified characters followed by a line terminator to the underlying , inserting tabs at the start of every line.
The characters to write.
Token for canceling the operation.
The cancellation token was canceled. This exception is stored into the returned task.
A representing the asynchronous operation.
Asynchronously writes the specified string followed by a line terminator to the underlying , inserting tabs at the start of every line.
The string to write.
A representing the asynchronous operation.
Asynchronously writes the contents of the specified followed by a line terminator to the underlying , inserting tabs at the start of every line.
The text to write.
Token for canceling the operation.
The cancellation token was canceled. This exception is stored into the returned task.
A representing the asynchronous operation.
Writes the specified string to a line without tabs.
The string to write.
Asynchronously writes the specified string to the underlying without inserting tabs.
The string to write.
A representing the asynchronous operation.
Gets the encoding for the text writer to use.
An that indicates the encoding for the text writer to use.
Gets or sets the number of spaces to indent.
The number of spaces to indent.
Gets the to use.
The to use.
Gets or sets the new line character to use.
The new line character to use.
Implements the interface using an array whose size is dynamically increased as required.
Initializes a new instance of the class that is empty and has the default initial capacity.
Initializes a new instance of the class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied.
The whose elements are copied to the new list.
is .
is a multidimensional array.
Initializes a new instance of the class that is empty and has the specified initial capacity.
The number of elements that the new list can initially store.
is less than zero.
Creates an wrapper for a specific .
The to wrap.
is .
The wrapper around the .
Adds an object to the end of the .
The to be added to the end of the . The value can be .
The is read-only.
-or-
The has a fixed size.
The index at which the has been added.
Adds the elements of an to the end of the .
The whose elements should be added to the end of the . The collection itself cannot be , but it can contain elements that are .
is .
The is read-only.
-or-
The has a fixed size.
Searches a range of elements in the sorted for an element using the specified comparer and returns the zero-based index of the element.
The zero-based starting index of the range to search.
The length of the range to search.
The to locate. The value can be .
The implementation to use when comparing elements.
-or-
to use the default comparer that is the implementation of each element.
and do not denote a valid range in the .
-or-
is and neither nor the elements of implement the interface.
is and is not of the same type as the elements of the .
is less than zero.
-or-
is less than zero.
The zero-based index of in the sorted , if is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than or, if there is no larger element, the bitwise complement of .
Searches the entire sorted for an element using the specified comparer and returns the zero-based index of the element.
The to locate. The value can be .
The implementation to use when comparing elements.
-or-
to use the default comparer that is the implementation of each element.
is and neither nor the elements of implement the interface.
is and is not of the same type as the elements of the .
The zero-based index of in the sorted , if is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than or, if there is no larger element, the bitwise complement of .
Searches the entire sorted for an element using the default comparer and returns the zero-based index of the element.
The to locate. The value can be .
Neither nor the elements of implement the interface.
is not of the same type as the elements of the .
The zero-based index of in the sorted , if is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than or, if there is no larger element, the bitwise complement of .
Removes all elements from the .
The is read-only.
-or-
The has a fixed size.
Creates a shallow copy of the .
A shallow copy of the .
Determines whether an element is in the .
The to locate in the . The value can be .
if is found in the ; otherwise, .
Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
The number of elements in the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
Copies the entire to a compatible one-dimensional , starting at the beginning of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
is .
is multidimensional.
-or-
The number of elements in the source is greater than the number of elements that the destination can contain.
The type of the source cannot be cast automatically to the type of the destination .
Copies a range of elements from the to a compatible one-dimensional , starting at the specified index of the target array.
The zero-based index in the source at which copying begins.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
The number of elements to copy.
is .
is less than zero.
-or-
is less than zero.
-or-
is less than zero.
is multidimensional.
-or-
is equal to or greater than the of the source .
-or-
The number of elements from to the end of the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
Returns an wrapper with a fixed size.
The to wrap.
is .
An wrapper with a fixed size.
Returns an wrapper with a fixed size.
The to wrap.
is .
An wrapper with a fixed size.
Returns an enumerator for the entire .
An for the entire .
Returns an enumerator for a range of elements in the .
The zero-based starting index of the section that the enumerator should refer to.
The number of elements in the section that the enumerator should refer to.
is less than zero.
-or-
is less than zero.
and do not specify a valid range in the .
An for the specified range of elements in the .
Returns an that represents a subset of the elements in the source .
The zero-based index at which the range starts.
The number of elements in the range.
is less than zero.
-or-
is less than zero.
and do not denote a valid range of elements in the .
An that represents a subset of the elements in the source .
Searches for the specified and returns the zero-based index of the first occurrence within the range of elements in the that starts at the specified index and contains the specified number of elements.
The to locate in the . The value can be .
The zero-based starting index of the search. 0 (zero) is valid in an empty list.
The number of elements in the section to search.
is outside the range of valid indexes for the .
-or-
is less than zero.
-or-
and do not specify a valid section in the .
The zero-based index of the first occurrence of within the range of elements in the that starts at and contains number of elements, if found; otherwise, -1.
Searches for the specified and returns the zero-based index of the first occurrence within the range of elements in the that extends from the specified index to the last element.
The to locate in the . The value can be .
The zero-based starting index of the search. 0 (zero) is valid in an empty list.
is outside the range of valid indexes for the .
The zero-based index of the first occurrence of within the range of elements in the that extends from to the last element, if found; otherwise, -1.
Searches for the specified and returns the zero-based index of the first occurrence within the entire .
The to locate in the . The value can be .
The zero-based index of the first occurrence of within the entire , if found; otherwise, -1.
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The to insert. The value can be .
is less than zero.
-or-
is greater than .
The is read-only.
-or-
The has a fixed size.
Inserts the elements of a collection into the at the specified index.
The zero-based index at which the new elements should be inserted.
The whose elements should be inserted into the . The collection itself cannot be , but it can contain elements that are .
is .
is less than zero.
-or-
is greater than .
The is read-only.
-or-
The has a fixed size.
Searches for the specified and returns the zero-based index of the last occurrence within the range of elements in the that contains the specified number of elements and ends at the specified index.
The to locate in the . The value can be .
The zero-based starting index of the backward search.
The number of elements in the section to search.
is outside the range of valid indexes for the .
-or-
is less than zero.
-or-
and do not specify a valid section in the .
The zero-based index of the last occurrence of within the range of elements in the that contains number of elements and ends at , if found; otherwise, -1.
Searches for the specified and returns the zero-based index of the last occurrence within the range of elements in the that extends from the first element to the specified index.
The to locate in the . The value can be .
The zero-based starting index of the backward search.
is outside the range of valid indexes for the .
The zero-based index of the last occurrence of within the range of elements in the that extends from the first element to , if found; otherwise, -1.
Searches for the specified and returns the zero-based index of the last occurrence within the entire .
The to locate in the . The value can be .
The zero-based index of the last occurrence of within the entire the , if found; otherwise, -1.
Returns a read-only wrapper.
The to wrap.
is .
A read-only wrapper around .
Returns a read-only wrapper.
The to wrap.
is .
A read-only wrapper around .
Removes the first occurrence of a specific object from the .
The to remove from the . The value can be .
The is read-only.
-or-
The has a fixed size.
Removes the element at the specified index of the .
The zero-based index of the element to remove.
is less than zero.
-or-
is equal to or greater than .
The is read-only.
-or-
The has a fixed size.
Removes a range of elements from the .
The zero-based starting index of the range of elements to remove.
The number of elements to remove.
is less than zero.
-or-
is less than zero.
and do not denote a valid range of elements in the .
The is read-only.
-or-
The has a fixed size.
Returns an whose elements are copies of the specified value.
The to copy multiple times in the new . The value can be .
The number of times should be copied.
is less than zero.
An with number of elements, all of which are copies of .
Reverses the order of the elements in the entire .
The is read-only.
Reverses the order of the elements in the specified range.
The zero-based starting index of the range to reverse.
The number of elements in the range to reverse.
is less than zero.
-or-
is less than zero.
and do not denote a valid range of elements in the .
The is read-only.
Copies the elements of a collection over a range of elements in the .
The zero-based index at which to start copying the elements of .
The whose elements to copy to the . The collection itself cannot be , but it can contain elements that are .
is less than zero.
-or-
plus the number of elements in is greater than .
is .
The is read-only.
Sorts the elements in the entire .
The is read-only.
Sorts the elements in the entire using the specified comparer.
The implementation to use when comparing elements.
-or-
A null reference ( in Visual Basic) to use the implementation of each element.
The is read-only.
An error occurred while comparing two elements.
is passed for , and the elements in the list do not implement .
Sorts the elements in a range of elements in using the specified comparer.
The zero-based starting index of the range to sort.
The length of the range to sort.
The implementation to use when comparing elements.
-or-
A null reference ( in Visual Basic) to use the implementation of each element.
is less than zero.
-or-
is less than zero.
and do not specify a valid range in the .
The is read-only.
An error occurred while comparing two elements.
Returns an wrapper that is synchronized (thread safe).
The to synchronize.
is .
An wrapper that is synchronized (thread safe).
Returns an wrapper that is synchronized (thread safe).
The to synchronize.
is .
An wrapper that is synchronized (thread safe).
Copies the elements of the to a new array.
An array containing copies of the elements of the .
Copies the elements of the to a new array of the specified element type.
The element of the destination array to create and copy elements to.
is .
The type of the source cannot be cast automatically to the specified type.
An array of the specified element type containing copies of the elements of the .
Sets the capacity to the actual number of elements in the .
The is read-only.
-or-
The has a fixed size.
Gets or sets the number of elements that the can contain.
is set to a value that is less than .
There is not enough memory available on the system.
The number of elements that the can contain.
Gets the number of elements actually contained in the .
The number of elements actually contained in the .
Gets a value indicating whether the has a fixed size.
if the has a fixed size; otherwise, . The default is .
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, . The default is .
Gets a value indicating whether access to the is synchronized (thread safe).
if access to the is synchronized (thread safe); otherwise, . The default is .
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is less than zero.
-or-
is equal to or greater than .
The element at the specified index.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Compares two objects for equivalence, where string comparisons are case-sensitive.
Represents an instance of that is associated with the of the current thread. This field is read-only.
Represents an instance of that is associated with . This field is read-only.
Initializes a new instance of the class using the specified .
The to use for the new .
is .
Performs a case-sensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.
The first object to compare.
The second object to compare.
Neither nor implements the interface.
-or-
and are of different types and neither one can handle comparisons with the other.
A signed integer that indicates the relative values of and , as shown in the following table.
Value Meaning- Less than zero is less than .
- Zero equals .
- Greater than zero is greater than .
Populates a object with the data required for serialization.
The object to populate with data.
The context information about the source or destination of the serialization.
is .
Defines a dictionary key/value pair that can be set or retrieved.
Initializes an instance of the type with the specified key and value.
The object defined in each key/value pair.
The definition associated with .
is and the .NET Framework version is 1.0 or 1.1.
Deconstructs the current .
The key of the current .
The value of the current .
Gets or sets the key in the key/value pair.
The key in the key/value pair.
Gets or sets the value in the key/value pair.
The value in the key/value pair.
Implemented by an to support comparing a instance with a instance.
The alternate type to compare.
The type to compare.
Creates a that is considered by to be equal to the specified .
The instance of type for which an equal is required.
A considered equal to the specified .
Determines whether the specified equals the specified .
The instance of type to compare.
The instance of type to compare.
if the specified instances are equal; otherwise, .
Returns a hash code for the specified alternate instance.
The instance of type for which to get a hash code.
A hash code for the specified instance.
Exposes an enumerator that provides asynchronous iteration over values of a specified type.
The type of values to enumerate.
Returns an enumerator that iterates asynchronously through the collection.
A that may be used to cancel the asynchronous iteration.
An enumerator that can be used to iterate asynchronously through the collection.
Supports a simple asynchronous iteration over a generic collection.
The type of objects to enumerate.
Advances the enumerator asynchronously to the next element of the collection.
A that will complete with a result of true if the enumerator
was successfully advanced to the next element, or false if the enumerator has passed the end
of the collection.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Defines methods to manipulate generic collections.
The type of the elements in the collection.
Adds an item to the .
The object to add to the .
The is read-only.
Removes all items from the .
The is read-only.
Determines whether the contains a specific value.
The object to locate in the .
if is found in the ; otherwise, .
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
The number of elements in the source is greater than the available space from to the end of the destination .
Removes the first occurrence of a specific object from the .
The object to remove from the .
The is read-only.
if was successfully removed from the ; otherwise, . This method also returns if is not found in the original .
Gets the number of elements contained in the .
The number of elements contained in the .
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, .
Defines a method that a type implements to compare two objects.
The type of objects to compare.
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
The first object to compare.
The second object to compare.
A signed integer that indicates the relative values of and , as shown in the following table.
Value Meaning- Less than zero is less than .
- Zero equals .
- Greater than zero is greater than .
Represents a generic collection of key/value pairs.
The type of keys in the dictionary.
The type of values in the dictionary.
Adds an element with the provided key and value to the .
The object to use as the key of the element to add.
The object to use as the value of the element to add.
is .
An element with the same key already exists in the .
The is read-only.
Determines whether the contains an element with the specified key.
The key to locate in the .
is .
if the contains an element with the key; otherwise, .
Removes the element with the specified key from the .
The key of the element to remove.
is .
The is read-only.
if the element is successfully removed; otherwise, . This method also returns if was not found in the original .
Gets the value associated with the specified key.
The key whose value to get.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
is .
if the object that implements contains an element with the specified key; otherwise, .
Gets or sets the element with the specified key.
The key of the element to get or set.
is .
The property is retrieved and is not found.
The property is set and the is read-only.
The element with the specified key.
Gets an containing the keys of the .
An containing the keys of the object that implements .
Gets an containing the values in the .
An containing the values in the object that implements .
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
The type of objects to enumerate.
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Supports a simple iteration over a generic collection.
The type of objects to enumerate.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Defines methods to support the comparison of objects for equality.
The type of objects to compare.
Determines whether the specified objects are equal.
The first object of type to compare.
The second object of type to compare.
if the specified objects are equal; otherwise, .
Returns a hash code for the specified object.
The for which a hash code is to be returned.
The type of is a reference type and is .
A hash code for the specified object.
Represents a collection of objects that can be individually accessed by index.
The type of elements in the list.
Determines the index of a specific item in the .
The object to locate in the .
The index of if found in the list; otherwise, -1.
Inserts an item to the at the specified index.
The zero-based index at which should be inserted.
The object to insert into the .
is not a valid index in the .
The is read-only.
Removes the item at the specified index.
The zero-based index of the item to remove.
is not a valid index in the .
The is read-only.
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The property is set and the is read-only.
The element at the specified index.
Represents a strongly-typed, read-only collection of elements.
The type of the elements.
Gets the number of elements in the collection.
The number of elements in the collection.
Represents a generic read-only collection of key/value pairs.
The type of keys in the read-only dictionary.
The type of values in the read-only dictionary.
Determines whether the read-only dictionary contains an element that has the specified key.
The key to locate.
is .
if the read-only dictionary contains an element that has the specified key; otherwise, .
Gets the value that is associated with the specified key.
The key to locate.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
is .
if the object that implements the interface contains an element that has the specified key; otherwise, .
Gets the element that has the specified key in the read-only dictionary.
The key to locate.
is .
The property is retrieved and is not found.
The element that has the specified key in the read-only dictionary.
Gets an enumerable collection that contains the keys in the read-only dictionary.
An enumerable collection that contains the keys in the read-only dictionary.
Gets an enumerable collection that contains the values in the read-only dictionary.
An enumerable collection that contains the values in the read-only dictionary.
Represents a read-only collection of elements that can be accessed by index.
The type of elements in the read-only list.
Gets the element at the specified index in the read-only list.
The zero-based index of the element to get.
The element at the specified index in the read-only list.
Provides a readonly abstraction of a set.
The type of elements in the set.
Determines if the set contains a specific item.
The item to check if the set contains.
if found; otherwise .
Determines whether the current set is a proper (strict) subset of a specified collection.
The collection to compare to the current set.
is .
if the current set is a proper subset of other; otherwise .
Determines whether the current set is a proper (strict) superset of a specified collection.
The collection to compare to the current set.
is .
if the collection is a proper superset of other; otherwise .
Determine whether the current set is a subset of a specified collection.
The collection to compare to the current set.
is .
if the current set is a subset of other; otherwise .
Determine whether the current set is a super set of a specified collection.
The collection to compare to the current set.
is .
if the current set is a super set of other; otherwise .
Determines whether the current set overlaps with the specified collection.
The collection to compare to the current set.
is .
if the current set and other share at least one common element; otherwise, .
Determines whether the current set and the specified collection contain the same elements.
The collection to compare to the current set.
is .
if the current set is equal to other; otherwise, .
Provides the base interface for the abstraction of sets.
The type of elements in the set.
Adds an element to the current set and returns a value to indicate if the element was successfully added.
The element to add to the set.
if the element is added to the set; if the element is already in the set.
Removes all elements in the specified collection from the current set.
The collection of items to remove from the set.
is .
Modifies the current set so that it contains only elements that are also in a specified collection.
The collection to compare to the current set.
is .
Determines whether the current set is a proper (strict) subset of a specified collection.
The collection to compare to the current set.
is .
if the current set is a proper subset of ; otherwise, .
Determines whether the current set is a proper (strict) superset of a specified collection.
The collection to compare to the current set.
is .
if the current set is a proper superset of ; otherwise, .
Determines whether a set is a subset of a specified collection.
The collection to compare to the current set.
is .
if the current set is a subset of ; otherwise, .
Determines whether the current set is a superset of a specified collection.
The collection to compare to the current set.
is .
if the current set is a superset of ; otherwise, .
Determines whether the current set overlaps with the specified collection.
The collection to compare to the current set.
is .
if the current set and share at least one common element; otherwise, .
Determines whether the current set and the specified collection contain the same elements.
The collection to compare to the current set.
is .
if the current set is equal to ; otherwise, .
Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.
The collection to compare to the current set.
is .
Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.
The collection to compare to the current set.
is .
The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection.
Initializes a new instance of the class using default property values.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with the specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified error message.
The message that describes the error.
Creates instances of the struct.
Creates a new key/value pair instance using provided values.
The key of the new to be created.
The value of the new to be created.
The type of the key.
The type of the value.
A key/value pair containing the provided arguments as values.
Defines a key/value pair that can be set or retrieved.
The type of the key.
The type of the value.
Initializes a new instance of the structure with the specified key and value.
The object defined in each key/value pair.
The definition associated with .
Deconstructs the current .
The key of the current .
The value of the current .
Returns a string representation of the , using the string representations of the key and value.
A string representation of the , which includes the string representations of the key and value.
Gets the key in the key/value pair.
A that is the key of the .
Gets the value in the key/value pair.
A that is the value of the .
Represents a collection of key/value pairs that are organized based on the hash code of the key.
Initializes a new, empty instance of the class using the default initial capacity, load factor, hash code provider, and comparer.
Initializes a new instance of the class by copying the elements from the specified dictionary to a new object. The new object has an initial capacity equal to the number of elements copied, and uses the default load factor and the specified object.
The object to copy to a new object.
The object that defines the hash code provider and the comparer to use with the .
-or-
to use the default hash code provider and the default comparer. The default hash code provider is each key's implementation of and the default comparer is each key's implementation of .
is .
Initializes a new instance of the class by copying the elements from the specified dictionary to the new object. The new object has an initial capacity equal to the number of elements copied, and uses the default load factor, and the specified hash code provider and comparer. This API is obsolete. For an alternative, see .
The object to copy to a new object.
The object that supplies the hash codes for all keys in the .
-or-
to use the default hash code provider, which is each key's implementation of .
The object to use to determine whether two keys are equal.
-or-
to use the default comparer, which is each key's implementation of .
is .
Initializes a new instance of the class by copying the elements from the specified dictionary to the new object. The new object has an initial capacity equal to the number of elements copied, and uses the specified load factor and object.
The object to copy to a new object.
A number in the range from 0.1 through 1.0 that is multiplied by the default value that provides the best performance. The result is the maximum ratio of elements to buckets.
The object that defines the hash code provider and the comparer to use with the .
-or-
to use the default hash code provider and the default comparer. The default hash code provider is each key's implementation of and the default comparer is each key's implementation of .
is .
is less than 0.1.
-or-
is greater than 1.0.
Initializes a new instance of the class by copying the elements from the specified dictionary to the new object. The new object has an initial capacity equal to the number of elements copied, and uses the specified load factor, hash code provider, and comparer.
The object to copy to a new object.
A number in the range from 0.1 through 1.0 that is multiplied by the default value that provides the best performance. The result is the maximum ratio of elements to buckets.
The object that supplies the hash codes for all keys in the .
-or-
to use the default hash code provider, which is each key's implementation of .
The object to use to determine whether two keys are equal.
-or-
to use the default comparer, which is each key's implementation of .
is .
is less than 0.1.
-or-
is greater than 1.0.
Initializes a new instance of the class by copying the elements from the specified dictionary to the new object. The new object has an initial capacity equal to the number of elements copied, and uses the specified load factor, and the default hash code provider and comparer.
The object to copy to a new object.
A number in the range from 0.1 through 1.0 that is multiplied by the default value that provides the best performance. The result is the maximum ratio of elements to buckets.
is .
is less than 0.1.
-or-
is greater than 1.0.
Initializes a new instance of the class by copying the elements from the specified dictionary to the new object. The new object has an initial capacity equal to the number of elements copied, and uses the default load factor, hash code provider, and comparer.
The object to copy to a new object.
is .
Initializes a new, empty instance of the class using the default initial capacity and load factor, and the specified object.
The object that defines the hash code provider and the comparer to use with the object.
-or-
to use the default hash code provider and the default comparer. The default hash code provider is each key's implementation of and the default comparer is each key's implementation of .
Initializes a new, empty instance of the class using the default initial capacity and load factor, and the specified hash code provider and comparer.
The object that supplies the hash codes for all keys in the object.
-or-
to use the default hash code provider, which is each key's implementation of .
The object to use to determine whether two keys are equal.
-or-
to use the default comparer, which is each key's implementation of .
Initializes a new, empty instance of the class using the specified initial capacity and , and the default load factor.
The approximate number of elements that the object can initially contain.
The object that defines the hash code provider and the comparer to use with the .
-or-
to use the default hash code provider and the default comparer. The default hash code provider is each key's implementation of and the default comparer is each key's implementation of .
is less than zero.
Initializes a new, empty instance of the class using the specified initial capacity, hash code provider, comparer, and the default load factor.
The approximate number of elements that the object can initially contain.
The object that supplies the hash codes for all keys in the .
-or-
to use the default hash code provider, which is each key's implementation of .
The object to use to determine whether two keys are equal.
-or-
to use the default comparer, which is each key's implementation of .
is less than zero.
Initializes a new, empty instance of the class using the specified initial capacity, load factor, and object.
The approximate number of elements that the object can initially contain.
A number in the range from 0.1 through 1.0 that is multiplied by the default value that provides the best performance. The result is the maximum ratio of elements to buckets.
The object that defines the hash code provider and the comparer to use with the .
-or-
to use the default hash code provider and the default comparer. The default hash code provider is each key's implementation of and the default comparer is each key's implementation of .
is less than zero.
-or-
is less than 0.1.
-or-
is greater than 1.0.
Initializes a new, empty instance of the class using the specified initial capacity, load factor, hash code provider, and comparer.
The approximate number of elements that the object can initially contain.
A number in the range from 0.1 through 1.0 that is multiplied by the default value that provides the best performance. The result is the maximum ratio of elements to buckets.
The object that supplies the hash codes for all keys in the .
-or-
to use the default hash code provider, which is each key's implementation of .
The object to use to determine whether two keys are equal.
-or-
to use the default comparer, which is each key's implementation of .
is less than zero.
-or-
is less than 0.1.
-or-
is greater than 1.0.
Initializes a new, empty instance of the class using the specified initial capacity and load factor, and the default hash code provider and comparer.
The approximate number of elements that the object can initially contain.
A number in the range from 0.1 through 1.0 that is multiplied by the default value that provides the best performance. The result is the maximum ratio of elements to buckets.
is less than zero.
-or-
is less than 0.1.
-or-
is greater than 1.0.
is causing an overflow.
Initializes a new, empty instance of the class using the specified initial capacity, and the default load factor, hash code provider, and comparer.
The approximate number of elements that the object can initially contain.
is less than zero.
Initializes a new, empty instance of the class that is serializable using the specified and objects.
A object containing the information required to serialize the object.
A object containing the source and destination of the serialized stream associated with the .
is .
Adds an element with the specified key and value into the .
The key of the element to add.
The value of the element to add. The value can be .
is .
An element with the same key already exists in the .
The is read-only.
-or-
The has a fixed size.
Removes all elements from the .
The is read-only.
Creates a shallow copy of the .
A shallow copy of the .
Determines whether the contains a specific key.
The key to locate in the .
is .
if the contains an element with the specified key; otherwise, .
Determines whether the contains a specific key.
The key to locate in the .
is .
if the contains an element with the specified key; otherwise, .
Determines whether the contains a specific value.
The value to locate in the . The value can be .
if the contains an element with the specified ; otherwise, .
Copies the elements to a one-dimensional instance at the specified index.
The one-dimensional that is the destination of the objects copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
The number of elements in the source is greater than the available space from to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
Returns an that iterates through the .
An for the .
Returns the hash code for the specified key.
The for which a hash code is to be returned.
is .
The hash code for .
Implements the interface and returns the data needed to serialize the .
A object containing the information required to serialize the .
A object containing the source and destination of the serialized stream associated with the .
is .
The collection was modified.
Compares a specific with a specific key in the .
The to compare with .
The key in the to compare with .
is .
-or-
is .
if and are equal; otherwise, .
Implements the interface and raises the deserialization event when the deserialization is complete.
The source of the deserialization event.
The object associated with the current is invalid.
Removes the element with the specified key from the .
The key of the element to remove.
is .
The is read-only.
-or-
The has a fixed size.
Returns a synchronized (thread-safe) wrapper for the .
The to synchronize.
is .
A synchronized (thread-safe) wrapper for the .
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Gets or sets the to use for the .
The property is set to a value, but the hash table was created using an .
The to use for the .
Gets the number of key/value pairs contained in the .
The number of key/value pairs contained in the .
Gets the to use for the .
The property is set to a value, but the hash table was created using an and an .
The to use for the .
Gets or sets the object that can dispense hash codes.
The property is set to a value, but the hash table was created using an .
The object that can dispense hash codes.
Gets a value indicating whether the has a fixed size.
if the has a fixed size; otherwise, . The default is .
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, . The default is .
Gets a value indicating whether access to the is synchronized (thread safe).
if access to the is synchronized (thread safe); otherwise, . The default is .
Gets or sets the value associated with the specified key.
The key whose value to get or set.
is .
The property is set and the is read-only.
-or-
The property is set, does not exist in the collection, and the has a fixed size.
The value associated with the specified key. If the specified key is not found, attempting to get it returns , and attempting to set it creates a new element using the specified key.
Gets an containing the keys in the .
An containing the keys in the .
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Gets an containing the values in the .
An containing the values in the .
Defines size, enumerators, and synchronization methods for all nongeneric collections.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
The number of elements in the source is greater than the available space from to the end of the destination .
-or-
The type of the source cannot be cast automatically to the type of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .
Gets a value indicating whether access to the is synchronized (thread safe).
if access to the is synchronized (thread safe); otherwise, .
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Exposes a method that compares two objects.
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
The first object to compare.
The second object to compare.
Neither nor implements the interface.
-or-
and are of different types and neither one can handle comparisons with the other.
A signed integer that indicates the relative values of and :
- If less than 0, is less than .
- If 0, equals .
- If greater than 0, is greater than .
Represents a nongeneric collection of key/value pairs.
Adds an element with the provided key and value to the object.
The to use as the key of the element to add.
The to use as the value of the element to add.
is .
An element with the same key already exists in the object.
The is read-only.
-or-
The has a fixed size.
Removes all elements from the object.
The object is read-only.
Determines whether the object contains an element with the specified key.
The key to locate in the object.
is .
if the contains an element with the key; otherwise, .
Returns an object for the object.
An object for the object.
Removes the element with the specified key from the object.
The key of the element to remove.
is .
The object is read-only.
-or-
The has a fixed size.
Gets a value indicating whether the object has a fixed size.
if the object has a fixed size; otherwise, .
Gets a value indicating whether the object is read-only.
if the object is read-only; otherwise, .
Gets or sets the element with the specified key.
The key of the element to get or set.
is .
The property is set and the object is read-only.
-or-
The property is set, does not exist in the collection, and the has a fixed size.
The element with the specified key, or if the key does not exist.
Gets an object containing the keys of the object.
An object containing the keys of the object.
Gets an object containing the values in the object.
An object containing the values in the object.
Enumerates the elements of a nongeneric dictionary.
Gets both the key and the value of the current dictionary entry.
The is positioned before the first entry of the dictionary or after the last entry.
A containing both the key and the value of the current dictionary entry.
Gets the key of the current dictionary entry.
The is positioned before the first entry of the dictionary or after the last entry.
The key of the current element of the enumeration.
Gets the value of the current dictionary entry.
The is positioned before the first entry of the dictionary or after the last entry.
The value of the current element of the enumeration.
Exposes an enumerator, which supports a simple iteration over a non-generic collection.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Supports a simple iteration over a non-generic collection.
Advances the enumerator to the next element of the collection.
The collection was modified after the enumerator was created.
if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
The enumerator does not support being reset.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Defines methods to support the comparison of objects for equality.
Determines whether the specified objects are equal.
The first object to compare.
The second object to compare.
and are of different types and neither one can handle comparisons with the other.
if the specified objects are equal; otherwise, .
Returns a hash code for the specified object.
The for which a hash code is to be returned.
The type of is a reference type and is .
A hash code for the specified object.
Supplies a hash code for an object, using a custom hash function.
Returns a hash code for the specified object.
The for which a hash code is to be returned.
The type of is a reference type and is .
A hash code for the specified object.
Represents a non-generic collection of objects that can be individually accessed by index.
Adds an item to the .
The object to add to the .
The is read-only.
-or-
The has a fixed size.
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.
Removes all items from the .
The is read-only.
Determines whether the contains a specific value.
The object to locate in the .
if the is found in the ; otherwise, .
Determines the index of a specific item in the .
The object to locate in the .
The index of if found in the list; otherwise, -1.
Inserts an item to the at the specified index.
The zero-based index at which should be inserted.
The object to insert into the .
is not a valid index in the .
The is read-only.
-or-
The has a fixed size.
is null reference in the .
Removes the first occurrence of a specific object from the .
The object to remove from the .
The is read-only.
-or-
The has a fixed size.
Removes the item at the specified index.
The zero-based index of the item to remove.
is not a valid index in the .
The is read-only.
-or-
The has a fixed size.
Gets a value indicating whether the has a fixed size.
if the has a fixed size; otherwise, .
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, .
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The property is set and the is read-only.
The element at the specified index.
Supports the structural comparison of collection objects.
Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order.
The object to compare with the current instance.
An object that compares members of the current collection object with the corresponding members of .
This instance and are not the same type.
A signed integer that indicates the relationship of the current collection object to in the sort order:
- If less than 0, the current instance precedes .
- If 0, the current instance and are equal.
- If greater than 0, the current instance follows .
Return value Description- -1 The current instance precedes .
- 0 The current instance and are equal.
- 1 The current instance follows .
Defines methods to support the comparison of objects for structural equality.
Determines whether an object is structurally equal to the current instance.
The object to compare with the current instance.
An object that determines whether the current instance and are equal.
if the two objects are equal; otherwise, .
Returns a hash code for the current instance.
An object that computes the hash code of the current object.
The hash code for the current instance.
Provides the base class for a generic collection.
The type of elements in the collection.
Initializes a new instance of the class that is empty.
Initializes a new instance of the class as a wrapper for the specified list.
The list that is wrapped by the new collection.
is .
Adds an object to the end of the .
The object to be added to the end of the . The value can be for reference types.
Removes all elements from the .
Removes all elements from the .
Determines whether an element is in the .
The object to locate in the . The value can be for reference types.
if is found in the ; otherwise, .
Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Returns an enumerator that iterates through the .
An for the .
Searches for the specified object and returns the zero-based index of the first occurrence within the entire .
The object to locate in the . The value can be for reference types.
The zero-based index of the first occurrence of within the entire , if found; otherwise, -1.
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The object to insert. The value can be for reference types.
is less than zero.
-or-
is greater than .
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The object to insert. The value can be for reference types.
is less than zero.
-or-
is greater than .
Removes the first occurrence of a specific object from the .
The object to remove from the . The value can be for reference types.
if is successfully removed; otherwise, . This method also returns if was not found in the original .
Removes the element at the specified index of the .
The zero-based index of the element to remove.
is less than zero.
-or-
is equal to or greater than .
Removes the element at the specified index of the .
The zero-based index of the element to remove.
is less than zero.
-or-
is equal to or greater than .
Replaces the element at the specified index.
The zero-based index of the element to replace.
The new value for the element at the specified index. The value can be for reference types.
is less than zero.
-or-
is greater than .
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
does not have zero-based indexing.
-or-
The number of elements in the source is greater than the available space from to the end of the destination .
-or-
The type of the source cannot be cast automatically to the type of the destination .
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Adds an item to the .
The to add to the .
is of a type that is not assignable to the .
The position into which the new element was inserted.
Determines whether the contains a specific value.
The to locate in the .
is of a type that is not assignable to the .
if the is found in the ; otherwise, .
Determines the index of a specific item in the .
The to locate in the .
is of a type that is not assignable to the .
The index of if found in the list; otherwise, -1.
Inserts an item into the at the specified index.
The zero-based index at which should be inserted.
The to insert into the .
is not a valid index in the .
is of a type that is not assignable to the .
Removes the first occurrence of a specific object from the .
The to remove from the .
is of a type that is not assignable to the .
Gets the number of elements actually contained in the .
The number of elements actually contained in the .
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is less than zero.
-or-
is equal to or greater than .
The element at the specified index.
Gets a wrapper around the .
A wrapper around the .
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, . In the default implementation of , this property always returns .
Gets a value indicating whether access to the is synchronized (thread safe).
if access to the is synchronized (thread safe); otherwise, . In the default implementation of , this property always returns .
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Gets a value indicating whether the has a fixed size.
if the has a fixed size; otherwise, . In the default implementation of , this property always returns .
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, . In the default implementation of , this property always returns .
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The property is set and the value is of a type that is not assignable to the .
The element at the specified index.
Provides static methods for read-only collections.
Creates a new from the specified span of values.
This method (simplifies collection initialization)[https://learn.microsoft.com/dotnet/csharp/language-reference/operators/collection-expressions] to create a new with the specified values.
The span of values to include in the collection.
The type of elements in the collection.
A new containing the specified values.
Creates a new from the specified span of values.
This method (simplifies collection initialization)[https://learn.microsoft.com/dotnet/csharp/language-reference/operators/collection-expressions] to create a new with the specified values.
The span of values to include in the collection.
The type of elements in the collection.
A new containing the specified values.
Provides the base class for a generic read-only collection.
The type of elements in the collection.
Initializes a new instance of the class that is a read-only wrapper around the specified list.
The list to wrap.
is .
Determines whether an element is in the .
The object to locate in the . The value can be for reference types.
if is found in the ; otherwise, .
Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Returns an enumerator that iterates through the .
An for the .
Searches for the specified object and returns the zero-based index of the first occurrence within the entire .
The object to locate in the . The value can be for reference types.
The zero-based index of the first occurrence of within the entire , if found; otherwise, -1.
Adds an item to the . This implementation always throws .
The object to add to the .
Always thrown.
Removes all items from the . This implementation always throws .
Always thrown.
Removes the first occurrence of a specific object from the . This implementation always throws .
The object to remove from the .
Always thrown.
if was successfully removed from the ; otherwise, .
Inserts an item to the at the specified index. This implementation always throws .
The zero-based index at which should be inserted.
The object to insert into the .
Always thrown.
Removes the item at the specified index. This implementation always throws .
The zero-based index of the item to remove.
Always thrown.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
does not have zero-based indexing.
-or-
The number of elements in the source is greater than the available space from to the end of the destination .
-or-
The type of the source cannot be cast automatically to the type of the destination .
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Adds an item to the . This implementation always throws .
The to add to the .
Always thrown.
The position into which the new element was inserted.
Removes all items from the . This implementation always throws .
Always thrown.
Determines whether the contains a specific value.
The to locate in the .
is not of the type specified for the generic type parameter .
if the is found in the ; otherwise, .
Determines the index of a specific item in the .
The to locate in the .
is not of the type specified for the generic type parameter .
The index of if found in the list; otherwise, -1.
Inserts an item to the at the specified index. This implementation always throws .
The zero-based index at which should be inserted.
The to insert into the .
Always thrown.
Removes the first occurrence of a specific object from the . This implementation always throws .
The to remove from the .
Always thrown.
Removes the item at the specified index. This implementation always throws .
The zero-based index of the item to remove.
Always thrown.
Gets the number of elements contained in the instance.
The number of elements contained in the instance.
Gets an empty .
An empty .
Gets the element at the specified index.
The zero-based index of the element to get.
is less than zero.
-or-
is equal to or greater than .
The element at the specified index.
Returns the that the wraps.
The that the wraps.
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, . In the default implementation of , this property always returns .
Gets the element at the specified index. An occurs if you try to set the item at the specified index.
The zero-based index of the element to get.
Always thrown if the property is set.
The element at the specified index.
Gets a value indicating whether access to the is synchronized (thread safe).
if access to the is synchronized (thread safe); otherwise, . In the default implementation of , this property always returns .
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Gets a value indicating whether the has a fixed size.
if the has a fixed size; otherwise, . In the default implementation of , this property always returns .
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, . In the default implementation of , this property always returns .
Gets the element at the specified index. A occurs if you try to set the item at the specified index.
The zero-based index of the element to get.
is not a valid index in the .
Always thrown if the property is set.
The element at the specified index.
Represents a read-only, generic collection of key/value pairs.
The type of keys in the dictionary.
The type of values in the dictionary.
Initializes a new instance of the class that is a wrapper around the specified dictionary.
The dictionary to wrap.
is .
Determines whether the dictionary contains an element that has the specified key.
The key to locate in the dictionary.
if the dictionary contains an element that has the specified key; otherwise, .
Returns an enumerator that iterates through the .
An enumerator that can be used to iterate through the collection.
Throws a exception in all cases.
The object to add to the dictionary.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the dictionary contains a specific value.
The object to locate in the dictionary.
if is found in the dictionary; otherwise, .
Copies the elements of the dictionary to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
is multidimensional.
-or-
The number of elements in the source dictionary is greater than the available space from to the end of the destination .
-or-
Type cannot be cast automatically to the type of the destination .
Throws a exception in all cases.
The object to remove from the dictionary.
In all cases.
Throws a exception in all cases.
Throws a exception in all cases.
The object to use as the key of the element to add.
The object to use as the value of the element to add.
In all cases.
Throws a exception in all cases.
The key of the element to remove.
In all cases.
Throws a exception in all cases.
Copies the elements of the dictionary to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
The number of elements in the source dictionary is greater than the available space from to the end of the destination .
-or-
The type of the source dictionary cannot be cast automatically to the type of the destination .
Throws a exception in all cases.
The key of the element to add.
The value of the element to add.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the dictionary contains an element that has the specified key.
The key to locate in the dictionary.
is .
if the dictionary contains an element that has the specified key; otherwise, .
Returns an enumerator for the dictionary.
An enumerator for the dictionary.
Throws a exception in all cases.
The key of the element to remove.
In all cases.
Returns an enumerator that iterates through a collection.
An enumerator that can be used to iterate through the collection.
Retrieves the value that is associated with the specified key.
The key whose value will be retrieved.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
if the object that implements contains an element with the specified key; otherwise, .
Gets the number of items in the dictionary.
The number of items in the dictionary.
Gets the dictionary that is wrapped by this object.
The dictionary that is wrapped by this object.
Gets an empty .
An empty .
Gets the element that has the specified key.
The key of the element to get.
is .
The property is retrieved and is not found.
The element that has the specified key.
Gets a key collection that contains the keys of the dictionary.
A key collection that contains the keys of the dictionary.
Gets a value that indicates whether the dictionary is read-only.
Always returns to indicate the dictionary is read-only.
Gets the element that has the specified key.
The key of the element to get or set.
is .
The property is retrieved and is not found.
The property is set.
The element that has the specified key.
Gets a collection that contains the keys of the dictionary.
A collection that contains the keys of the object that implements .
Gets a collection that contains the values in the dictionary.
A collection that contains the values in the object that implements .
Gets an enumerable collection that contains the keys in the read-only dictionary.
An enumerable collection that contains the keys in the read-only dictionary.
Gets an enumerable collection that contains the values in the read-only dictionary.
An enumerable collection that contains the values in the read-only dictionary.
Gets a value that indicates whether access to the dictionary is synchronized (thread safe).
if access to the dictionary is synchronized (thread safe); otherwise, .
Gets an object that can be used to synchronize access to the dictionary.
An object that can be used to synchronize access to the dictionary.
Gets a value that indicates whether the dictionary has a fixed size.
if the dictionary has a fixed size; otherwise, .
Gets a value that indicates whether the dictionary is read-only.
in all cases.
Gets the element that has the specified key.
The key of the element to get or set.
is .
The property is set.
-or-
The property is set, does not exist in the collection, and the dictionary has a fixed size.
The element that has the specified key.
Gets a collection that contains the keys of the dictionary.
A collection that contains the keys of the dictionary.
Gets a collection that contains the values in the dictionary.
A collection that contains the values in the dictionary.
Gets a collection that contains the values in the dictionary.
A collection that contains the values in the object that implements .
Represents a read-only collection of the keys of a object.
Determines whether the contains a specific value.
The object to locate in the .
if is found in the ; otherwise, .
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
is multidimensional.
-or-
The number of elements in the source collection is greater than the available space from to the end of the destination .
-or-
Type cannot be cast automatically to the type of the destination .
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Throws a exception in all cases.
The object to add to the collection.
In all cases.
Throws a exception in all cases.
In all cases.
Throws a exception in all cases.
The object to remove from the collection.
In all cases.
if was successfully removed from the collection; otherwise, . This method also returns if is not found in the original collection.
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
is multidimensional.
-or-
The number of elements in the source collection is greater than the available space from to the end of the destination .
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Gets the number of elements in the collection.
The number of elements in the collection.
Gets a value that indicates whether the dictionary is read-only.
in all cases.
Gets a value that indicates whether access to the collection is synchronized (thread safe).
if access to the collection is synchronized (thread safe); otherwise, .
Gets an object that can be used to synchronize access to the collection.
An object that can be used to synchronize access to the collection.
Represents a read-only collection of the values of a object.
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
is multidimensional.
-or-
The number of elements in the source collection is greater than the available space from to the end of the destination .
-or-
Type cannot be cast automatically to the type of the destination .
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Throws a exception in all cases.
The object to add to the collection.
In all cases.
Throws a exception in all cases.
In all cases.
Determines whether the collection contains a specific value.
The object to locate in the collection.
if is found in the collection; otherwise, .
Throws a exception in all cases.
The object to remove from the collection.
In all cases.
if was successfully removed from the collection; otherwise, . This method also returns if item is not found in the original collection.
Copies the elements of the collection to an array, starting at a specific array index.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
is multidimensional.
-or-
The number of elements in the source collection is greater than the available space from to the end of the destination .
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Gets the number of elements in the collection.
The number of elements in the collection.
Gets a value that indicates whether the collection is read-only.
in all cases.
Gets a value that indicates whether access to the collection is synchronized (thread safe).
if access to the collection is synchronized (thread safe); otherwise, .
Gets an object that can be used to synchronize access to the collection.
An object that can be used to synchronize access to the collection.
Represents a read-only, generic set of values.
The type of values in the set.
Initializes a new instance of the class that is a wrapper around the specified set.
The set to wrap.
Determines whether the contains a specific value.
The object to locate in the .
if is found in the ; otherwise, .
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Determines whether the current set is a proper (strict) subset of a specified collection.
The collection to compare to the current set.
if the current set is a proper subset of other; otherwise .
Determines whether the current set is a proper (strict) superset of a specified collection.
The collection to compare to the current set.
if the collection is a proper superset of other; otherwise .
Determines whether the current set is a subset of a specified collection.
The collection to compare to the current set.
if the current set is a subset of other; otherwise .
Determines whether the current set is a super set of a specified collection.
The collection to compare to the current set.
if the current set is a subset of other; otherwise .
Determines whether the current set overlaps with the specified collection.
The collection to compare to the current set.
if the current set and other share at least one common element; otherwise, .
Determines whether the current set and the specified collection contain the same elements.
The collection to compare to the current set.
if the current set is equal to other; otherwise, .
Adds an item to the .
The object to add to the .
Removes all items from the .
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
Removes the first occurrence of a specific object from the .
The object to remove from the .
if was successfully removed from the ; otherwise, . This method also returns if is not found in the original .
Adds an element to the current set and returns a value to indicate if the element was successfully added.
The element to add to the set.
if the element is added to the set; if the element is already in the set.
Removes all elements in the specified collection from the current set.
The collection of items to remove from the set.
Modifies the current set so that it contains only elements that are also in a specified collection.
The collection to compare to the current set.
Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.
The collection to compare to the current set.
Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.
The collection to compare to the current set.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Gets the number of elements contained in the .
The number of elements contained in the .
Gets an empty .
Gets the set that is wrapped by this object.
Gets a value indicating whether the is read-only.
if the is read-only; otherwise, .
Gets a value indicating whether access to the is synchronized (thread safe).
if access to the is synchronized (thread safe); otherwise, .
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Represents the method that compares two objects of the same type.
The first object to compare.
The second object to compare.
The type of the objects to compare.
A signed integer that indicates the relative values of and , as shown in the following table.
Value Meaning- Less than 0 is less than .
- 0 equals .
- Greater than 0 is greater than .
Specifies the default value for a property.
Initializes a new instance of the class using a value.
A that is the default value.
Initializes a new instance of the class using an 8-bit unsigned integer.
An 8-bit unsigned integer that is the default value.
Initializes a new instance of the class using a Unicode character.
A Unicode character that is the default value.
Initializes a new instance of the class using a double-precision floating point number.
A double-precision floating point number that is the default value.
Initializes a new instance of the class using a 16-bit signed integer.
A 16-bit signed integer that is the default value.
Initializes a new instance of the class using a 32-bit signed integer.
A 32-bit signed integer that is the default value.
Initializes a new instance of the class using a 64-bit signed integer.
A 64-bit signed integer that is the default value.
Initializes a new instance of the class.
An that represents the default value.
Initializes a new instance of the class using a value.
The default signed byte value.
Initializes a new instance of the class using a single-precision floating point number.
A single-precision floating point number that is the default value.
Initializes a new instance of the class using a .
A that is the default value.
Initializes a new instance of the class, converting the specified value to the specified type, and using an invariant culture as the translation context.
A that represents the type to convert the value to.
A that can be converted to the type using the for the type and the U.S. English culture.
Initializes a new instance of the class using a value.
The default unsigned 16-bit integer value.
Initializes a new instance of the class using a value.
The default unsigned integer value.
Initializes a new instance of the class using a value.
The default unsigned long integer value.
Returns whether the value of the given object is equal to the current .
The object to test the value equality of.
if the value of the given object is equal to that of the current; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Sets the default value for the property to which this attribute is bound.
The default value.
Gets the default value of the property this attribute is bound to.
An that represents the default value of the property this attribute is bound to.
Specifies that a class or member is viewable in an editor. This class cannot be inherited.
Initializes a new instance of the class with set to the default state.
Initializes a new instance of the class with an .
The to set to.
Returns whether the value of the given object is equal to the current .
The object to test the value equality of.
if the value of the given object is equal to that of the current; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Gets the browsable state of the property or method.
An that is the browsable state of the property or method.
Specifies the browsable state of a property or method from within an editor.
The property or method is a feature that only advanced users should see. An editor can either show or hide such properties.
The property or method is always browsable from within an editor.
The property or method is never browsable from within an editor.
Specifies all the hash algorithms used for hashing files and for generating the strong name.
Retrieves the MD5 message-digest algorithm. MD5 was developed by Rivest in 1991. It is basically MD4 with safety-belts and while it is slightly slower than MD4, it helps provide more security. The algorithm consists of four distinct rounds, which has a slightly different design from that of MD4. Message-digest size, as well as padding requirements, remain the same.
A mask indicating that there is no hash algorithm. If you specify for a multi-module assembly, the common language runtime defaults to the SHA-1 algorithm, since multi-module assemblies need to generate a hash. Due to collision problems with SHA-1, Microsoft recommends SHA-256.
A mask used to retrieve a revision of the Secure Hash Algorithm that corrects an unpublished flaw in SHA.
A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 256 bits.
A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 384 bits.
A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 512 bits.
Defines the different types of assembly version compatibility.
The assembly cannot execute with other versions if they are executing in the same application domain.
The assembly cannot execute with other versions if they are executing on the same machine.
The assembly cannot execute with other versions if they are executing in the same process.
Defines the base class for all context-bound classes.
Instantiates an instance of the class.
The exception that is thrown when an attempt to marshal an object across a context boundary fails.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Indicates that the value of a static field is unique for a particular context.
Initializes a new instance of the class.
Converts a base data type to another base data type.
A constant that represents a database column that is absent of data; that is, database null.
Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
An object that implements the interface.
The type of object to return.
An object that supplies culture-specific formatting information.
This conversion is not supported.
-or-
is and is a value type.
-or-
does not implement the interface.
is not in a format for recognized by .
represents a number that is out of the range of .
is .
An object whose type is and whose value is equivalent to .
-or-
, if the of and are equal.
-or-
A null reference ( in Visual Basic), if is and is not a value type.
Returns an object of the specified type and whose value is equivalent to the specified object.
An object that implements the interface.
The type of object to return.
This conversion is not supported.
-or-
is and is a value type.
-or-
does not implement the interface.
is not in a format recognized by .
represents a number that is out of the range of .
is .
An object whose type is and whose value is equivalent to .
-or-
A null reference ( in Visual Basic), if is and is not a value type.
Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
An object that implements the interface.
The type of object to return.
An object that supplies culture-specific formatting information.
This conversion is not supported.
-or-
is and specifies a value type.
-or-
does not implement the interface.
is not in a format for the type recognized by .
represents a number that is out of the range of the type.
is invalid.
An object whose underlying type is and whose value is equivalent to .
-or-
A null reference ( in Visual Basic), if is and is , , or .
Returns an object of the specified type whose value is equivalent to the specified object.
An object that implements the interface.
The type of object to return.
This conversion is not supported.
-or-
is and specifies a value type.
-or-
does not implement the interface.
is not in a format recognized by the type.
represents a number that is out of the range of the type.
is invalid.
An object whose underlying type is and whose value is equivalent to .
-or-
A null reference ( in Visual Basic), if is and is , , or .
Converts a subset of a Unicode character array, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array. Parameters specify the subset in the input array and the number of elements to convert.
A Unicode character array.
A position within .
The number of elements in to convert.
is .
or is less than 0.
-or-
plus indicates a position not within .
The length of , ignoring white-space characters, is not zero or a multiple of 4.
-or-
The format of is invalid. contains a non-base-64 character, more than two padding characters, or a non-white-space character among the padding characters.
An array of 8-bit unsigned integers equivalent to elements at position in .
Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.
The string to convert.
is .
The length of , ignoring white-space characters, is not zero or a multiple of 4.
-or-
The format of is invalid. contains a non-base-64 character, more than two padding characters, or a non-white space-character among the padding characters.
An array of 8-bit unsigned integers that is equivalent to .
Converts the span of UTF-8 chars, which encodes binary data as hex characters, to an equivalent 8-bit unsigned integer span.
The span to convert.
The span in which to write the converted 8-bit unsigned integers.
When this method returns, contains the number of bytes that were consumed from .
When this method returns, contains the number of bytes that were written to .
An describing the result of the operation.
Converts the span, which encodes binary data as hex characters, to an equivalent 8-bit unsigned integer array.
The UTF-8 span to convert.
The length of is not zero or a multiple of two.
The format of is invalid -OR- contains a non-hex character.
An array of 8-bit unsigned integers that is equivalent to .
Converts the span of chars, which encodes binary data as hex characters, to an equivalent 8-bit unsigned integer span.
The span to convert.
The span in which to write the converted 8-bit unsigned integers. When this method returns value different than , either the span remains unmodified or contains an incomplete conversion of , up to the last valid character.
When this method returns, contains the number of characters that were consumed from .
When this method returns, contains the number of bytes that were written to .
An describing the result of the operation.
Converts the span, which encodes binary data as hex characters, to an equivalent 8-bit unsigned integer array.
The span to convert.
The length of , is not zero or a multiple of 2.
The format of is invalid. contains a non-hex character.
An array of 8-bit unsigned integers that is equivalent to .
Converts the string, which encodes binary data as hex characters, to an equivalent 8-bit unsigned integer span.
The string to convert.
The span in which to write the converted 8-bit unsigned integers. When this method returns value different than , either the span remains unmodified or contains an incomplete conversion of , up to the last valid character.
When this method returns, contains the number of characters that were consumed from .
When this method returns, contains the number of bytes that were written to .
Passed string is .
An describing the result of the operation.
Converts the specified string, which encodes binary data as hex characters, to an equivalent 8-bit unsigned integer array.
The string to convert.
is .
The length of , is not zero or a multiple of 2.
The format of is invalid. contains a non-hex character.
An array of 8-bit unsigned integers that is equivalent to .
Returns the for the specified object.
An object that implements the interface.
The for , or if is .
Returns an indication whether the specified object is of type .
An object.
if is of type ; otherwise, .
Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, the number of elements in the input array to convert, and whether line breaks are inserted in the output array.
An input array of 8-bit unsigned integers.
A position within .
The number of elements of to convert.
An output array of Unicode characters.
A position within .
to insert a line break every 76 characters, or to not insert line breaks.
or is .
, , or is negative.
-or-
plus is greater than the length of .
-or-
plus the number of elements to return is greater than the length of .
is not a valid value.
A 32-bit signed integer containing the number of bytes in .
Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, and the number of elements in the input array to convert.
An input array of 8-bit unsigned integers.
A position within .
The number of elements of to convert.
An output array of Unicode characters.
A position within .
or is .
, , or is negative.
-or-
plus is greater than the length of .
-or-
plus the number of elements to return is greater than the length of .
A 32-bit signed integer containing the number of bytes in .
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. You can specify whether to insert line breaks in the return value.
An array of 8-bit unsigned integers.
to insert a line break every 76 characters, or to not insert line breaks.
is .
is not a valid value.
The string representation in base 64 of the elements in .
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, the number of elements in the array to convert, and whether to insert line breaks in the return value.
An array of 8-bit unsigned integers.
An offset in .
The number of elements of to convert.
to insert a line break every 76 characters, or to not insert line breaks.
is .
or is negative.
-or-
plus is greater than the length of .
is not a valid value.
The string representation in base 64 of elements of , starting at position .
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert.
An array of 8-bit unsigned integers.
An offset in .
The number of elements of to convert.
is .
or is negative.
-or-
plus is greater than the length of .
The string representation in base 64 of elements of , starting at position .
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.
An array of 8-bit unsigned integers.
is .
The string representation, in base 64, of the contents of .
Converts the 8-bit unsigned integers inside the specified read-only span into their equivalent string representation that is encoded with base-64 digits. You can optionally specify whether to insert line breaks in the return value.
A read-only span of 8-bit unsigned integers.
One of the enumeration values that specify whether to insert line breaks in the return value. The default value is .
is not a valid value.
The output length was larger than Int32.MaxValue.
The string representation in base 64 of the elements in . If the length of is 0, an empty string is returned.
Returns the specified Boolean value; no actual conversion is performed.
The Boolean value to return.
is returned unchanged.
Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.
The 8-bit unsigned integer to convert.
if is not zero; otherwise, .
Calling this method always throws .
The Unicode character to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent Boolean value.
The number to convert.
if is not zero; otherwise, .
Converts the value of the specified double-precision floating-point number to an equivalent Boolean value.
The double-precision floating-point number to convert.
if is not zero; otherwise, .
Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.
The 16-bit signed integer to convert.
if is not zero; otherwise, .
Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.
The 32-bit signed integer to convert.
if is not zero; otherwise, .
Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.
The 64-bit signed integer to convert.
if is not zero; otherwise, .
Converts the value of the specified object to an equivalent Boolean value, using the specified culture-specific formatting information.
An object that implements the interface, or .
An object that supplies culture-specific formatting information.
is a string that does not equal or .
does not implement the interface.
-or-
The conversion of to a is not supported.
or , which reflects the value returned by invoking the method for the underlying type of . If is , the method returns .
Converts the value of a specified object to an equivalent Boolean value.
An object that implements the interface, or .
is a string that does not equal or .
does not implement the interface.
-or-
The conversion of to a is not supported.
or , which reflects the value returned by invoking the method for the underlying type of . If is , the method returns .
Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.
The 8-bit signed integer to convert.
if is not zero; otherwise, .
Converts the value of the specified single-precision floating-point number to an equivalent Boolean value.
The single-precision floating-point number to convert.
if is not zero; otherwise, .
Converts the specified string representation of a logical value to its Boolean equivalent, using the specified culture-specific formatting information.
A string that contains the value of either or .
An object that supplies culture-specific formatting information. This parameter is ignored.
is not equal to or .
if equals , or if equals or .
Converts the specified string representation of a logical value to its Boolean equivalent.
A string that contains the value of either or .
is not equal to or .
if equals , or if equals or .
Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.
The 16-bit unsigned integer to convert.
if is not zero; otherwise, .
Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.
The 32-bit unsigned integer to convert.
if is not zero; otherwise, .
Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.
The 64-bit unsigned integer to convert.
if is not zero; otherwise, .
Converts the specified Boolean value to the equivalent 8-bit unsigned integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Returns the specified 8-bit unsigned integer; no actual conversion is performed.
The 8-bit unsigned integer to return.
is returned unchanged.
Converts the value of the specified Unicode character to the equivalent 8-bit unsigned integer.
The Unicode character to convert.
represents a number that is greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 8-bit unsigned integer.
The number to convert.
is greater than Byte.MaxValue or less than Byte.MinValue.
, rounded to the nearest 8-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 8-bit unsigned integer.
The double-precision floating-point number to convert.
is greater than Byte.MaxValue or less than Byte.MinValue.
, rounded to the nearest 8-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified 16-bit signed integer to an equivalent 8-bit unsigned integer.
The 16-bit signed integer to convert.
is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent 8-bit unsigned integer.
The 32-bit signed integer to convert.
is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent 8-bit unsigned integer.
The 64-bit signed integer to convert.
is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to .
Converts the value of the specified object to an 8-bit unsigned integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in the property format for a value.
does not implement .
-or-
Conversion from to the type is not supported.
represents a number that is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified object to an 8-bit unsigned integer.
An object that implements the interface, or .
is not in the property format for a value.
does not implement .
-or-
Conversion from to the type is not supported.
represents a number that is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to an equivalent 8-bit unsigned integer.
The 8-bit signed integer to be converted.
is less than Byte.MinValue.
An 8-bit unsigned integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent 8-bit unsigned integer.
A single-precision floating-point number.
is greater than Byte.MaxValue or less than Byte.MinValue.
, rounded to the nearest 8-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 8-bit unsigned integer, using specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to , or zero if is .
Converts the string representation of a number in a specified base to an equivalent 8-bit unsigned integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 unsigned number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a base 10 unsigned number, is prefixed with a negative sign.
-or-
represents a number that is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 8-bit unsigned integer.
A string that contains the number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified 16-bit unsigned integer to an equivalent 8-bit unsigned integer.
The 16-bit unsigned integer to convert.
is greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit unsigned integer.
The 32-bit unsigned integer to convert.
is greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit unsigned integer.
The 64-bit unsigned integer to convert.
is greater than Byte.MaxValue.
An 8-bit unsigned integer that is equivalent to .
Calling this method always throws .
The Boolean value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified 8-bit unsigned integer to its equivalent Unicode character.
The 8-bit unsigned integer to convert.
A Unicode character that is equivalent to .
Returns the specified Unicode character value; no actual conversion is performed.
The Unicode character to return.
is returned unchanged.
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The decimal number to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The double-precision floating-point number to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified 16-bit signed integer to its equivalent Unicode character.
The 16-bit signed integer to convert.
is less than Char.MinValue.
A Unicode character that is equivalent to .
Converts the value of the specified 32-bit signed integer to its equivalent Unicode character.
The 32-bit signed integer to convert.
is less than Char.MinValue or greater than Char.MaxValue.
A Unicode character that is equivalent to .
Converts the value of the specified 64-bit signed integer to its equivalent Unicode character.
The 64-bit signed integer to convert.
is less than Char.MinValue or greater than Char.MaxValue.
A Unicode character that is equivalent to .
Converts the value of the specified object to its equivalent Unicode character, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is a null string.
does not implement the interface.
-or-
The conversion of to a is not supported.
is less than Char.MinValue or greater than Char.MaxValue.
A Unicode character that is equivalent to , or Char.MinValue if is .
Converts the value of the specified object to a Unicode character.
An object that implements the interface.
is a null string.
does not implement the interface.
-or-
The conversion of to a is not supported.
is less than Char.MinValue or greater than Char.MaxValue.
A Unicode character that is equivalent to value, or Char.MinValue if is .
Converts the value of the specified 8-bit signed integer to its equivalent Unicode character.
The 8-bit signed integer to convert.
is less than Char.MinValue.
A Unicode character that is equivalent to .
Calling this method always throws .
The single-precision floating-point number to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the first character of a specified string to a Unicode character, using specified culture-specific formatting information.
A string of length 1 or .
An object that supplies culture-specific formatting information. This parameter is ignored.
is .
The length of is not 1.
A Unicode character that is equivalent to the first and only character in .
Converts the first character of a specified string to a Unicode character.
A string of length 1.
is .
The length of is not 1.
A Unicode character that is equivalent to the first and only character in .
Converts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
The 16-bit unsigned integer to convert.
A Unicode character that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to its equivalent Unicode character.
The 32-bit unsigned integer to convert.
is greater than Char.MaxValue.
A Unicode character that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to its equivalent Unicode character.
The 64-bit unsigned integer to convert.
is greater than Char.MaxValue.
A Unicode character that is equivalent to .
Calling this method always throws .
The Boolean value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The 8-bit unsigned integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The Unicode character to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Returns the specified object; no actual conversion is performed.
A date and time value.
is returned unchanged.
Calling this method always throws .
The number to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The double-precision floating-point value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The 16-bit signed integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The 32-bit signed integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The 64-bit signed integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified object to a object, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not a valid date and time value.
does not implement the interface.
-or-
The conversion is not supported.
The date and time equivalent of the value of , or the date and time equivalent of DateTime.MinValue if is .
Converts the value of the specified object to a object.
An object that implements the interface, or .
is not a valid date and time value.
does not implement the interface.
-or-
The conversion is not supported.
The date and time equivalent of the value of , or a date and time equivalent of DateTime.MinValue if is .
Calling this method always throws .
The 8-bit signed integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The single-precision floating-point value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the specified string representation of a number to an equivalent date and time, using the specified culture-specific formatting information.
A string that contains a date and time to convert.
An object that supplies culture-specific formatting information.
is not a properly formatted date and time string.
The date and time equivalent of the value of , or the date and time equivalent of DateTime.MinValue if is .
Converts the specified string representation of a date and time to an equivalent date and time value.
The string representation of a date and time.
is not a properly formatted date and time string.
The date and time equivalent of the value of , or the date and time equivalent of DateTime.MinValue if is .
Calling this method always throws .
The 16-bit unsigned integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The 32-bit unsigned integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The 64-bit unsigned integer to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the specified Boolean value to the equivalent decimal number.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent decimal number.
The 8-bit unsigned integer to convert.
The decimal number that is equivalent to .
Calling this method always throws .
The Unicode character to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Returns the specified decimal number; no actual conversion is performed.
A decimal number.
is returned unchanged.
Converts the value of the specified double-precision floating-point number to an equivalent decimal number.
The double-precision floating-point number to convert.
is greater than Decimal.MaxValue or less than Decimal.MinValue.
A decimal number that is equivalent to .
Converts the value of the specified 16-bit signed integer to an equivalent decimal number.
The 16-bit signed integer to convert.
A decimal number that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent decimal number.
The 32-bit signed integer to convert.
A decimal number that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent decimal number.
The 64-bit signed integer to convert.
A decimal number that is equivalent to .
Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format for a type.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Decimal.MinValue or greater than Decimal.MaxValue.
A decimal number that is equivalent to , or 0 (zero) if is .
Converts the value of the specified object to an equivalent decimal number.
An object that implements the interface, or .
is not in an appropriate format for a type.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Decimal.MinValue or greater than Decimal.MaxValue.
A decimal number that is equivalent to , or 0 (zero) if is .
Converts the value of the specified 8-bit signed integer to the equivalent decimal number.
The 8-bit signed integer to convert.
A decimal number that is equivalent to .
Converts the value of the specified single-precision floating-point number to the equivalent decimal number.
The single-precision floating-point number to convert.
is greater than Decimal.MaxValue or less than Decimal.MinValue.
A decimal number that is equivalent to .
Converts the specified string representation of a number to an equivalent decimal number, using the specified culture-specific formatting information.
A string that contains a number to convert.
An object that supplies culture-specific formatting information.
is not a number in a valid format.
represents a number that is less than Decimal.MinValue or greater than Decimal.MaxValue.
A decimal number that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent decimal number.
A string that contains a number to convert.
is not a number in a valid format.
represents a number that is less than Decimal.MinValue or greater than Decimal.MaxValue.
A decimal number that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to an equivalent decimal number.
The 16-bit unsigned integer to convert.
The decimal number that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent decimal number.
The 32-bit unsigned integer to convert.
A decimal number that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent decimal number.
The 64-bit unsigned integer to convert.
A decimal number that is equivalent to .
Converts the specified Boolean value to the equivalent double-precision floating-point number.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent double-precision floating-point number.
The 8-bit unsigned integer to convert.
The double-precision floating-point number that is equivalent to .
Calling this method always throws .
The Unicode character to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent double-precision floating-point number.
The decimal number to convert.
A double-precision floating-point number that is equivalent to .
Returns the specified double-precision floating-point number; no actual conversion is performed.
The double-precision floating-point number to return.
is returned unchanged.
Converts the value of the specified 16-bit signed integer to an equivalent double-precision floating-point number.
The 16-bit signed integer to convert.
A double-precision floating-point number equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent double-precision floating-point number.
The 32-bit signed integer to convert.
A double-precision floating-point number that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent double-precision floating-point number.
The 64-bit signed integer to convert.
A double-precision floating-point number that is equivalent to .
Converts the value of the specified object to an double-precision floating-point number, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format for a type.
does not implement the interface.
represents a number that is less than Double.MinValue or greater than Double.MaxValue.
A double-precision floating-point number that is equivalent to , or zero if is .
Converts the value of the specified object to a double-precision floating-point number.
An object that implements the interface, or .
is not in an appropriate format for a type.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Double.MinValue or greater than Double.MaxValue.
A double-precision floating-point number that is equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to the equivalent double-precision floating-point number.
The 8-bit signed integer to convert.
The 8-bit signed integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent double-precision floating-point number.
The single-precision floating-point number.
A double-precision floating-point number that is equivalent to .
Converts the specified string representation of a number to an equivalent double-precision floating-point number, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
is not a number in a valid format.
represents a number that is less than Double.MinValue or greater than Double.MaxValue.
A double-precision floating-point number that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent double-precision floating-point number.
A string that contains the number to convert.
is not a number in a valid format.
represents a number that is less than Double.MinValue or greater than Double.MaxValue.
A double-precision floating-point number that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to the equivalent double-precision floating-point number.
The 16-bit unsigned integer to convert.
A double-precision floating-point number that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent double-precision floating-point number.
The 32-bit unsigned integer to convert.
A double-precision floating-point number that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent double-precision floating-point number.
The 64-bit unsigned integer to convert.
A double-precision floating-point number that is equivalent to .
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with uppercase hex characters.
Parameters specify the subset as an offset in the input array and the number of elements in the array to convert.
An array of 8-bit unsigned integers.
An offset in .
The number of elements of to convert.
is .
or is negative.
plus is greater than the length of .
is too large to be encoded.
The string representation in hex of elements of , starting at position .
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with uppercase hex characters.
An array of 8-bit unsigned integers.
is .
is too large to be encoded.
The string representation in hex of the elements in .
Converts a span of 8-bit unsigned integers to its equivalent string representation that is encoded with uppercase hex characters.
A span of 8-bit unsigned integers.
is too large to be encoded.
The string representation in hex of the elements in .
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.
Parameters specify the subset as an offset in the input array and the number of elements in the array to convert.
An array of 8-bit unsigned integers.
An offset in .
The number of elements of to convert.
is null.
or is negative.
-or-
+ is greater than the length of .
-or-
is too large to be encoded.
The string representation in hex of elements of , starting at position .
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.
An array of 8-bit unsigned integers.
is null.
is too large to be encoded.
The string representation in hex of the elements in .
Converts a span of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.
A span of 8-bit unsigned integers.
is too large to be encoded.
The string representation in hex of the elements in .
Converts the specified Boolean value to the equivalent 16-bit signed integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent 16-bit signed integer.
The 8-bit unsigned integer to convert.
A 16-bit signed integer that is equivalent to .
Converts the value of the specified Unicode character to the equivalent 16-bit signed integer.
The Unicode character to convert.
is greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 16-bit signed integer.
The decimal number to convert.
is greater than Int16.MaxValue or less than Int16.MinValue.
, rounded to the nearest 16-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 16-bit signed integer.
The double-precision floating-point number to convert.
is greater than Int16.MaxValue or less than Int16.MinValue.
, rounded to the nearest 16-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Returns the specified 16-bit signed integer; no actual conversion is performed.
The 16-bit signed integer to return.
is returned unchanged.
Converts the value of the specified 32-bit signed integer to an equivalent 16-bit signed integer.
The 32-bit signed integer to convert.
is greater than Int16.MaxValue or less than Int16.MinValue.
The 16-bit signed integer equivalent of .
Converts the value of the specified 64-bit signed integer to an equivalent 16-bit signed integer.
The 64-bit signed integer to convert.
is greater than Int16.MaxValue or less than Int16.MinValue.
A 16-bit signed integer that is equivalent to .
Converts the value of the specified object to a 16-bit signed integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format for an type.
does not implement .
represents a number that is less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to , or zero if is .
Converts the value of the specified object to a 16-bit signed integer.
An object that implements the interface, or .
is not in an appropriate format for an type.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to the equivalent 16-bit signed integer.
The 8-bit signed integer to convert.
A 8-bit signed integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent 16-bit signed integer.
The single-precision floating-point number to convert.
is greater than Int16.MaxValue or less than Int16.MinValue.
, rounded to the nearest 16-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 16-bit signed integer, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the string representation of a number in a specified base to an equivalent 16-bit signed integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 signed number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a non-base 10 signed number, is prefixed with a negative sign.
-or-
represents a number that is less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 16-bit signed integer.
A string that contains the number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to the equivalent 16-bit signed integer.
The 16-bit unsigned integer to convert.
is greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent 16-bit signed integer.
The 32-bit unsigned integer to convert.
is greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent 16-bit signed integer.
The 64-bit unsigned integer to convert.
is greater than Int16.MaxValue.
A 16-bit signed integer that is equivalent to .
Converts the specified Boolean value to the equivalent 32-bit signed integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent 32-bit signed integer.
The 8-bit unsigned integer to convert.
A 32-bit signed integer that is equivalent to .
Converts the value of the specified Unicode character to the equivalent 32-bit signed integer.
The Unicode character to convert.
A 32-bit signed integer that is equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 32-bit signed integer.
The decimal number to convert.
is greater than Int32.MaxValue or less than Int32.MinValue.
, rounded to the nearest 32-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 32-bit signed integer.
The double-precision floating-point number to convert.
is greater than Int32.MaxValue or less than Int32.MinValue.
, rounded to the nearest 32-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified 16-bit signed integer to an equivalent 32-bit signed integer.
The 16-bit signed integer to convert.
A 32-bit signed integer that is equivalent to .
Returns the specified 32-bit signed integer; no actual conversion is performed.
The 32-bit signed integer to return.
is returned unchanged.
Converts the value of the specified 64-bit signed integer to an equivalent 32-bit signed integer.
The 64-bit signed integer to convert.
is greater than Int32.MaxValue or less than Int32.MinValue.
A 32-bit signed integer that is equivalent to .
Converts the value of the specified object to a 32-bit signed integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format.
does not implement .
represents a number that is less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer that is equivalent to , or zero if is .
Converts the value of the specified object to a 32-bit signed integer.
An object that implements the interface, or .
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to the equivalent 32-bit signed integer.
The 8-bit signed integer to convert.
A 8-bit signed integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent 32-bit signed integer.
The single-precision floating-point number to convert.
is greater than Int32.MaxValue or less than Int32.MinValue.
, rounded to the nearest 32-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 32-bit signed integer, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the string representation of a number in a specified base to an equivalent 32-bit signed integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 signed number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a non-base 10 signed number, is prefixed with a negative sign.
-or-
represents a number that is less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 32-bit signed integer.
A string that contains the number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to the equivalent 32-bit signed integer.
The 16-bit unsigned integer to convert.
A 32-bit signed integer that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent 32-bit signed integer.
The 32-bit unsigned integer to convert.
is greater than Int32.MaxValue.
A 32-bit signed integer that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent 32-bit signed integer.
The 64-bit unsigned integer to convert.
is greater than Int32.MaxValue.
A 32-bit signed integer that is equivalent to .
Converts the specified Boolean value to the equivalent 64-bit signed integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent 64-bit signed integer.
The 8-bit unsigned integer to convert.
A 64-bit signed integer that is equivalent to .
Converts the value of the specified Unicode character to the equivalent 64-bit signed integer.
The Unicode character to convert.
A 64-bit signed integer that is equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 64-bit signed integer.
The decimal number to convert.
is greater than Int64.MaxValue or less than Int64.MinValue.
, rounded to the nearest 64-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 64-bit signed integer.
The double-precision floating-point number to convert.
is greater than Int64.MaxValue or less than Int64.MinValue.
, rounded to the nearest 64-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified 16-bit signed integer to an equivalent 64-bit signed integer.
The 16-bit signed integer to convert.
A 64-bit signed integer that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent 64-bit signed integer.
The 32-bit signed integer to convert.
A 64-bit signed integer that is equivalent to .
Returns the specified 64-bit signed integer; no actual conversion is performed.
A 64-bit signed integer.
is returned unchanged.
Converts the value of the specified object to a 64-bit signed integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer that is equivalent to , or zero if is .
Converts the value of the specified object to a 64-bit signed integer.
An object that implements the interface, or .
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer that is equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to the equivalent 64-bit signed integer.
The 8-bit signed integer to convert.
A 64-bit signed integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent 64-bit signed integer.
The single-precision floating-point number to convert.
is greater than Int64.MaxValue or less than Int64.MinValue.
, rounded to the nearest 64-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 64-bit signed integer, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the string representation of a number in a specified base to an equivalent 64-bit signed integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 signed number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a non-base 10 signed number, is prefixed with a negative sign.
-or-
represents a number that is less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 64-bit signed integer.
A string that contains a number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to the equivalent 64-bit signed integer.
The 16-bit unsigned integer to convert.
A 64-bit signed integer that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent 64-bit signed integer.
The 32-bit unsigned integer to convert.
A 64-bit signed integer that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent 64-bit signed integer.
The 64-bit unsigned integer to convert.
is greater than Int64.MaxValue.
A 64-bit signed integer that is equivalent to .
Converts the specified Boolean value to the equivalent 8-bit signed integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent 8-bit signed integer.
The 8-bit unsigned integer to convert.
is greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to .
Converts the value of the specified Unicode character to the equivalent 8-bit signed integer.
The Unicode character to convert.
is greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 8-bit signed integer.
The decimal number to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
, rounded to the nearest 8-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 8-bit signed integer.
The double-precision floating-point number to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
, rounded to the nearest 8-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified 16-bit signed integer to the equivalent 8-bit signed integer.
The 16-bit signed integer to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
An 8-bit signed integer that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent 8-bit signed integer.
The 32-bit signed integer to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
An 8-bit signed integer that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent 8-bit signed integer.
The 64-bit signed integer to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
An 8-bit signed integer that is equivalent to .
Converts the value of the specified object to an 8-bit signed integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to , or zero if is .
Converts the value of the specified object to an 8-bit signed integer.
An object that implements the interface, or .
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to , or zero if is .
Returns the specified 8-bit signed integer; no actual conversion is performed.
The 8-bit signed integer to return.
is returned unchanged.
Converts the value of the specified single-precision floating-point number to an equivalent 8-bit signed integer.
The single-precision floating-point number to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
, rounded to the nearest 8-bit signed integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 8-bit signed integer, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
is .
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to .
Converts the string representation of a number in a specified base to an equivalent 8-bit signed integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 signed number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a non-base 10 signed number, is prefixed with a negative sign.
-or-
represents a number that is less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 8-bit signed integer.
A string that contains the number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to the number in , or 0 (zero) if value is .
Converts the value of the specified 16-bit unsigned integer to the equivalent 8-bit signed integer.
The 16-bit unsigned integer to convert.
is greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit signed integer.
The 32-bit unsigned integer to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
An 8-bit signed integer that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit signed integer.
The 64-bit unsigned integer to convert.
is greater than SByte.MaxValue or less than SByte.MinValue.
An 8-bit signed integer that is equivalent to .
Converts the specified Boolean value to the equivalent single-precision floating-point number.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent single-precision floating-point number.
The 8-bit unsigned integer to convert.
A single-precision floating-point number that is equivalent to .
Calling this method always throws .
The Unicode character to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent single-precision floating-point number.
The decimal number to convert.
A single-precision floating-point number that is equivalent to .
is rounded using rounding to nearest. For example, when rounded to two decimals, the value 2.345 becomes 2.34 and the value 2.355 becomes 2.36.
Converts the value of the specified double-precision floating-point number to an equivalent single-precision floating-point number.
The double-precision floating-point number to convert.
A single-precision floating-point number that is equivalent to .
is rounded using rounding to nearest. For example, when rounded to two decimals, the value 2.345 becomes 2.34 and the value 2.355 becomes 2.36.
Converts the value of the specified 16-bit signed integer to an equivalent single-precision floating-point number.
The 16-bit signed integer to convert.
A single-precision floating-point number that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent single-precision floating-point number.
The 32-bit signed integer to convert.
A single-precision floating-point number that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent single-precision floating-point number.
The 64-bit signed integer to convert.
A single-precision floating-point number that is equivalent to .
Converts the value of the specified object to an single-precision floating-point number, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format.
does not implement .
represents a number that is less than Single.MinValue or greater than Single.MaxValue.
A single-precision floating-point number that is equivalent to , or zero if is .
Converts the value of the specified object to a single-precision floating-point number.
An object that implements the interface, or .
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than Single.MinValue or greater than Single.MaxValue.
A single-precision floating-point number that is equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to the equivalent single-precision floating-point number.
The 8-bit signed integer to convert.
An 8-bit signed integer that is equivalent to .
Returns the specified single-precision floating-point number; no actual conversion is performed.
The single-precision floating-point number to return.
is returned unchanged.
Converts the specified string representation of a number to an equivalent single-precision floating-point number, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
is not a number in a valid format.
represents a number that is less than Single.MinValue or greater than Single.MaxValue.
A single-precision floating-point number that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent single-precision floating-point number.
A string that contains the number to convert.
is not a number in a valid format.
represents a number that is less than Single.MinValue or greater than Single.MaxValue.
A single-precision floating-point number that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to the equivalent single-precision floating-point number.
The 16-bit unsigned integer to convert.
A single-precision floating-point number that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent single-precision floating-point number.
The 32-bit unsigned integer to convert.
A single-precision floating-point number that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent single-precision floating-point number.
The 64-bit unsigned integer to convert.
A single-precision floating-point number that is equivalent to .
Converts the specified Boolean value to its equivalent string representation.
The Boolean value to convert.
An instance of an object. This parameter is ignored.
The string representation of .
Converts the specified Boolean value to its equivalent string representation.
The Boolean value to convert.
The string representation of .
Converts the value of the specified 8-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
The 8-bit unsigned integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of an 8-bit unsigned integer to its equivalent string representation in a specified base.
The 8-bit unsigned integer to convert.
The base of the return value, which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
The string representation of in base .
Converts the value of the specified 8-bit unsigned integer to its equivalent string representation.
The 8-bit unsigned integer to convert.
The string representation of .
Converts the value of the specified Unicode character to its equivalent string representation, using the specified culture-specific formatting information.
The Unicode character to convert.
An object that supplies culture-specific formatting information. This parameter is ignored.
The string representation of .
Converts the value of the specified Unicode character to its equivalent string representation.
The Unicode character to convert.
The string representation of .
Converts the value of the specified to its equivalent string representation, using the specified culture-specific formatting information.
The date and time value to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified to its equivalent string representation.
The date and time value to convert.
The string representation of .
Converts the value of the specified decimal number to its equivalent string representation, using the specified culture-specific formatting information.
The decimal number to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified decimal number to its equivalent string representation.
The decimal number to convert.
The string representation of .
Converts the value of the specified double-precision floating-point number to its equivalent string representation.
The double-precision floating-point number to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified double-precision floating-point number to its equivalent string representation.
The double-precision floating-point number to convert.
The string representation of .
Converts the value of the specified 16-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
The 16-bit signed integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of a 16-bit signed integer to its equivalent string representation in a specified base.
The 16-bit signed integer to convert.
The base of the return value, which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
The string representation of in base .
Converts the value of the specified 16-bit signed integer to its equivalent string representation.
The 16-bit signed integer to convert.
The string representation of .
Converts the value of the specified 32-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
The 32-bit signed integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of a 32-bit signed integer to its equivalent string representation in a specified base.
The 32-bit signed integer to convert.
The base of the return value, which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
The string representation of in base .
Converts the value of the specified 32-bit signed integer to its equivalent string representation.
The 32-bit signed integer to convert.
The string representation of .
Converts the value of the specified 64-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
The 64-bit signed integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of a 64-bit signed integer to its equivalent string representation in a specified base.
The 64-bit signed integer to convert.
The base of the return value, which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
The string representation of in base .
Converts the value of the specified 64-bit signed integer to its equivalent string representation.
The 64-bit signed integer to convert.
The string representation of .
Converts the value of the specified object to its equivalent string representation using the specified culture-specific formatting information.
An object that supplies the value to convert, or .
An object that supplies culture-specific formatting information.
The string representation of , or if is an object whose value is . If is , the method returns .
Converts the value of the specified object to its equivalent string representation.
An object that supplies the value to convert, or .
The string representation of , or if is .
Converts the value of the specified 8-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
The 8-bit signed integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified 8-bit signed integer to its equivalent string representation.
The 8-bit signed integer to convert.
The string representation of .
Converts the value of the specified single-precision floating-point number to its equivalent string representation, using the specified culture-specific formatting information.
The single-precision floating-point number to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified single-precision floating-point number to its equivalent string representation.
The single-precision floating-point number to convert.
The string representation of .
Returns the specified string instance; no actual conversion is performed.
The string to return.
An object that supplies culture-specific formatting information. This parameter is ignored.
is returned unchanged.
Returns the specified string instance; no actual conversion is performed.
The string to return.
is returned unchanged.
Converts the value of the specified 16-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
The 16-bit unsigned integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified 16-bit unsigned integer to its equivalent string representation.
The 16-bit unsigned integer to convert.
The string representation of .
Converts the value of the specified 32-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
The 32-bit unsigned integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified 32-bit unsigned integer to its equivalent string representation.
The 32-bit unsigned integer to convert.
The string representation of .
Converts the value of the specified 64-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
The 64-bit unsigned integer to convert.
An object that supplies culture-specific formatting information.
The string representation of .
Converts the value of the specified 64-bit unsigned integer to its equivalent string representation.
The 64-bit unsigned integer to convert.
The string representation of .
Converts the specified Boolean value to the equivalent 16-bit unsigned integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent 16-bit unsigned integer.
The 8-bit unsigned integer to convert.
A 16-bit unsigned integer that is equivalent to .
Converts the value of the specified Unicode character to the equivalent 16-bit unsigned integer.
The Unicode character to convert.
The 16-bit unsigned integer equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 16-bit unsigned integer.
The decimal number to convert.
is less than zero or greater than UInt16.MaxValue.
, rounded to the nearest 16-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 16-bit unsigned integer.
The double-precision floating-point number to convert.
is less than zero or greater than UInt16.MaxValue.
, rounded to the nearest 16-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified 16-bit signed integer to the equivalent 16-bit unsigned integer.
The 16-bit signed integer to convert.
is less than zero.
A 16-bit unsigned integer that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent 16-bit unsigned integer.
The 32-bit signed integer to convert.
is less than zero or greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent 16-bit unsigned integer.
The 64-bit signed integer to convert.
is less than zero or greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to .
Converts the value of the specified object to a 16-bit unsigned integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified object to a 16-bit unsigned integer.
An object that implements the interface, or .
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to the equivalent 16-bit unsigned integer.
The 8-bit signed integer to convert.
is less than zero.
A 16-bit unsigned integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent 16-bit unsigned integer.
The single-precision floating-point number to convert.
is less than zero or greater than UInt16.MaxValue.
, rounded to the nearest 16-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 16-bit unsigned integer, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the string representation of a number in a specified base to an equivalent 16-bit unsigned integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 unsigned number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a non-base 10 unsigned number, is prefixed with a negative sign.
-or-
represents a number that is less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 16-bit unsigned integer.
A string that contains the number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Returns the specified 16-bit unsigned integer; no actual conversion is performed.
The 16-bit unsigned integer to return.
is returned unchanged.
Converts the value of the specified 32-bit unsigned integer to an equivalent 16-bit unsigned integer.
The 32-bit unsigned integer to convert.
is greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to .
Converts the value of the specified 64-bit unsigned integer to an equivalent 16-bit unsigned integer.
The 64-bit unsigned integer to convert.
is greater than UInt16.MaxValue.
A 16-bit unsigned integer that is equivalent to .
Converts the specified Boolean value to the equivalent 32-bit unsigned integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent 32-bit unsigned integer.
The 8-bit unsigned integer to convert.
A 32-bit unsigned integer that is equivalent to .
Converts the value of the specified Unicode character to the equivalent 32-bit unsigned integer.
The Unicode character to convert.
A 32-bit unsigned integer that is equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 32-bit unsigned integer.
The decimal number to convert.
is less than zero or greater than UInt32.MaxValue.
, rounded to the nearest 32-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 32-bit unsigned integer.
The double-precision floating-point number to convert.
is less than zero or greater than UInt32.MaxValue.
, rounded to the nearest 32-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified 16-bit signed integer to the equivalent 32-bit unsigned integer.
The 16-bit signed integer to convert.
is less than zero.
A 32-bit unsigned integer that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent 32-bit unsigned integer.
The 32-bit signed integer to convert.
is less than zero.
A 32-bit unsigned integer that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent 32-bit unsigned integer.
The 64-bit signed integer to convert.
is less than zero or greater than UInt32.MaxValue.
A 32-bit unsigned integer that is equivalent to .
Converts the value of the specified object to a 32-bit unsigned integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified object to a 32-bit unsigned integer.
An object that implements the interface, or .
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer that is equivalent to , or 0 (zero) if is .
Converts the value of the specified 8-bit signed integer to the equivalent 32-bit unsigned integer.
The 8-bit signed integer to convert.
is less than zero.
A 32-bit unsigned integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent 32-bit unsigned integer.
The single-precision floating-point number to convert.
is less than zero or greater than UInt32.MaxValue.
, rounded to the nearest 32-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 32-bit unsigned integer, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the string representation of a number in a specified base to an equivalent 32-bit unsigned integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 unsigned number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a non-base 10 unsigned number, is prefixed with a negative sign.
-or-
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 32-bit unsigned integer.
A string that contains the number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to the equivalent 32-bit unsigned integer.
The 16-bit unsigned integer to convert.
A 32-bit unsigned integer that is equivalent to .
Returns the specified 32-bit unsigned integer; no actual conversion is performed.
The 32-bit unsigned integer to return.
is returned unchanged.
Converts the value of the specified 64-bit unsigned integer to an equivalent 32-bit unsigned integer.
The 64-bit unsigned integer to convert.
is greater than UInt32.MaxValue.
A 32-bit unsigned integer that is equivalent to .
Converts the specified Boolean value to the equivalent 64-bit unsigned integer.
The Boolean value to convert.
The number 1 if is ; otherwise, 0.
Converts the value of the specified 8-bit unsigned integer to the equivalent 64-bit unsigned integer.
The 8-bit unsigned integer to convert.
A 64-bit signed integer that is equivalent to .
Converts the value of the specified Unicode character to the equivalent 64-bit unsigned integer.
The Unicode character to convert.
A 64-bit unsigned integer that is equivalent to .
Calling this method always throws .
The date and time value to convert.
This conversion is not supported.
This conversion is not supported. No value is returned.
Converts the value of the specified decimal number to an equivalent 64-bit unsigned integer.
The decimal number to convert.
is less than zero or greater than UInt64.MaxValue.
, rounded to the nearest 64-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified double-precision floating-point number to an equivalent 64-bit unsigned integer.
The double-precision floating-point number to convert.
is less than zero or greater than UInt64.MaxValue.
, rounded to the nearest 64-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the value of the specified 16-bit signed integer to the equivalent 64-bit unsigned integer.
The 16-bit signed integer to convert.
is less than zero.
A 64-bit unsigned integer that is equivalent to .
Converts the value of the specified 32-bit signed integer to an equivalent 64-bit unsigned integer.
The 32-bit signed integer to convert.
is less than zero.
A 64-bit unsigned integer that is equivalent to .
Converts the value of the specified 64-bit signed integer to an equivalent 64-bit unsigned integer.
The 64-bit signed integer to convert.
is less than zero.
A 64-bit unsigned integer that is equivalent to .
Converts the value of the specified object to a 64-bit unsigned integer, using the specified culture-specific formatting information.
An object that implements the interface.
An object that supplies culture-specific formatting information.
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than UInt64.MinValue or greater than UInt64.MaxValue.
A 64-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified object to a 64-bit unsigned integer.
An object that implements the interface, or .
is not in an appropriate format.
does not implement the interface.
-or-
The conversion is not supported.
represents a number that is less than UInt64.MinValue or greater than UInt64.MaxValue.
A 64-bit unsigned integer that is equivalent to , or zero if is .
Converts the value of the specified 8-bit signed integer to the equivalent 64-bit unsigned integer.
The 8-bit signed integer to convert.
is less than zero.
A 64-bit unsigned integer that is equivalent to .
Converts the value of the specified single-precision floating-point number to an equivalent 64-bit unsigned integer.
The single-precision floating-point number to convert.
is less than zero or greater than UInt64.MaxValue.
, rounded to the nearest 64-bit unsigned integer. If is halfway between two whole numbers, the even number is returned; that is, 4.5 is converted to 4, and 5.5 is converted to 6.
Converts the specified string representation of a number to an equivalent 64-bit unsigned integer, using the specified culture-specific formatting information.
A string that contains the number to convert.
An object that supplies culture-specific formatting information.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than UInt64.MinValue or greater than UInt64.MaxValue.
A 64-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the string representation of a number in a specified base to an equivalent 64-bit unsigned integer.
A string that contains the number to convert.
The base of the number in , which must be 2, 8, 10, or 16.
is not 2, 8, 10, or 16.
-or-
, which represents a non-base 10 unsigned number, is prefixed with a negative sign.
is .
contains a character that is not a valid digit in the base specified by . The exception message indicates that there are no digits to convert if the first character in is invalid; otherwise, the message indicates that contains invalid trailing characters.
, which represents a non-base 10 unsigned number, is prefixed with a negative sign.
-or-
represents a number that is less than UInt64.MinValue or greater than UInt64.MaxValue.
A 64-bit unsigned integer that is equivalent to the number in , or 0 (zero) if is .
Converts the specified string representation of a number to an equivalent 64-bit unsigned integer.
A string that contains the number to convert.
does not consist of an optional sign followed by a sequence of digits (0 through 9).
represents a number that is less than UInt64.MinValue or greater than UInt64.MaxValue.
A 64-bit signed integer that is equivalent to the number in , or 0 (zero) if is .
Converts the value of the specified 16-bit unsigned integer to the equivalent 64-bit unsigned integer.
The 16-bit unsigned integer to convert.
A 64-bit unsigned integer that is equivalent to .
Converts the value of the specified 32-bit unsigned integer to an equivalent 64-bit unsigned integer.
The 32-bit unsigned integer to convert.
A 64-bit unsigned integer that is equivalent to .
Returns the specified 64-bit unsigned integer; no actual conversion is performed.
The 64-bit unsigned integer to return.
is returned unchanged.
Tries to convert the specified span containing a string representation that is encoded with base-64 digits into a span of 8-bit unsigned integers.
A span containing the string representation that is encoded with base-64 digits.
The span in which to write the converted 8-bit unsigned integers. If this method returns , either the span remains unmodified or contains an incomplete conversion of , up to the last valid character.
When this method returns, contains the number of bytes that were written in .
if the conversion was successful; otherwise, .
Tries to convert the specified string representation that is encoded with base-64 digits into a span of 8-bit unsigned integers.
The string representation that is encoded with base-64 digits.
The span in which to write the converted 8-bit unsigned integers. When this method returns , either the span remains unmodified or contains an incomplete conversion of , up to the last valid character.
When this method returns, contains the number of bytes that were written in .
is .
if the conversion was successful; otherwise, .
Tries to convert the 8-bit unsigned integers inside the specified read-only span into their equivalent string representation that is encoded with base-64 digits. You can optionally specify whether to insert line breaks in the return value.
A read-only span of 8-bit unsigned integers.
The span in which to write the string representation in base 64 of the elements in . If the length of is 0, or when this method returns , nothing is written into this parameter.
When this method returns, contains the total number of characters written into .
One of the enumeration values that specify whether to insert line breaks in the return value. The default value is .
is not a valid value.
if the conversion is successful; otherwise, .
Converts a span of 8-bit unsigned integers to its equivalent UTF-8 span representation that is encoded with uppercase hex characters.
A span of 8-bit unsigned integers.
The UTF-8 span representation in hex of the elements in .
When this method returns, contains the number of bytes that were written in .
if the conversion was successful; otherwise, .
Converts a span of 8-bit unsigned integers to its equivalent span representation that is encoded with uppercase hex characters.
A span of 8-bit unsigned integers.
The span representation in hex of the elements in .
When this method returns, contains the number of chars that were written in .
if the conversion was successful; otherwise, .
Converts a span of 8-bit unsigned integers to its equivalent UTF-8 span representation that is encoded with lowercase hex characters.
A span of 8-bit unsigned integers.
The UTF-8 span representation in hex of the elements in .
When this method returns, contains the number of bytes that were written in .
if the conversion was successful; otherwise, .
Converts a span of 8-bit unsigned integers to its equivalent span representation that is encoded with lowercase hex characters.
A span of 8-bit unsigned integers.
The span representation in hex of the elements in .
When this method returns, contains the number of chars that were written in .
if the conversion was successful; otherwise, .
Represents a method that converts an object from one type to another type.
The object to convert.
The type of object that is to be converted.
The type the input object is to be converted to.
The that represents the converted .
Represents dates with values ranging from January 1, 0001 Anno Domini (Common Era) through December 31, 9999 A.D. (C.E.) in the Gregorian calendar.
Creates a new instance of the structure to the specified year, month, and day for the specified calendar.
The year (1 through the number of years in calendar).
The month (1 through the number of months in calendar).
The day (1 through the number of days in ).
The calendar that is used to interpret year, month, and day..
Creates a new instance of the structure to the specified year, month, and day.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
Adds the specified number of days to the value of this instance.
The number of days to add. To subtract days, specify a negative number.
The resulting value is greater than DateOnly.MaxValue.
An instance whose value is the sum of the date represented by this instance and the number of days represented by value.
Adds the specified number of months to the value of this instance.
A number of months. The months parameter can be negative or positive.
An object whose value is the sum of the date represented by this instance and months.
Adds the specified number of years to the value of this instance.
A number of years. The value parameter can be negative or positive.
An object whose value is the sum of the date represented by this instance and the number of years represented by value.
Compares the value of this instance to a specified value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified value.
The object to compare to the current instance.
Less than zero if this instance is earlier than value. Greater than zero if this instance is later than value. Zero if this instance is the same as value.
Compares the value of this instance to a specified object that contains a specified value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified value.
A boxed object to compare, or .
Less than zero if this instance is earlier than value. Greater than zero if this instance is later than value. Zero if this instance is the same as value.
Deconstructs by , , and .
When this method returns, represents the value of this instance.
When this method returns, represents the value of this instance.
When this method returns, represents the value of this instance.
Returns a value indicating whether the value of this instance is equal to the value of the specified instance.
The object to compare to this instance.
if the value parameter equals the value of this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
The object to compare to this instance.
if value is an instance of DateOnly and equals the value of this instance; otherwise, .
Returns a instance that is set to the date part of the specified .
The instance.
The instance composed of the date part of the specified input time instance.
Creates a new instance of the structure to the specified number of days.
The number of days since January 1, 0001 in the Proleptic Gregorian calendar.
A structure instance to the specified number of days.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Determines whether two specified instances of are equal.
The first object to compare.
The second object to compare.
if left and right represent the same date; otherwise, .
Determines whether one specified is later than another specified DateOnly.
The first object to compare.
The second object to compare.
if left is later than right; otherwise, .
Determines whether one specified DateOnly represents a date that is the same as or later than another specified .
The first object to compare.
The second object to compare.
if left is the same as or later than right; otherwise, .
Determines whether two specified instances of are not equal.
The first object to compare.
The second object to compare.
if left and right do not represent the same date; otherwise, .
Determines whether one specified is earlier than another specified .
The first object to compare.
The second object to compare.
if left is earlier than right; otherwise, .
Determines whether one specified represents a date that is the same as or earlier than another specified .
The first object to compare.
The second object to compare.
if left is the same as or earlier than right; otherwise, .
Converts a memory span that contains string representation of a date to its equivalent by using culture-specific format information and a formatting style.
The memory span that contains the string to parse.
An object that supplies culture-specific format information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by provider and styles.
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts a string that contains string representation of a date to its equivalent by using culture-specific format information and a formatting style.
The string that contains the string to parse.
An object that supplies culture-specific format information about .
A bitwise combination of the enumeration values that indicates the style elements that can be present in for the parse operation to succeed, and that defines how to interpret the parsed date. A typical value to specify is .
is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by provider and styles.
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts a string that contains string representation of a date to its equivalent by using the conventions of the current culture.
The string that contains the string to parse.
is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in .
Converts the specified span representation of a date to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly or an exception is thrown.
A span containing the characters that represent a date to convert.
A span containing the characters that represent a format specifier that defines the required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by format, provider, and style.
Converts the specified span representation of a date to its equivalent using the specified array of formats, culture-specific format information, and style.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A span containing the characters that represent a date to convert.
An array of allowable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that is equivalent to the date contained in , as specified by format, provider, and style.
Converts the specified span representation of a date to its equivalent using the specified array of formats.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A span containing the characters that represent a date to convert.
An array of allowable formats of .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by format, provider, and style.
Converts the specified string representation of a date to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly or an exception is thrown.
A string containing the characters that represent a date to convert.
A string containing the characters that represent a format specifier that defines the required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of the enumeration values that provides additional information about , about style elements that may be present in , or about the conversion from to a value. A typical value to specify is .
is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by format, provider, and style.
Converts the specified string representation of a date to its equivalent using the specified format.
The format of the string representation must match the specified format exactly or an exception is thrown.
A string containing the characters that represent a date to convert.
A string that represent a format specifier that defines the required format of .
is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by format.
Converts the specified string representation of a date to its equivalent using the specified array of formats, culture-specific format information, and style.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A string containing the characters that represent a date to convert.
An array of allowable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by format, provider, and style.
Converts the specified span representation of a date to its equivalent using the specified array of formats.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A span containing the characters that represent a date to convert.
An array of allowable formats of .
is .
does not contain a valid string representation of a date.
An object that is equivalent to the date contained in , as specified by format, provider, and style.
Returns a instance with the specified input kind that is set to the date of this instance and the time of specified input time.
The time of the day.
One of the enumeration values that indicates whether ticks specifies a local time, Coordinated Universal Time (UTC), or neither.
The instance composed of the date of the current instance and the time specified by the input time.
Returns a that is set to the date of this instance and the time of specified input time.
The time of the day.
The instance composed of the date of the current instance and the time specified by the input time.
Converts the value of the current object to its equivalent long date string representation.
A string that contains the long date string representation of the current object.
Converts the value of the current object to its equivalent short date string representation.
A string that contains the short date string representation of the current object.
Converts the value of the current object to its equivalent string representation using the formatting conventions of the current culture.
The object will be formatted in short form.
A string that contains the short date string representation of the current object.
Converts the value of the current object to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
A string representation of value of the current object as specified by provider.
Converts the value of the current object to its equivalent string representation using the specified culture-specific format information.
A standard or custom date format string.
An object that supplies culture-specific formatting information.
A string representation of value of the current object as specified by format and provider.
Converts the value of the current object to its equivalent string representation using the specified format and the formatting conventions of the current culture.
A standard or custom date format string.
A string representation of value of the current object as specified by format.
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Converts the specified span representation of a date to its equivalent and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the date to convert.
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if the parameter is empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if the conversion was successful; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the specified span representation of a date to its equivalent using the specified array of formats, culture-specific format information, and style. And returns a value that indicates whether the conversion succeeded.
A string containing the characters that represent a date to convert.
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if the parameter is empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if the conversion was successful; otherwise, .
Converts the specified string representation of a date to its equivalent and returns a value that indicates whether the conversion succeeded.
A string containing the characters representing the date to convert.
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if the parameter is empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if the conversion was successful; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the specified string representation of a date to its equivalent using the specified array of formats, culture-specific format information, and style. And returns a value that indicates whether the conversion succeeded.
A string containing the characters that represent a date to convert.
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if the parameter is empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if the conversion was successful; otherwise, .
Converts the specified span representation of a date to its equivalent using the specified format and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A span containing the characters representing a date to convert.
The required format of .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if the is an empty string, or does not contain a date that correspond to the pattern specified in format. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a date to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A span containing the characters representing a date to convert.
The required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of one or more enumeration values that indicate the permitted format of .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if the is an empty string, or does not contain a date that correspond to the pattern specified in format. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified char span of a date to its equivalent and returns a value that indicates whether the conversion succeeded.
The span containing the string to parse.
An array of allowable formats of .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if the parameter is an empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified char span of a date to its equivalent and returns a value that indicates whether the conversion succeeded.
The span containing the string to parse.
An array of allowable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that defines how to interpret the parsed date. A typical value to specify is .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if is an empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string representation of a date to its equivalent using the specified format and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A string containing the characters representing a date to convert.
The required format of .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if is an empty string, or does not contain a date that correspond to the pattern specified in format. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a date to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A span containing the characters representing a date to convert.
The required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of one or more enumeration values that indicate the permitted format of .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if is an empty string, or does not contain a date that correspond to the pattern specified in format. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string of a date to its equivalent and returns a value that indicates whether the conversion succeeded.
The string containing date to parse.
An array of allowable formats of .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if is an empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string of a date to its equivalent and returns a value that indicates whether the conversion succeeded.
The string containing the date to parse.
An array of allowable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that defines how to interpret the parsed date. A typical value to specify is .
When this method returns, contains the value equivalent to the date contained in , if the conversion succeeded, or DateOnly.MinValue if the conversion failed. The conversion fails if is an empty string, or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Gets the day component of the date represented by this instance.
The day component, expressed as a value between 1 and 31.
Gets the number of days since January 1, 0001 in the Proleptic Gregorian calendar represented by this instance.
The number of days since January 1, 0001 in the Proleptic Gregorian calendar represented by this instance.
Gets the day of the week represented by this instance.
A number that represents the day of the week represented by this instance.
Gets the day of the year represented by this instance.
A number that represents the day of the year represented by this instance.
Gets the latest possible date that can be created.
A representing the latest possible date that can be created.
Gets the earliest possible date that can be created.
A representing the earliest possible date that can be created.
Gets the month component of the date represented by this instance.
The month component, expressed as a value between 1 and 12.
Gets the year component of the date represented by this instance.
The year component, expressed as a value between 1 and 9999.
Represents an instant in time, typically expressed as a date and time of day.
Represents the largest possible value of . This field is read-only.
Represents the smallest possible value of . This field is read-only.
The value of this constant is equivalent to 00:00:00.0000000 UTC, January 1, 1970, in the Gregorian calendar. defines the point in time when Unix time is equal to 0.
Initializes a new instance of the structure to the specified and and respecting the specified .
The date part.
The time part.
One of the enumeration values that indicates whether and specify a local time, Coordinated Universal Time (UTC), or neither.
Initializes a new instance of the structure to the specified and .
The new instance will have the kind.
The date part.
The time part.
Initializes a new instance of the structure to the specified year, month, and day for the specified calendar.
The year (1 through the number of years in ).
The month (1 through the number of months in ).
The day (1 through the number of days in ).
The calendar that is used to interpret , , and .
is .
is not in the range supported by .
-or-
is less than 1 or greater than the number of months in .
-or-
is less than 1 or greater than the number of days in .
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, and Coordinated Universal Time (UTC) or local time.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
One of the enumeration values that indicates whether , , , , and specify a local time, Coordinated Universal Time (UTC), or neither.
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
is not one of the values.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, and second for the specified calendar.
The year (1 through the number of years in ).
The month (1 through the number of months in ).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The calendar that is used to interpret , , and .
is .
is not in the range supported by .
-or-
is less than 1 or greater than the number of months in .
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
One of the enumeration values that indicates whether , , , , , , and specify a local time, Coordinated Universal Time (UTC), or neither.
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
is not one of the values.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time for the specified calendar.
The year (1 through the number of years in ).
The month (1 through the number of months in ).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The calendar that is used to interpret , , and .
One of the enumeration values that indicates whether , , , , , , and specify a local time, Coordinated Universal Time (UTC), or neither.
is .
is not in the range supported by .
-or-
is less than 1 or greater than the number of months in .
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
is not one of the values.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, and millisecond for the specified calendar.
The year (1 through the number of years in ).
The month (1 through the number of months in ).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The calendar that is used to interpret , , and .
is .
is not in the range supported by .
-or-
is less than 1 or greater than the number of months in .
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time for the specified calendar.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The microseconds (0 through 999).
One of the enumeration values that indicates whether , , , , , , and specify a local time, Coordinated Universal Time (UTC), or neither.
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than 0 or greater than 999.
is not one of the values.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time for the specified calendar.
The year (1 through the number of years in ).
The month (1 through the number of months in ).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The microseconds (0 through 999).
The calendar that is used to interpret , , and .
One of the enumeration values that indicates whether , , , , , , and specify a local time, Coordinated Universal Time (UTC), or neither.
is
is not in the range supported by .
-or-
is less than 1 or greater than the number of months in .
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than 0 or greater than 999.
is not one of the values.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time for the specified calendar.
The year (1 through the number of years in ).
The month (1 through the number of months in ).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The microseconds (0 through 999).
The calendar that is used to interpret , , and .
is
is not in the range supported by .
-or-
is less than 1 or greater than the number of months in .
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than 0 or greater than 999.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time for the specified calendar.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The microseconds (0 through 999).
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than 0 or greater than 999.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, second, and millisecond.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
Initializes a new instance of the structure to the specified year, month, day, hour, minute, and second.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
Initializes a new instance of the structure to the specified year, month, and day.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
Initializes a new instance of the structure to a specified number of ticks and to Coordinated Universal Time (UTC) or local time.
A date and time expressed in the number of 100-nanosecond intervals that have elapsed since January 1, 0001 at 00:00:00.000 in the Gregorian calendar.
One of the enumeration values that indicates whether specifies a local time, Coordinated Universal Time (UTC), or neither.
is less than DateTime.MinValue or greater than DateTime.MaxValue.
is not one of the values.
Initializes a new instance of the structure to a specified number of ticks.
A date and time expressed in the number of 100-nanosecond intervals that have elapsed since January 1, 0001 at 00:00:00.000 in the Gregorian calendar.
is less than DateTime.MinValue or greater than DateTime.MaxValue.
Returns a new that adds the value of the specified to the value of this instance.
A positive or negative time interval.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the time interval represented by .
Returns a new that adds the specified number of days to the value of this instance.
A number of whole and fractional days. The parameter can be negative or positive.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the number of days represented by .
Returns a new that adds the specified number of hours to the value of this instance.
A number of whole and fractional hours. The parameter can be negative or positive.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the number of hours represented by .
Returns a new that adds the specified number of microseconds to the value of this instance.
A number of whole and fractional microseconds.
The parameter can be negative or positive.
Note that this value is rounded to the nearest integer.
The resulting is less than or greater than .
An object whose value is the sum of the date and time represented by this instance and the number of microseconds represented by .
Returns a new that adds the specified number of milliseconds to the value of this instance.
A number of whole and fractional milliseconds. The parameter can be negative or positive. Note that this value is rounded to the nearest integer.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the number of milliseconds represented by .
Returns a new that adds the specified number of minutes to the value of this instance.
A number of whole and fractional minutes. The parameter can be negative or positive.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the number of minutes represented by .
Returns a new that adds the specified number of months to the value of this instance.
A number of months. The parameter can be negative or positive.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
-or-
is less than -120,000 or greater than 120,000.
An object whose value is the sum of the date and time represented by this instance and .
Returns a new that adds the specified number of seconds to the value of this instance.
A number of whole and fractional seconds. The parameter can be negative or positive.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the number of seconds represented by .
Returns a new that adds the specified number of ticks to the value of this instance.
A number of 100-nanosecond ticks. The parameter can be positive or negative.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the time represented by .
Returns a new that adds the specified number of years to the value of this instance.
A number of years. The parameter can be negative or positive.
or the resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the sum of the date and time represented by this instance and the number of years represented by .
Compares two instances of and returns an integer that indicates whether the first instance is earlier than, the same as, or later than the second instance.
The first object to compare.
The second object to compare.
A signed number indicating the relative values of and .
Value Type Condition- Less than zero is earlier than .
- Zero is the same as .
- Greater than zero is later than .
Compares the value of this instance to a specified value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified value.
The object to compare to the current instance.
A signed number indicating the relative values of this instance and the parameter.
Value Description- Less than zero This instance is earlier than .
- Zero This instance is the same as .
- Greater than zero This instance is later than .
Compares the value of this instance to a specified object that contains a specified value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified value.
A boxed object to compare, or .
is not a .
A signed number indicating the relative values of this instance and .
Value Description- Less than zero This instance is earlier than .
- Zero This instance is the same as .
- Greater than zero This instance is later than , or is .
Returns the number of days in the specified month and year.
The year.
The month (a number ranging from 1 to 12).
is less than 1 or greater than 12.
-or-
is less than 1 or greater than 9999.
The number of days in for the specified .
For example, if equals 2 for February, the return value is 28 or 29 depending upon whether is a leap year.
Deconstructs this instance by and .
When this method returns, represents the value of this instance.
When this method returns, represents the value of this instance.
Deconstructs this instance by , , and .
When this method returns, represents the value of this instance.
When this method returns, represents the value of this instance.
When this method returns, represents the value of this instance.
Returns a value indicating whether two instances have the same date and time value.
The first object to compare.
The second object to compare.
if the two values are equal; otherwise, .
Returns a value indicating whether the value of this instance is equal to the value of the specified instance.
The object to compare to this instance.
if the parameter equals the value of this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
The object to compare to this instance.
if is an instance of and equals the value of this instance; otherwise, .
Deserializes a 64-bit binary value and recreates an original serialized object.
A 64-bit signed integer that encodes the property in a 2-bit field and the property in a 62-bit field.
is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object that is equivalent to the object that was serialized by the method.
Converts the specified Windows file time to an equivalent local time.
A Windows file time expressed in ticks.
is less than 0 or represents a time greater than DateTime.MaxValue.
An object that represents the local time equivalent of the date and time represented by the parameter.
Converts the specified Windows file time to an equivalent UTC time.
A Windows file time expressed in ticks.
is less than 0 or represents a time greater than DateTime.MaxValue.
An object that represents the UTC time equivalent of the date and time represented by the parameter.
Returns a equivalent to the specified OLE Automation Date.
An OLE Automation Date value.
The date is not a valid OLE Automation Date value.
An object that represents the same date and time as .
Converts the value of this instance to all the string representations supported by the standard date and time format specifiers.
A string array where each element is the representation of the value of this instance formatted with one of the standard date and time format specifiers.
Converts the value of this instance to all the string representations supported by the specified standard date and time format specifier and culture-specific formatting information.
A date and time format string.
An object that supplies culture-specific formatting information about this instance.
is not a valid standard date and time format specifier character.
A string array where each element is the representation of the value of this instance formatted with one of the standard date and time format specifiers.
Converts the value of this instance to all the string representations supported by the specified standard date and time format specifier.
A standard date and time format string.
is not a valid standard date and time format specifier character.
A string array where each element is the representation of the value of this instance formatted with the standard date and time format specifier.
Converts the value of this instance to all the string representations supported by the standard date and time format specifiers and the specified culture-specific formatting information.
An object that supplies culture-specific formatting information about this instance.
A string array where each element is the representation of the value of this instance formatted with one of the standard date and time format specifiers.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Indicates whether this instance of is within the daylight saving time range for the current time zone.
if the value of the property is or and the value of this instance of is within the daylight saving time range for the local time zone; if is .
Returns an indication whether the specified year is a leap year.
A 4-digit year.
is less than 1 or greater than 9999.
if is a leap year; otherwise, .
Adds a specified time interval to a specified date and time, yielding a new date and time.
The date and time value to add.
The time interval to add.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object that is the sum of the values of and .
Determines whether two specified instances of are equal.
The first object to compare.
The second object to compare.
if and represent the same date and time; otherwise, .
Determines whether one specified is later than another specified .
The first object to compare.
The second object to compare.
if is later than ; otherwise, .
Determines whether one specified represents a date and time that is the same as or later than another specified .
The first object to compare.
The second object to compare.
if is the same as or later than ; otherwise, .
Determines whether two specified instances of are not equal.
The first object to compare.
The second object to compare.
if and do not represent the same date and time; otherwise, .
Determines whether one specified is earlier than another specified .
The first object to compare.
The second object to compare.
if is earlier than ; otherwise, .
Determines whether one specified represents a date and time that is the same as or earlier than another specified .
The first object to compare.
The second object to compare.
if is the same as or earlier than ; otherwise, .
Subtracts a specified date and time from another specified date and time and returns a time interval.
The date and time value to subtract from (the minuend).
The date and time value to subtract (the subtrahend).
The time interval between and ; that is, minus .
Subtracts a specified time interval from a specified date and time and returns a new date and time.
The date and time value to subtract from.
The time interval to subtract.
The resulting is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object whose value is the value of minus the value of .
Converts a memory span that contains string representation of a date and time to its equivalent by using culture-specific format information and a formatting style.
The memory span that contains the string to parse. See The string to parse for more information.
An object that supplies culture-specific format information about . See Parsing and cultural conventions
A bitwise combination of the enumeration values that indicates the style elements that can be present in for the parse operation to succeed, and that defines how to interpret the parsed date in relation to the current time zone or the current date. A typical value to specify is .
does not contain a valid string representation of a date and time.
contains an invalid combination of values. For example, both and .
An object that is equivalent to the date and time contained in , as specified by and .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a date and time to its equivalent by using culture-specific format information and a formatting style.
A string that contains a date and time to convert. See The string to parse for more information.
An object that supplies culture-specific formatting information about . See Parsing and cultural conventions
A bitwise combination of the enumeration values that indicates the style elements that can be present in for the parse operation to succeed, and that defines how to interpret the parsed date in relation to the current time zone or the current date. A typical value to specify is .
is .
does not contain a valid string representation of a date and time.
contains an invalid combination of values. For example, both and .
An object that is equivalent to the date and time contained in , as specified by and .
Converts the string representation of a date and time to its equivalent by using culture-specific format information.
A string that contains a date and time to convert. See The string to parse for more information.
An object that supplies culture-specific format information about . See Parsing and cultural conventions
is .
does not contain a valid string representation of a date and time.
An object that is equivalent to the date and time contained in as specified by .
Converts the string representation of a date and time to its equivalent by using the conventions of the current culture.
A string that contains a date and time to convert. See The string to parse for more information.
is .
does not contain a valid string representation of a date and time.
An object that is equivalent to the date and time contained in .
Converts the specified span representation of a date and time to its equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly or an exception is thrown.
A span containing the characters that represent a date and time to convert.
A span containing the characters that represent a format specifier that defines the required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of the enumeration values that provides additional information about , about style elements that may be present in , or about the conversion from to a value. A typical value to specify is .
An object that is equivalent to the date and time contained in , as specified by , , and .
Converts the specified span representation of a date and time to its equivalent using the specified array of formats, culture-specific format information, and style. The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A span containing the characters that represent a date and time to convert.
An array of allowable formats of .
An object that supplies culture-specific format information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that is equivalent to the date and time contained in , as specified by , , and .
Converts the specified string representation of a date and time to its equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly or an exception is thrown.
A string containing a date and time to convert.
A format specifier that defines the required format of . For more information, see the Remarks section.
An object that supplies culture-specific formatting information about .
A bitwise combination of the enumeration values that provides additional information about , about style elements that may be present in , or about the conversion from to a value. A typical value to specify is .
or is .
or is an empty string.
-or-
does not contain a date and time that corresponds to the pattern specified in .
-or-
The hour component and the AM/PM designator in do not agree.
contains an invalid combination of values. For example, both and .
An object that is equivalent to the date and time contained in , as specified by , , and .
Converts the specified string representation of a date and time to its equivalent using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
A string that contains a date and time to convert.
A format specifier that defines the required format of . For more information, see the Remarks section.
An object that supplies culture-specific format information about .
or is .
or is an empty string.
-or-
does not contain a date and time that corresponds to the pattern specified in .
-or-
The hour component and the AM/PM designator in do not agree.
An object that is equivalent to the date and time contained in , as specified by and .
Converts the specified string representation of a date and time to its equivalent using the specified array of formats, culture-specific format information, and style. The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A string that contains a date and time to convert.
An array of allowable formats of . For more information, see the Remarks section.
An object that supplies culture-specific format information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
or is .
is an empty string.
-or-
an element of is an empty string.
-or-
does not contain a date and time that corresponds to any element of .
-or-
The hour component and the AM/PM designator in do not agree.
contains an invalid combination of values. For example, both and .
An object that is equivalent to the date and time contained in , as specified by , , and .
Creates a new object that has the same number of ticks as the specified , but is designated as either local time, Coordinated Universal Time (UTC), or neither, as indicated by the specified value.
A date and time.
One of the enumeration values that indicates whether the new object represents local time, UTC, or neither.
A new object that has the same number of ticks as the object represented by the parameter and the value specified by the parameter.
Returns a new that subtracts the specified date and time from the value of this instance.
The date and time value to subtract.
The result is less than DateTime.MinValue or greater than DateTime.MaxValue.
A time interval that is equal to the date and time represented by this instance minus the date and time represented by .
Returns a new that subtracts the specified duration from the value of this instance.
The time interval to subtract.
The result is less than DateTime.MinValue or greater than DateTime.MaxValue.
An object that is equal to the date and time represented by this instance minus the time interval represented by .
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
Returns the current object.
An object that implements the interface. (This parameter is not used; specify .)
The current object.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
Converts the current object to an object of a specified type.
The desired type.
An object that implements the interface. (This parameter is not used; specify .)
is .
This conversion is not supported for the type.
An object of the type specified by the parameter, with a value equivalent to the current object.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
This conversion is not supported. Attempting to use this method throws an .
An object that implements the interface. (This parameter is not used; specify .)
In all cases.
The return value for this member is not used.
Populates a object with the data needed to serialize the current object.
The object to populate with data.
The destination for this serialization. (This parameter is not used; specify .)
is .
Serializes the current object to a 64-bit binary value that subsequently can be used to recreate the object.
A 64-bit signed integer that encodes the and properties.
Converts the value of the current object to a Windows file time.
The resulting file time would represent a date and time before 12:00 midnight January 1, 1601 C.E. UTC.
The value of the current object expressed as a Windows file time.
Converts the value of the current object to a Windows file time.
The resulting file time would represent a date and time before 12:00 midnight January 1, 1601 C.E. UTC.
The value of the current object expressed as a Windows file time.
Converts the value of the current object to local time.
An object whose property is , and whose value is the local time equivalent to the value of the current object, or DateTime.MaxValue if the converted value is too large to be represented by a object, or DateTime.MinValue if the converted value is too small to be represented as a object.
Converts the value of the current object to its equivalent long date string representation.
A string that contains the long date string representation of the current object.
Converts the value of the current object to its equivalent long time string representation.
A string that contains the long time string representation of the current object.
Converts the value of this instance to the equivalent OLE Automation date.
The value of this instance cannot be represented as an OLE Automation Date.
A double-precision floating-point number that contains an OLE Automation date equivalent to the value of this instance.
Converts the value of the current object to its equivalent short date string representation.
A string that contains the short date string representation of the current object.
Converts the value of the current object to its equivalent short time string representation.
A string that contains the short time string representation of the current object.
Converts the value of the current object to its equivalent string representation using the formatting conventions of the current culture.
The date and time is outside the range of dates supported by the calendar used by the current culture.
A string representation of the value of the current object.
Converts the value of the current object to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The date and time is outside the range of dates supported by the calendar used by .
A string representation of value of the current object as specified by .
Converts the value of the current object to its equivalent string representation using the specified format and culture-specific format information.
A standard or custom date and time format string.
An object that supplies culture-specific formatting information.
The length of is 1, and it is not one of the format specifier characters defined for .
-or-
does not contain a valid custom format pattern.
The date and time is outside the range of dates supported by the calendar used by .
A string representation of value of the current object as specified by and .
Converts the value of the current object to its equivalent string representation using the specified format and the formatting conventions of the current culture.
A standard or custom date and time format string.
The length of is 1, and it is not one of the format specifier characters defined for .
-or-
does not contain a valid custom format pattern.
The date and time is outside the range of dates supported by the calendar used by the current culture.
A string representation of value of the current object as specified by .
Converts the value of the current object to Coordinated Universal Time (UTC).
An object whose property is , and whose value is the UTC equivalent to the value of the current object, or DateTime.MaxValue if the converted value is too large to be represented by a object, or DateTime.MinValue if the converted value is too small to be represented by a object.
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current datetime instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Converts the specified char span of a date and time to its equivalent and returns a value that indicates whether the conversion succeeded.
A string containing a date and time to convert.
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if the parameter is , is an empty string (""), or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
if the parameter was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the span representation of a date and time to its equivalent using the specified culture-specific format information and formatting style, and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the date and time to convert.
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that defines how to interpret the parsed date in relation to the current time zone or the current date. A typical value to specify is .
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if the parameter is , is an empty string (""), or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
if the parameter was converted successfully; otherwise, .
Converts the specified string representation of a date and time to its equivalent and returns a value that indicates whether the conversion succeeded.
A string containing a date and time to convert.
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if the parameter is , is an empty string (""), or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
if the parameter was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the specified string representation of a date and time to its equivalent using the specified culture-specific format information and formatting style, and returns a value that indicates whether the conversion succeeded.
A string containing a date and time to convert.
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that defines how to interpret the parsed date in relation to the current time zone or the current date. A typical value to specify is .
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if the parameter is , is an empty string (""), or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
is not a valid value.
-or-
contains an invalid combination of values (for example, both and ).
is a neutral culture and cannot be used in a parsing operation.
if the parameter was converted successfully; otherwise, .
Converts the specified span representation of a date and time to its equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A span containing the characters representing a date and time to convert.
The required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of one or more enumeration values that indicate the permitted format of .
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if either the or parameter is , is an empty string, or does not contain a date and time that correspond to the pattern specified in . This parameter is passed uninitialized.
The length of is 1, and it is not one of the format specifier characters defined for .
-or-
does not contain a valid custom format pattern.
is not a valid value.
-or-
contains an invalid combination of values (for example, both and ).
if was converted successfully; otherwise, .
Converts the specified char span of a date and time to its equivalent and returns a value that indicates whether the conversion succeeded.
The span containing the string to parse.
An array of allowable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that defines how to interpret the parsed date in relation to the current time zone or the current date. A typical value to specify is .
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if the parameter is , is , or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
The length of an element in is 1, and it is not one of the format specifier characters defined for .
is not a valid value.
-or-
contains an invalid combination of values (for example, both and ).
if was converted successfully; otherwise, .
Converts the specified string representation of a date and time to its equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A string containing a date and time to convert.
The required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of one or more enumeration values that indicate the permitted format of .
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if either the or parameter is , is an empty string, or does not contain a date and time that correspond to the pattern specified in . This parameter is passed uninitialized.
The length of is 1, and it is not one of the format specifier characters defined for .
-or-
does not contain a valid custom format pattern.
is not a valid value.
-or-
contains an invalid combination of values (for example, both and ).
if was converted successfully; otherwise, .
Converts the specified string representation of a date and time to its equivalent using the specified array of formats, culture-specific format information, and style. The format of the string representation must match at least one of the specified formats exactly. The method returns a value that indicates whether the conversion succeeded.
A string that contains a date and time to convert.
An array of allowable formats of .
An object that supplies culture-specific format information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
When this method returns, contains the value equivalent to the date and time contained in , if the conversion succeeded, or DateTime.MinValue if the conversion failed. The conversion fails if or is , or an element of is an empty string, or the format of is not exactly as specified by at least one of the format patterns in . This parameter is passed uninitialized.
The length of an element in is 1, and it is not one of the format specifier characters defined for .
is not a valid value.
-or-
contains an invalid combination of values (for example, both and ).
if the parameter was converted successfully; otherwise, .
Gets the date component of this instance.
A new object with the same date as this instance, and the time value set to 12:00:00 midnight (00:00:00).
Gets the day of the month represented by this instance.
The day component, expressed as a value between 1 and 31.
Gets the day of the week represented by this instance.
An enumerated constant that indicates the day of the week of this value.
Gets the day of the year represented by this instance.
The day of the year, expressed as a value between 1 and 366.
Gets the hour component of the date represented by this instance.
The hour component, expressed as a value between 0 and 23.
Gets a value that indicates whether the time represented by this instance is based on local time, Coordinated Universal Time (UTC), or neither.
One of the enumeration values that indicates what the current time represents. The default is .
The microseconds component, expressed as a value between 0 and 999.
Gets the milliseconds component of the date represented by this instance.
The milliseconds component, expressed as a value between 0 and 999.
Gets the minute component of the date represented by this instance.
The minute component, expressed as a value between 0 and 59.
Gets the month component of the date represented by this instance.
The month component, expressed as a value between 1 and 12.
The nanoseconds component, expressed as a value between 0 and 900 (in increments of 100 nanoseconds).
Gets a object that is set to the current date and time on this computer, expressed as the local time.
An object whose value is the current local date and time.
Gets the seconds component of the date represented by this instance.
The seconds component, expressed as a value between 0 and 59.
Gets the number of ticks that represent the date and time of this instance.
The number of ticks that represent the date and time of this instance. The value is between and .
Gets the time of day for this instance.
A time interval that represents the fraction of the day that has elapsed since midnight.
Gets the current date.
An object that is set to today's date, with the time component set to 00:00:00.
Gets a object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC).
An object whose value is the current UTC date and time.
Gets the year component of the date represented by this instance.
The year, between 1 and 9999.
Specifies whether a object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC.
The time represented is local time.
The time represented is not specified as either local time or Coordinated Universal Time (UTC).
The time represented is UTC.
Represents a point in time, typically expressed as a date and time of day, relative to Coordinated Universal Time (UTC).
Represents the greatest possible value of . This field is read-only.
DateTime.MaxValue is outside the range of the current or specified culture's default calendar.
Represents the earliest possible value. This field is read-only.
The value of this constant is equivalent to 00:00:00.0000000 UTC, January 1, 1970, in the Gregorian calendar. defines the point in time when Unix time is equal to 0.
Initializes a new instance of the structure using the specified , , and .
The date part.
The time part.
The time's offset from Coordinated Universal Time (UTC).
Initializes a new instance of the structure using the specified value and offset.
A date and time.
The time's offset from Coordinated Universal Time (UTC).
equals and does not equal zero.
-or-
equals and does not equal the offset of the system's local time zone.
-or-
is not specified in whole minutes.
is less than -14 hours or greater than 14 hours.
-or-
is less than DateTimeOffset.MinValue or greater than DateTimeOffset.MaxValue.
Initializes a new instance of the structure using the specified value.
A date and time.
The Coordinated Universal Time (UTC) date and time that results from applying the offset is earlier than DateTimeOffset.MinValue.
-or-
The UTC date and time that results from applying the offset is later than DateTimeOffset.MaxValue.
Initializes a new instance of the structure using the specified year, month, day, hour, minute, second, millisecond, and offset of a specified calendar.
The year.
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The calendar that is used to interpret , , and .
The time's offset from Coordinated Universal Time (UTC).
does not represent whole minutes.
cannot be .
is less than the parameter's or greater than .
-or-
is either less than or greater than the number of months in in the .
-or-
is less than one or greater than the number of days in .
-or-
is less than zero or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than -14 hours or greater than 14 hours.
-or-
The , , and parameters cannot be represented as a date and time value.
-or-
The property is earlier than DateTimeOffset.MinValue or later than DateTimeOffset.MaxValue.
Initializes a new instance of the structure using the specified , , , , , , , and .
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The microseconds (0 through 999).
The calendar that is used to interpret , , and .
The time's offset from Coordinated Universal Time (UTC).
does not represent whole minutes.
is not in the range supported by .
-or-
is less than 1 or greater than the number of months in .
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than 0 or greater than 999.
-or-
is less than -14 hours or greater than 14 hours.
-or-
The , , and parameters
cannot be represented as a date and time value.
-or-
The property is earlier than or later than .
Initializes a new instance of the structure using the specified , , , , , , , and .
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The microseconds (0 through 999).
The time's offset from Coordinated Universal Time (UTC).
does not represent whole minutes.
is less than 1 or greater than 9999.
-or-
is less than 1 or greater than 12.
-or-
is less than 1 or greater than the number of days in .
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than 0 or greater than 999.
Initializes a new instance of the structure using the specified year, month, day, hour, minute, second, millisecond, and offset.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The milliseconds (0 through 999).
The time's offset from Coordinated Universal Time (UTC).
does not represent whole minutes.
is less than one or greater than 9999.
-or-
is less than one or greater than 12.
-or-
is less than one or greater than the number of days in .
-or-
is less than zero or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
-or-
is less than -14 or greater than 14.
-or-
The property is earlier than DateTimeOffset.MinValue or later than DateTimeOffset.MaxValue.
Initializes a new instance of the structure using the specified year, month, day, hour, minute, second, and offset.
The year (1 through 9999).
The month (1 through 12).
The day (1 through the number of days in ).
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The time's offset from Coordinated Universal Time (UTC).
does not represent whole minutes.
is less than one or greater than 9999.
-or-
is less than one or greater than 12.
-or-
is less than one or greater than the number of days in .
-or-
is less than zero or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than -14 hours or greater than 14 hours.
-or-
The property is earlier than DateTimeOffset.MinValue or later than DateTimeOffset.MaxValue.
Initializes a new instance of the structure using the specified number of ticks and offset.
A date and time expressed as the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 0001.
The time's offset from Coordinated Universal Time (UTC).
is not specified in whole minutes.
The property is earlier than DateTimeOffset.MinValue or later than DateTimeOffset.MaxValue.
-or-
is less than or greater than .
-or-
is less than -14 hours or greater than 14 hours.
Returns a new object that adds a specified time interval to the value of this instance.
A object that represents a positive or a negative time interval.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the time interval represented by .
Returns a new object that adds a specified number of whole and fractional days to the value of this instance.
A number of whole and fractional days. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of days represented by .
Returns a new object that adds a specified number of whole and fractional hours to the value of this instance.
A number of whole and fractional hours. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of hours represented by .
Returns a new object that adds a specified number of microseconds to the value of this instance.
A number of whole and fractional microseconds. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of whole microseconds represented by .
Returns a new object that adds a specified number of milliseconds to the value of this instance.
A number of whole and fractional milliseconds. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of whole milliseconds represented by .
Returns a new object that adds a specified number of whole and fractional minutes to the value of this instance.
A number of whole and fractional minutes. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of minutes represented by .
Returns a new object that adds a specified number of months to the value of this instance.
A number of whole months. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of months represented by .
Returns a new object that adds a specified number of whole and fractional seconds to the value of this instance.
A number of whole and fractional seconds. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of seconds represented by .
Returns a new object that adds a specified number of ticks to the value of this instance.
A number of 100-nanosecond ticks. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of ticks represented by .
Returns a new object that adds a specified number of years to the value of this instance.
A number of years. The number can be negative or positive.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the date and time represented by the current object and the number of years represented by .
Compares two objects and indicates whether the first is earlier than the second, equal to the second, or later than the second.
The first object to compare.
The second object to compare.
A signed integer that indicates whether the value of the parameter is earlier than, later than, or the same time as the value of the parameter, as the following table shows.
Return value Meaning- Less than zero is earlier than .
- Zero is equal to .
- Greater than zero is later than .
Compares the current object to a specified object and indicates whether the current object is earlier than, the same as, or later than the second object.
An object to compare with the current object.
A signed integer that indicates the relationship between the current object and , as the following table shows.
Return Value Description- Less than zero The current object is earlier than .
- Zero The current object is the same as .
- Greater than zero. The current object is later than .
Deconstructs this instance by , , and .
When this method returns, represents the value of this instance.
When this method returns, represents the value of this instance.
When this method returns, represents the value of this instance.
Determines whether two specified objects represent the same point in time.
The first object to compare.
The second object to compare.
if the two objects have the same value; otherwise, .
Determines whether the current object represents the same point in time as a specified object.
An object to compare to the current object.
if both objects have the same value; otherwise, .
Determines whether a object represents the same point in time as a specified object.
The object to compare to the current object.
if the parameter is a object and represents the same point in time as the current object; otherwise, .
Determines whether the current object represents the same time and has the same offset as a specified object.
The object to compare to the current object.
if the current object and have the same date and time value and the same value; otherwise, .
Converts the specified Windows file time to an equivalent local time.
A Windows file time, expressed in ticks.
is less than zero.
-or-
is greater than .
An object that represents the date and time of with the offset set to the local time offset.
Converts a Unix time expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z to a value.
A Unix time, expressed as the number of milliseconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
is less than -62,135,596,800,000.
-or-
is greater than 253,402,300,799,999.
A date and time value that represents the same moment in time as the Unix time.
Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a value.
A Unix time, expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). For Unix times before this date, its value is negative.
is less than -62,135,596,800.
-or-
is greater than 253,402,300,799.
A date and time value that represents the same moment in time as the Unix time.
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Adds a specified time interval to a object that has a specified date and time, and yields a object that has new a date and time.
The object to add the time interval to.
The time interval to add.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object whose value is the sum of the values of and .
Determines whether two specified objects represent the same point in time.
The first object to compare.
The second object to compare.
if both objects have the same value; otherwise, .
Determines whether one specified object is greater than (or later than) a second specified object.
The first object to compare.
The second object to compare.
if the value of is later than the value of ; otherwise, .
Determines whether one specified object is greater than or equal to a second specified object.
The first object to compare.
The second object to compare.
if the value of is the same as or later than the value of ; otherwise, .
Defines an implicit conversion of a object to a object.
The object to convert.
The Coordinated Universal Time (UTC) date and time that results from applying the offset is earlier than DateTimeOffset.MinValue.
-or-
The UTC date and time that results from applying the offset is later than DateTimeOffset.MaxValue.
The converted object.
Determines whether two specified objects refer to different points in time.
The first object to compare.
The second object to compare.
if and do not have the same value; otherwise, .
Determines whether one specified object is less than a second specified object.
The first object to compare.
The second object to compare.
if the value of is earlier than the value of ; otherwise, .
Determines whether one specified object is less than a second specified object.
The first object to compare.
The second object to compare.
if the value of is earlier than the value of ; otherwise, .
Subtracts one object from another and yields a time interval.
The minuend.
The subtrahend.
An object that represents the difference between and .
Subtracts a specified time interval from a specified date and time, and yields a new date and time.
The date and time object to subtract from.
The time interval to subtract.
The resulting value is less than DateTimeOffset.MinValue or greater than DateTimeOffset.MaxValue.
An object that is equal to the value of minus .
Converts the specified span representation of a date and time to its equivalent using the specified culture-specific format information and formatting style.
A span containing the characters that represent a date and time to convert.
An object that provides culture-specific format information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that is equivalent to the date and time that is contained in as specified by and .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the specified string representation of a date and time to its equivalent using the specified culture-specific format information and formatting style.
A string that contains a date and time to convert.
An object that provides culture-specific format information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
The offset is greater than 14 hours or less than -14 hours.
-or-
is not a valid value.
-or-
includes an unsupported value.
-or-
includes values that cannot be used together.
is .
does not contain a valid string representation of a date and time.
-or-
contains the string representation of an offset value without a date or time.
An object that is equivalent to the date and time that is contained in as specified by and .
Converts the specified string representation of a date and time to its equivalent using the specified culture-specific format information.
A string that contains a date and time to convert.
An object that provides culture-specific format information about .
The offset is greater than 14 hours or less than -14 hours.
is .
does not contain a valid string representation of a date and time.
-or-
contains the string representation of an offset value without a date or time.
An object that is equivalent to the date and time that is contained in , as specified by .
Converts the specified string representation of a date, time, and offset to its equivalent.
A string that contains a date and time to convert.
The offset is greater than 14 hours or less than -14 hours.
is .
does not contain a valid string representation of a date and time.
-or-
contains the string representation of an offset value without a date or time.
An object that is equivalent to the date and time that is contained in .
Converts a character span that represents a date and time to its equivalent using the specified format, culture-specific format information, and style. The format of the date and time representation must match the specified format exactly.
A character span that represents a date and time.
A character span that contains a format specifier that defines the expected format of .
An object that provides culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of .
The offset is greater than 14 hours or less than -14 hours.
-or-
The parameter includes an unsupported value.
-or-
The parameter contains values that cannot be used together.
is an empty character span.
-or-
does not contain a valid string representation of a date and time.
-or-
is an empty character span.
-or-
The hour component and the AM/PM designator in do not agree.
An object that is equivalent to the date and time that is contained in the parameter, as specified by the , , and parameters.
Converts a character span that contains the string representation of a date and time to its equivalent using the specified formats, culture-specific format information, and style. The format of the date and time representation must match one of the specified formats exactly.
A character span that contains a date and time to convert.
An array of format specifiers that define the expected formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of .
The offset is greater than 14 hours or less than -14 hours.
-or-
includes an unsupported value.
-or-
The parameter contains values that cannot be used together.
is an empty character span.
-or-
does not contain a valid string representation of a date and time.
-or-
No element of contains a valid format specifier.
-or-
The hour component and the AM/PM designator in do not agree.
An object that is equivalent to the date and time that is contained in the parameter, as specified by the , , and parameters.
Converts the specified string representation of a date and time to its equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly.
A string that contains a date and time to convert.
A format specifier that defines the expected format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of .
The offset is greater than 14 hours or less than -14 hours.
-or-
The parameter includes an unsupported value.
-or-
The parameter contains values that cannot be used together.
is .
-or-
is .
is an empty string ("").
-or-
does not contain a valid string representation of a date and time.
-or-
is an empty string.
-or-
The hour component and the AM/PM designator in do not agree.
An object that is equivalent to the date and time that is contained in the parameter, as specified by the , , and parameters.
Converts the specified string representation of a date and time to its equivalent using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
A string that contains a date and time to convert.
A format specifier that defines the expected format of .
An object that supplies culture-specific formatting information about .
The offset is greater than 14 hours or less than -14 hours.
is .
-or-
is .
is an empty string ("").
-or-
does not contain a valid string representation of a date and time.
-or-
is an empty string.
-or-
The hour component and the AM/PM designator in do not agree.
An object that is equivalent to the date and time that is contained in as specified by and .
Converts the specified string representation of a date and time to its equivalent using the specified formats, culture-specific format information, and style. The format of the string representation must match one of the specified formats exactly.
A string that contains a date and time to convert.
An array of format specifiers that define the expected formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of .
The offset is greater than 14 hours or less than -14 hours.
-or-
includes an unsupported value.
-or-
The parameter contains values that cannot be used together.
is .
is an empty string ("").
-or-
does not contain a valid string representation of a date and time.
-or-
No element of contains a valid format specifier.
-or-
The hour component and the AM/PM designator in do not agree.
An object that is equivalent to the date and time that is contained in the parameter, as specified by the , , and parameters.
Subtracts a value that represents a specific date and time from the current object.
An object that represents the value to subtract.
An object that specifies the interval between the two objects.
Subtracts a specified time interval from the current object.
The time interval to subtract.
The resulting value is less than DateTimeOffset.MinValue.
-or-
The resulting value is greater than DateTimeOffset.MaxValue.
An object that is equal to the date and time represented by the current object, minus the time interval represented by .
Compares the value of the current object with another object of the same type.
The object to compare with the current object.
A 32-bit signed integer that indicates whether the current object is less than, equal to, or greater than . The return values of the method are interpreted as follows:
Return Value Description- Less than zero The current object is less than (earlier than) .
- Zero The current object is equal to (the same point in time as) .
- Greater than zero The current object is greater than (later than) .
Runs when the deserialization of an object has been completed.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
Populates a object with the data required to serialize the current object.
The object to populate with data.
The destination for this serialization (see ).
The parameter is .
Converts the value of the current object to a Windows file time.
The resulting file time would represent a date and time before midnight on January 1, 1601 C.E. Coordinated Universal Time (UTC).
The value of the current object, expressed as a Windows file time.
Converts the current object to a object that represents the local time.
An object that represents the date and time of the current object converted to local time.
Converts the value of the current object to the date and time specified by an offset value.
The offset to convert the value to.
The resulting object has a value earlier than DateTimeOffset.MinValue.
-or-
The resulting object has a value later than DateTimeOffset.MaxValue.
is less than -14 hours.
-or-
is greater than 14 hours.
An object that is equal to the original object (that is, their methods return identical points in time) but whose property is set to .
Converts the value of the current object to its equivalent string representation.
The date and time is outside the range of dates supported by the calendar used by the current culture.
A string representation of a object that includes the offset appended at the end of the string.
Converts the value of the current object to its equivalent string representation using the specified culture-specific formatting information.
An object that supplies culture-specific formatting information.
The date and time is outside the range of dates supported by the calendar used by .
A string representation of the value of the current object, as specified by .
Converts the value of the current object to its equivalent string representation using the specified format and culture-specific format information.
A format string.
An object that supplies culture-specific formatting information.
The length of is one, and it is not one of the standard format specifier characters defined for .
-or-
does not contain a valid custom format pattern.
The date and time is outside the range of dates supported by the calendar used by .
A string representation of the value of the current object, as specified by and .
Converts the value of the current object to its equivalent string representation using the specified format.
A format string.
The length of is one, and it is not one of the standard format specifier characters defined for .
-or-
does not contain a valid custom format pattern.
The date and time is outside the range of dates supported by the calendar used by the current culture.
A string representation of the value of the current object, as specified by .
Converts the current object to a value that represents the Coordinated Universal Time (UTC).
An object that represents the date and time of the current object converted to Coordinated Universal Time (UTC).
Returns the number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z.
The number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z.
Returns the number of seconds that have elapsed since 1970-01-01T00:00:00Z.
The number of seconds that have elapsed since 1970-01-01T00:00:00Z.
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
if the formatting was successful; otherwise, .
Tries to format the value of the current datetime offset instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, the number of characters that were written in .
A span containing the charactes that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to convert a specified span representation of a date and time to its equivalent, and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the date and time to convert.
When the method returns, contains the equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue, if the conversion failed. The conversion fails if the parameter is or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
if the parameter is successfully converted; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a specified span representation of a date and time to its equivalent, and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the date and time to convert.
An object that provides culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of .
When the method returns, contains the value equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue, if the conversion failed. The conversion fails if the parameter is or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
if the parameter is successfully converted; otherwise, .
Tries to converts a specified string representation of a date and time to its equivalent, and returns a value that indicates whether the conversion succeeded.
A string that contains a date and time to convert.
When the method returns, contains the equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue, if the conversion failed. The conversion fails if the parameter is or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
if the parameter is successfully converted; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a specified string representation of a date and time to its equivalent, and returns a value that indicates whether the conversion succeeded.
A string that contains a date and time to convert.
An object that provides culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of .
When the method returns, contains the value equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue, if the conversion failed. The conversion fails if the parameter is or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.
includes an undefined value.
-or-
is not supported.
-or-
includes mutually exclusive values.
if the parameter is successfully converted; otherwise, .
Converts the representation of a date and time in a character span to its equivalent using the specified format, culture-specific format information, and style. The format of the date and time representation must match the specified format exactly.
A span containing the characters that represent a date and time to convert.
A format specifier that defines the required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
When the method returns, contains the equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue if the conversion failed. The conversion fails if the
includes an undefined value.
-or-
is not supported.
-or-
includes mutually exclusive values.
if the parameter is successfully converted; otherwise, .
Converts the representation of a date and time in a character span to its equivalent using the specified formats, culture-specific format information, and style. The format of the date and time representation must match one of the specified formats exactly.
A span containing the characters that represent a date and time to convert.
A array of standard or custom format strings that define the acceptable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
When the method returns, contains the equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue if the conversion failed. The conversion fails if the
includes an undefined value.
-or-
is not supported.
-or-
includes mutually exclusive values.
if the parameter is successfully converted; otherwise, .
Converts the specified string representation of a date and time to its equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly.
A string that contains a date and time to convert.
A format specifier that defines the required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of input. A typical value to specify is .
When the method returns, contains the equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue, if the conversion failed. The conversion fails if the parameter is , or does not contain a valid string representation of a date and time in the expected format defined by and provider. This parameter is passed uninitialized.
includes an undefined value.
-or-
is not supported.
-or-
includes mutually exclusive values.
if the parameter is successfully converted; otherwise, .
Converts the specified string representation of a date and time to its equivalent using the specified array of formats, culture-specific format information, and style. The format of the string representation must match one of the specified formats exactly.
A string that contains a date and time to convert.
An array that defines the expected formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of input. A typical value to specify is .
When the method returns, contains the equivalent to the date and time of , if the conversion succeeded, or DateTimeOffset.MinValue, if the conversion failed. The conversion fails if the does not contain a valid string representation of a date and time, or does not contain the date and time in the expected format defined by , or if is . This parameter is passed uninitialized.
includes an undefined value.
-or-
is not supported.
-or-
includes mutually exclusive values.
if the parameter is successfully converted; otherwise, .
Gets a value that represents the date component of the current object.
A value that represents the date component of the current object.
Gets a value that represents the date and time of the current object.
The date and time of the current object.
Gets the day of the month represented by the current object.
The day component of the current object, expressed as a value between 1 and 31.
Gets the day of the week represented by the current object.
One of the enumeration values that indicates the day of the week of the current object.
Gets the day of the year represented by the current object.
The day of the year of the current object, expressed as a value between 1 and 366.
Gets the hour component of the time represented by the current object.
The hour component of the current object. This property uses a 24-hour clock; the value ranges from 0 to 23.
Gets a value that represents the local date and time of the current object.
The local date and time of the current object.
Gets the microsecond component of the time represented by the current object.
Gets the millisecond component of the time represented by the current object.
The millisecond component of the current object, expressed as an integer between 0 and 999.
Gets the minute component of the time represented by the current object.
The minute component of the current object, expressed as an integer between 0 and 59.
Gets the month component of the date represented by the current object.
The month component of the current object, expressed as an integer between 1 and 12.
Gets the nanosecond component of the time represented by the current object.
Gets a object that is set to the current date and time on the current computer, with the offset set to the local time's offset from Coordinated Universal Time (UTC).
A object whose date and time is the current local time and whose offset is the local time zone's offset from Coordinated Universal Time (UTC).
Gets the time's offset from Coordinated Universal Time (UTC).
The difference between the current object's time value and Coordinated Universal Time (UTC).
Gets the second component of the clock time represented by the current object.
The second component of the object, expressed as an integer value between 0 and 59.
Gets the number of ticks that represents the date and time of the current object in clock time.
The number of ticks in the object's clock time.
Gets the time of day for the current object.
The time interval of the current date that has elapsed since midnight.
Gets the time's offset from Coordinated Universal Time (UTC) in minutes.
Gets a value that represents the Coordinated Universal Time (UTC) date and time of the current object.
The Coordinated Universal Time (UTC) date and time of the current object.
Gets a object whose date and time are set to the current Coordinated Universal Time (UTC) date and time and whose offset is .
An object whose date and time is the current Coordinated Universal Time (UTC) and whose offset is .
Gets the number of ticks that represents the date and time of the current object in Coordinated Universal Time (UTC).
The number of ticks in the object's Coordinated Universal Time (UTC).
Gets the year component of the date represented by the current object.
The year component of the current object, expressed as an integer value between 0 and 9999.
Specifies the day of the week.
Indicates Friday.
Indicates Monday.
Indicates Saturday.
Indicates Sunday.
Indicates Thursday.
Indicates Tuesday.
Indicates Wednesday.
Represents a nonexistent value. This class cannot be inherited.
Represents the sole instance of the class.
Implements the interface and returns the data needed to serialize the object.
A object containing information required to serialize the object.
A object containing the source and destination of the serialized stream associated with the object.
is .
Gets the value for .
The value for , which is .
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
Converts the current object to the specified type.
The type to convert the current object to.
An object that implements the interface and is used to augment the conversion. If is specified, format information is obtained from the current culture.
This conversion is not supported for the type.
is .
The boxed equivalent of the current object, if that conversion is supported; otherwise, an exception is thrown and no value is returned.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
This conversion is not supported. Attempting to make this conversion throws an .
An object that implements the interface. (This parameter is not used; specify .)
This conversion is not supported for the type.
None. The return value for this member is not used.
Returns an empty string ().
An empty string ().
Returns an empty string using the specified .
The to be used to format the return value.
-or-
to obtain the format information from the current locale setting of the operating system.
An empty string ().
Represents a decimal floating-point number.
Represents the largest possible value of . This field is constant and read-only.
Represents the number negative one (-1).
Represents the smallest possible value of . This field is constant and read-only.
Represents the number one (1).
Represents the number zero (0).
Initializes a new instance of to the value of the specified double-precision floating-point number.
The value to represent as a .
is greater than Decimal.MaxValue or less than Decimal.MinValue.
-or-
is , , or .
Initializes a new instance of from parameters specifying the instance's constituent parts.
The low 32 bits of a 96-bit integer.
The middle 32 bits of a 96-bit integer.
The high 32 bits of a 96-bit integer.
to indicate a negative number; to indicate a positive number.
A power of 10 ranging from 0 to 28.
is greater than 28.
Initializes a new instance of to the value of the specified 32-bit signed integer.
The value to represent as a .
Initializes a new instance of to a decimal value represented in binary and contained in a specified array.
An array of 32-bit signed integers containing a representation of a decimal value.
is .
The length of the is not 4.
-or-
The representation of the decimal value in is not valid.
Initializes a new instance of to the value of the specified 64-bit signed integer.
The value to represent as a .
Initializes a new instance of to a decimal value represented in binary and contained in the specified span.
A span of four values that contains a binary representation of a decimal value.
The length of is not 4, or the representation of the decimal value in is not valid.
Initializes a new instance of to the value of the specified single-precision floating-point number.
The value to represent as a .
is greater than Decimal.MaxValue or less than Decimal.MinValue.
-or-
is , , or .
Initializes a new instance of to the value of the specified 32-bit unsigned integer.
The value to represent as a .
Initializes a new instance of to the value of the specified 64-bit unsigned integer.
The value to represent as a .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Adds two specified values.
The first value to add.
The second value to add.
The sum of and is less than Decimal.MinValue or greater than Decimal.MaxValue.
The sum of and .
Returns the smallest integral value that is greater than or equal to the specified decimal number.
A decimal number.
The smallest integral value that is greater than or equal to the parameter. Note that this method returns a instead of an integral type.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares two specified values.
The first value to compare.
The second value to compare.
A signed number indicating the relative values of and .
Return value Meaning- Less than zero is less than .
- Zero and are equal.
- Greater than zero is greater than .
Compares this instance to a specified object and returns a comparison of their relative values.
The object to compare with this instance.
A signed number indicating the relative values of this instance and .
Return value Meaning- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Compares this instance to a specified object and returns a comparison of their relative values.
The object to compare with this instance, or .
is not a .
A signed number indicating the relative values of this instance and .
Return value Meaning- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Converts a value to a specified integer type using saturation on overflow
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Converts a value to a specified integer type using platform specific behavior on overflow.
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Divides two specified values.
The dividend.
The divisor.
is zero.
The return value (that is, the quotient) is less than Decimal.MinValue or greater than Decimal.MaxValue.
The result of dividing by .
Returns a value indicating whether two specified instances of represent the same value.
The first value to compare.
The second value to compare.
if and are equal; otherwise, .
Returns a value indicating whether this instance and a specified object represent the same value.
An object to compare to this instance.
if is equal to this instance; otherwise, .
Returns a value indicating whether this instance and a specified represent the same type and value.
The object to compare with this instance.
if is a and equal to this instance; otherwise, .
Rounds a specified number to the closest integer toward negative infinity.
The value to round.
If has a fractional part, the next whole number toward negative infinity that is less than .
-or-
If doesn't have a fractional part, is returned unchanged. Note that the method returns an integral value of type .
Converts the specified 64-bit signed integer, which contains an OLE Automation Currency value, to the equivalent value.
An OLE Automation Currency value.
A that contains the equivalent of .
Converts the value of a specified instance of to its equivalent binary representation.
The value to convert.
The span into which to store the four-integer binary representation.
The destination span was not long enough to store the binary representation.
, which is the number of integers in the binary representation.
Converts the value of a specified instance of to its equivalent binary representation.
The value to convert.
A 32-bit signed integer array with four elements that contain the binary representation of .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Multiplies two specified values.
The multiplicand.
The multiplier.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The result of multiplying and .
Returns the result of multiplying the specified value by negative one.
The value to negate.
A decimal number with the value of , but the opposite sign.
-or-
Zero, if is zero.
Adds two specified values.
The first value to add.
The second value to add.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The result of adding and .
Decrements the operand by one.
The value to decrement.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The value of decremented by 1.
Divides two specified values.
The dividend.
The divisor.
is zero.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The result of dividing by .
Returns a value that indicates whether two values are equal.
The first value to compare.
The second value to compare.
if and are equal; otherwise, .
Defines an explicit conversion of a to an 8-bit unsigned integer.
The value to convert.
is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer that represents the converted .
Defines an explicit conversion of a to a Unicode character.
The value to convert.
is less than Char.MinValue or greater than Char.MaxValue.
A Unicode character that represents the converted .
Defines an explicit conversion of a to a double-precision floating-point number.
The value to convert.
A double-precision floating-point number that represents the converted .
Defines an explicit conversion of a to a 16-bit signed integer.
The value to convert.
is less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer that represents the converted .
Defines an explicit conversion of a to a 32-bit signed integer.
The value to convert.
is less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer that represents the converted .
Defines an explicit conversion of a to a 64-bit signed integer.
The value to convert.
is less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer that represents the converted .
Defines an explicit conversion of a to an 8-bit signed integer.
This API is not CLS-compliant.
The value to convert.
is less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that represents the converted .
Defines an explicit conversion of a to a single-precision floating-point number.
The value to convert.
A single-precision floating-point number that represents the converted .
Defines an explicit conversion of a to a 16-bit unsigned integer.
This API is not CLS-compliant.
The value to convert.
is less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer that represents the converted .
Defines an explicit conversion of a to a 32-bit unsigned integer.
This API is not CLS-compliant.
The value to convert.
is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer that represents the converted .
Defines an explicit conversion of a to a 64-bit unsigned integer.
This API is not CLS-compliant.
The value to convert.
is negative or greater than UInt64.MaxValue.
A 64-bit unsigned integer that represents the converted .
Defines an explicit conversion of a double-precision floating-point number to a .
The double-precision floating-point number to convert.
is greater than Decimal.MaxValue or less than Decimal.MinValue.
-or-
is , , or .
The converted double-precision floating point number.
Defines an explicit conversion of a single-precision floating-point number to a .
The single-precision floating-point number to convert.
is greater than Decimal.MaxValue or less than Decimal.MinValue.
-or-
is , , or .
The converted single-precision floating point number.
Returns a value indicating whether a specified is greater than another specified .
The first value to compare.
The second value to compare.
if is greater than ; otherwise, .
Returns a value indicating whether a specified is greater than or equal to another specified .
The first value to compare.
The second value to compare.
if is greater than or equal to ; otherwise, .
Defines an implicit conversion of an 8-bit unsigned integer to a .
The 8-bit unsigned integer to convert.
The converted 8-bit unsigned integer.
Defines an implicit conversion of a Unicode character to a .
The Unicode character to convert.
The converted Unicode character.
Defines an implicit conversion of a 16-bit signed integer to a .
The 16-bit signed integer to convert.
The converted 16-bit signed integer.
Defines an implicit conversion of a 32-bit signed integer to a .
The 32-bit signed integer to convert.
The converted 32-bit signed integer.
Defines an implicit conversion of a 64-bit signed integer to a .
The 64-bit signed integer to convert.
The converted 64-bit signed integer.
Defines an implicit conversion of an 8-bit signed integer to a .
This API is not CLS-compliant.
The 8-bit signed integer to convert.
The converted 8-bit signed integer.
Defines an implicit conversion of a 16-bit unsigned integer to a .
This API is not CLS-compliant.
The 16-bit unsigned integer to convert.
The converted 16-bit unsigned integer.
Defines an implicit conversion of a 32-bit unsigned integer to a .
This API is not CLS-compliant.
The 32-bit unsigned integer to convert.
The converted 32-bit unsigned integer.
Defines an implicit conversion of a 64-bit unsigned integer to a .
This API is not CLS-compliant.
The 64-bit unsigned integer to convert.
The converted 64-bit unsigned integer.
Increments the operand by 1.
The value to increment.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The value of incremented by 1.
Returns a value that indicates whether two objects have different values.
The first value to compare.
The second value to compare.
if and are not equal; otherwise, .
Returns a value indicating whether a specified is less than another specified .
The first value to compare.
The second value to compare.
if is less than ; otherwise, .
Returns a value indicating whether a specified is less than or equal to another specified .
The first value to compare.
The second value to compare.
if is less than or equal to ; otherwise, .
Returns the remainder resulting from dividing two specified values.
The dividend.
The divisor.
is .
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The remainder resulting from dividing by .
Multiplies two specified values.
The first value to multiply.
The second value to multiply.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The result of multiplying by .
Subtracts two specified values.
The minuend.
The subtrahend.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The result of subtracting from .
Negates the value of the specified operand.
The value to negate.
The result of multiplied by negative one (-1).
Returns the value of the operand (the sign of the operand is unchanged).
The operand to return.
The value of the operand, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number to its equivalent using the specified style and culture-specific format.
The span containing the characters representing the number to convert.
A bitwise combination of values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific information about the format of .
The number equivalent to the number contained in as specified by and .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number to its equivalent using the specified style and culture-specific format.
The string representation of the number to convert.
A bitwise combination of values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific information about the format of .
is not in the correct format.
represents a number less than Decimal.MinValue or greater than Decimal.MaxValue.
is .
is not a value.
-or-
is the value.
The number equivalent to the number contained in as specified by and .
Converts the string representation of a number in a specified style to its equivalent.
The string representation of the number to convert.
A bitwise combination of values that indicates the style elements that can be present in . A typical value to specify is .
is .
is not a value.
-or-
is the value.
is not in the correct format.
represents a number less than Decimal.MinValue or greater than Decimal.MaxValue
The number equivalent to the number contained in as specified by .
Converts the string representation of a number to its equivalent using the specified culture-specific format information.
The string representation of the number to convert.
An that supplies culture-specific parsing information about .
is .
is not of the correct format.
represents a number less than Decimal.MinValue or greater than Decimal.MaxValue.
The number equivalent to the number contained in as specified by .
Converts the string representation of a number to its equivalent.
The string representation of the number to convert.
is .
is not in the correct format.
represents a number less than Decimal.MinValue or greater than Decimal.MaxValue.
The equivalent to the number contained in .
Computes the remainder after dividing two values.
The dividend.
The divisor.
is zero.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The remainder after dividing by .
Rounds a decimal value to the specified precision using the specified rounding strategy.
A decimal number to round.
The number of significant decimal places (precision) in the return value.
One of the enumeration values that specifies which rounding strategy to use.
is less than 0 or greater than 28.
is not a value.
The result is outside the range of a object.
The number that is rounded to using the rounding strategy and with a precision of . If the precision of is less than , is returned unchanged.
Rounds a value to a specified number of decimal places.
A decimal number to round.
A value from 0 to 28 that specifies the number of decimal places to round to.
is not a value from 0 to 28.
The decimal number equivalent to rounded to decimal places.
Rounds a decimal value to an integer using the specified rounding strategy.
A decimal number to round.
One of the enumeration values that specifies which rounding strategy to use.
is not a value.
The result is outside the range of a object.
The integer that is rounded to using the rounding strategy.
Rounds a decimal value to the nearest integer.
A decimal number to round.
The result is outside the range of a value.
The integer that is nearest to the parameter. If is halfway between two integers, one of which is even and the other odd, the even number is returned.
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Subtracts a specified value from another.
The minuend.
The subtrahend.
The return value is less than Decimal.MinValue or greater than Decimal.MaxValue.
The result of subtracting from .
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The resulting integer value is less than Byte.MinValue or greater than Byte.MaxValue.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
None. This conversion is not supported.
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
None. This conversion is not supported.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The resulting integer value is less than Int16.MinValue or greater than Int16.MaxValue.
The value of the current instance, converted to a .
For a description of this member, see .
The parameter is ignored.
The resulting integer value is less than Int32.MinValue or greater than Int32.MaxValue.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The resulting integer value is less than Int64.MinValue or greater than Int64.MaxValue.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The resulting integer value is less than SByte.MinValue or greater than SByte.MaxValue.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert the value of this instance.
An implementation that supplies culture-specific information about the format of the returned value.
is .
The requested type conversion is not supported.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The resulting integer value is less than UInt16.MinValue or greater than UInt16.MaxValue.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The resulting integer value is less than UInt32.MinValue or greater than UInt32.MaxValue.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The resulting integer value is less than UInt64.MinValue or greater than UInt64.MaxValue.
The value of the current instance, converted to a .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current exponent.
The length, in bits, of the shortest two's complement representation of the current exponent.
Gets the length, in bits, of the current significand.
The length, in bits, of the current significand.
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Tries to write the current exponent, in big-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current exponent, in little-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current significand, in big-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Tries to write the current significand, in little-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Runs when the deserialization of an object has been completed.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
The object contains invalid or corrupted data.
Populates a with the data needed to serialize the target object.
The to populate with data.
The destination (see ) for this serialization.
Converts the value of the specified to the equivalent 8-bit unsigned integer.
The decimal number to convert.
is less than Byte.MinValue or greater than Byte.MaxValue.
An 8-bit unsigned integer equivalent to .
Converts the value of the specified to the equivalent double-precision floating-point number.
The decimal number to convert.
A double-precision floating-point number equivalent to .
Converts the value of the specified to the equivalent 16-bit signed integer.
The decimal number to convert.
is less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer equivalent to .
Converts the value of the specified to the equivalent 32-bit signed integer.
The decimal number to convert.
is less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer equivalent to the value of .
Converts the value of the specified to the equivalent 64-bit signed integer.
The decimal number to convert.
is less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer equivalent to the value of .
Converts the specified value to the equivalent OLE Automation Currency value, which is contained in a 64-bit signed integer.
The decimal number to convert.
A 64-bit signed integer that contains the OLE Automation equivalent of .
Converts the value of the specified to the equivalent 8-bit signed integer.
The decimal number to convert.
is less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer equivalent to .
Converts the value of the specified to the equivalent single-precision floating-point number.
The decimal number to convert.
A single-precision floating-point number equivalent to the value of .
Converts the numeric value of this instance to its equivalent string representation.
A string that represents the value of this instance.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information.
is invalid.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A standard or custom numeric format string.
is invalid.
The string representation of the value of this instance as specified by .
Converts the value of the specified to the equivalent 16-bit unsigned integer.
The decimal number to convert.
is greater than UInt16.MaxValue or less than UInt16.MinValue.
A 16-bit unsigned integer equivalent to the value of .
Converts the value of the specified to the equivalent 32-bit unsigned integer.
The decimal number to convert.
is negative or greater than UInt32.MaxValue.
A 32-bit unsigned integer equivalent to the value of .
Converts the value of the specified to the equivalent 64-bit unsigned integer.
The decimal number to convert.
is negative or greater than UInt64.MaxValue.
A 64-bit unsigned integer equivalent to the value of .
Returns the integral digits of the specified ; any fractional digits are discarded.
The decimal number to truncate.
The result of rounded toward zero, to the nearest whole number.
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current decimal instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to convert the value of a specified instance of to its equivalent binary representation.
The value to convert.
The span into which to store the binary representation.
When this method returns, contains the number of integers written to the destination.
if the decimal's binary representation was written to the destination; if the destination wasn't long enough.
Tries to convert a UTF-8 character span containing the string representation of a number to its signed decimal equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the signed decimal value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the span representation of a number to its equivalent using the culture-specific format. A return value indicates whether the conversion succeeded or failed.
A span containing the characters representing the number to convert.
When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or or represents a number less than Decimal.MinValue or greater than Decimal.MaxValue. This parameter is passed uininitialized; any value originally supplied in is overwritten.
if was converted successfully; otherwise, .
Converts the span representation of a number to its equivalent using the specified style and culture-specific format. A return value indicates whether the conversion succeeded or failed.
A span containing the characters representing the number to convert.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific parsing information about .
When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not a number in a format compliant with , or represents a number less than Decimal.MinValue or greater than Decimal.MaxValue. This parameter is passed uininitialized; any value originally supplied in is overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its equivalent. A return value indicates whether the conversion succeeded or failed.
The string representation of the number to convert.
When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not a number in a valid format, or represents a number less than Decimal.MinValue or greater than Decimal.MaxValue. This parameter is passed uininitialized; any value originally supplied in is overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number to its equivalent using the specified style and culture-specific format. A return value indicates whether the conversion succeeded or failed.
The string representation of the number to convert.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific parsing information about .
When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not a number in a format compliant with , or represents a number less than Decimal.MinValue or greater than Decimal.MaxValue. This parameter is passed uininitialized; any value originally supplied in is overwritten.
is not a value.
-or-
is the value.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Gets the scaling factor of the decimal, which is a number from 0 to 28 that represents the number of decimal digits.
Gets the additive identity of the current type.
Gets the mathematical constant e.
Gets the mathematical constant pi.
Gets the mathematical constant tau.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
Represents a delegate, which is a data structure that refers to a static method or to a class instance and an instance method of that class.
Initializes a delegate that invokes the specified instance method on the specified class instance.
The class instance on which the delegate invokes .
The name of the instance method that the delegate represents.
is .
-or-
is .
There was an error binding to the target method.
Initializes a delegate that invokes the specified static method from the specified class.
The representing the class that defines .
The name of the static method that the delegate represents.
is .
-or-
is .
is not a . See Runtime Types in Reflection).
-or-
represents an open generic type.
Creates a shallow copy of the delegate.
A shallow copy of the delegate.
Concatenates the invocation lists of two delegates.
The delegate whose invocation list comes first.
The delegate whose invocation list comes last.
Both and are not , and and are not instances of the same delegate type.
A new delegate with an invocation list that concatenates the invocation lists of and in that order. Returns if is , returns if is a null reference, and returns a null reference if both and are null references.
Concatenates the invocation lists of an array of delegates.
The array of delegates to combine.
Not all the non-null entries in are instances of the same delegate type.
A new delegate with an invocation list that concatenates the invocation lists of the delegates in the array. Returns if is , if contains zero elements, or if every entry in is .
Concatenates the invocation lists of an span of delegates.
The span of delegates to combine.
A new delegate with an invocation list that concatenates the invocation lists of the delegates in the span.
Returns if is , if contains zero elements, or if every entry in is .
Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate.
The multicast (combinable) delegate whose invocation list to append to the end of the invocation list of the current multicast (combinable) delegate.
Always thrown.
A new multicast (combinable) delegate with an invocation list that concatenates the invocation list of the current multicast (combinable) delegate and the invocation list of , or the current multicast (combinable) delegate if is .
Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument and the specified behavior on failure to bind.
A representing the type of delegate to create.
An that is the first argument of the method the delegate represents. For instance methods, it must be compatible with the instance type.
The describing the static or instance method the delegate is to represent.
to throw an exception if cannot be bound; otherwise, .
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
cannot be bound, and is .
-or-
is not a . See Runtime Types in Reflection).
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified static or instance method, or if is and the delegate cannot be bound to .
Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument.
The of delegate to create.
The object to which the delegate is bound, or to treat as ( in Visual Basic).
The describing the static or instance method the delegate is to represent.
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
cannot be bound.
-or-
is not a . See Runtime Types in Reflection).
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified static or instance method.
Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance, with the specified case-sensitivity and the specified behavior on failure to bind.
The of delegate to create.
The class instance on which is invoked.
The name of the instance method that the delegate is to represent.
A Boolean indicating whether to ignore the case when comparing the name of the method.
to throw an exception if cannot be bound; otherwise, .
is .
-or-
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
is not an instance method.
-or-
cannot be bound, for example because it cannot be found, and is .
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified instance method to invoke on the specified class instance.
Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance with the specified case-sensitivity.
The of delegate to create.
The class instance on which is invoked.
The name of the instance method that the delegate is to represent.
A Boolean indicating whether to ignore the case when comparing the name of the method.
is .
-or-
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
is not an instance method.
-or-
cannot be bound, for example because it cannot be found.
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified instance method to invoke on the specified class instance.
Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance.
The of delegate to create.
The class instance on which is invoked.
The name of the instance method that the delegate is to represent.
is .
-or-
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
is not an instance method.
-or-
cannot be bound, for example because it cannot be found.
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified instance method to invoke on the specified class instance.
Creates a delegate of the specified type to represent the specified static method, with the specified behavior on failure to bind.
The of delegate to create.
The describing the static or instance method the delegate is to represent.
to throw an exception if cannot be bound; otherwise, .
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
cannot be bound, and is .
-or-
is not a . See Runtime Types in Reflection).
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type to represent the specified static method.
Creates a delegate of the specified type to represent the specified method.
The of delegate to create.
The describing the static or instance method the delegate is to represent.
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
cannot be bound.
-or-
is not a . See Runtime Types in Reflection).
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type to represent the specified method.
Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity and the specified behavior on failure to bind.
The of delegate to create.
The representing the class that implements .
The name of the static method that the delegate is to represent.
A Boolean indicating whether to ignore the case when comparing the name of the method.
to throw an exception if cannot be bound; otherwise, .
is .
-or-
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
is not a .
-or-
is an open generic type. That is, its property is .
-or-
is not a method ( method in Visual Basic).
-or-
cannot be bound, for example because it cannot be found, and is .
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified static method of the specified class.
Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity.
The of delegate to create.
The representing the class that implements .
The name of the static method that the delegate is to represent.
A Boolean indicating whether to ignore the case when comparing the name of the method.
is .
-or-
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
is not a .
-or-
is an open generic type. That is, its property is .
-or-
is not a method ( method in Visual Basic).
-or-
cannot be bound, for example because it cannot be found.
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified static method of the specified class.
Creates a delegate of the specified type that represents the specified static method of the specified class.
The of delegate to create.
The representing the class that implements .
The name of the static method that the delegate is to represent.
is .
-or-
is .
-or-
is .
does not inherit .
-or-
is not a . See Runtime Types in Reflection).
-or-
is not a .
-or-
is an open generic type. That is, its property is .
-or-
is not a method ( method in Visual Basic).
The method of is not found.
The caller does not have the permissions necessary to access .
A delegate of the specified type that represents the specified static method of the specified class.
Dynamically invokes (late-bound) the method represented by the current delegate.
An array of objects that are the arguments to pass to the method represented by the current delegate.
-or-
, if the method represented by the current delegate does not require arguments.
The array does not have the correct number of arguments.
The elements of the array do not match the signature of the delegate.
The method represented by the delegate is an instance method and the target object is .
-or-
One of the encapsulated methods throws an exception.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
-or-
The number, order, or type of parameters listed in is invalid.
The object returned by the method represented by the delegate.
Dynamically invokes (late-bound) the method represented by the current delegate.
An array of objects that are the arguments to pass to the method represented by the current delegate.
-or-
, if the method represented by the current delegate does not require arguments.
The array does not have the correct number of arguments.
The elements of the array do not match the signature of the delegate.
The method represented by the delegate is an instance method and the target object is .
-or-
One of the encapsulated methods throws an exception.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
-or-
The number, order, or type of parameters listed in is invalid.
The object returned by the method represented by the delegate.
Gets an enumerator for the invocation targets of this delegate.
The delegate being enumerated.
Delegate type being enumerated.
A that follows the IEnumerable pattern and thus can be used in a C# 'foreach' statement to retrieve the invocation targets of this delegate without allocations. The method returns an empty enumerator for delegate.
Determines whether the specified object and the current delegate are of the same type and share the same targets, methods, and invocation list.
The object to compare with the current delegate.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
if and the current delegate have the same targets, methods, and invocation list; otherwise, .
Returns a hash code for the delegate.
A hash code for the delegate.
Returns the invocation list of the delegate.
An array of delegates representing the invocation list of the current delegate.
Gets the method represented by the current delegate.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
A describing the method represented by the current delegate.
Not supported.
Not supported.
Not supported.
This method is not supported.
Determines whether the specified delegates are equal.
The first delegate to compare.
The second delegate to compare.
if is equal to ; otherwise, .
Determines whether the specified delegates are not equal.
The first delegate to compare.
The second delegate to compare.
if is not equal to ; otherwise, .
Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate.
The delegate from which to remove the invocation list of .
The delegate that supplies the invocation list to remove from the invocation list of .
The delegate types do not match.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
A new delegate with an invocation list formed by taking the invocation list of and removing the last occurrence of the invocation list of , if the invocation list of is found within the invocation list of . Returns if is or if the invocation list of is not found within the invocation list of . Returns a null reference if the invocation list of is equal to the invocation list of or if is a null reference.
Removes all occurrences of the invocation list of a delegate from the invocation list of another delegate.
The delegate from which to remove the invocation list of .
The delegate that supplies the invocation list to remove from the invocation list of .
The delegate types do not match.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
A new delegate with an invocation list formed by taking the invocation list of and removing all occurrences of the invocation list of , if the invocation list of is found within the invocation list of . Returns if is or if the invocation list of is not found within the invocation list of . Returns a null reference if the invocation list of is equal to the invocation list of , if contains only a series of invocation lists that are equal to the invocation list of , or if is a null reference.
Removes the invocation list of a delegate from the invocation list of another delegate.
The delegate that supplies the invocation list to remove from the invocation list of the current delegate.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
A new delegate with an invocation list formed by taking the invocation list of the current delegate and removing the invocation list of , if the invocation list of is found within the current delegate's invocation list. Returns the current delegate if is or if the invocation list of is not found within the current delegate's invocation list. Returns if the invocation list of is equal to the current delegate's invocation list.
Gets a value that indicates whether the has a single invocation target.
if the has a single invocation target.
Gets the method represented by the delegate.
The caller does not have access to the method represented by the delegate (for example, if the method is private).
A describing the method represented by the delegate.
Gets the class instance on which the current delegate invokes the instance method.
The object on which the current delegate invokes the instance method, if the delegate represents an instance method; if the delegate represents a static method.
Provides an enumerator for the invocation list of a delegate.
Delegate type being enumerated.
Implements IEnumerable.GetEnumerator() to return 'this' as the IEnumerator.
An IEnumerator instance that can be used to iterate through the invocation targets of the delegate.
Implements the IEnumerator pattern.
if the enumerator was successfully advanced to the next element; otherwise, if the enumerator has passed the end of the collection.
Implements the IEnumerator pattern.
Specifies that is allowed as an input even if the corresponding type disallows it.
Initializes a new instance of the class.
Indicates that the specified method parameter expects a constant.
Initializes a new instance of the class.
Gets or sets the maximum bound of the expected constant, inclusive.
Gets or sets the minimum bound of the expected constant, inclusive.
Specifies that is disallowed as an input even if the corresponding type allows it.
Initializes a new instance of the class.
Specifies that a method will never return under any circumstance.
Initializes a new instance of the class.
Specifies that the method will not return if the associated parameter is passed the specified value.
Initializes a new instance of the class with the specified parameter value.
The condition parameter value. Code after the method is considered unreachable by diagnostics if the argument to the associated parameter matches this value.
Gets the condition parameter value.
The condition parameter value. Code after the method is considered unreachable by diagnostics if the argument to the associated parameter matches this value.
Indicates that certain members on a specified are accessed dynamically, for example, through .
Initializes a new instance of the class with the specified member types.
The types of the dynamically accessed members.
Gets the that specifies the type of dynamically accessed members.
Specifies the types of members that are dynamically accessed.
This enumeration has a attribute that allows a bitwise combination of its member values.
Specifies all members.
Specifies all constructors, including those inherited from base classes.
Specifies all events, including those inherited from base classes.
Specifies all fields, including those inherited from base classes.
Specifies all methods, including those inherited from base classes.
Specifies all nested types, including those inherited from base classes.
Specifies all properties, including those inherited from base classes.
Specifies all interfaces implemented by the type.
Specifies no members.
Specifies all non-public constructors.
Specifies all non-public constructors, including those inherited from base classes.
Specifies all non-public events.
Specifies all non-public events, including those inherited from base classes.
Specifies all non-public fields.
Specifies all non-public fields, including those inherited from base classes.
Specifies all non-public methods.
Specifies all non-public methods, including those inherited from base classes.
Specifies all non-public nested types.
Specifies all non-public nested types, including those inherited from base classes.
Specifies all non-public properties.
Specifies all non-public properties, including those inherited from base classes.
Specifies all public constructors.
Specifies all public constructors, including those inherited from base classes.
Specifies all public events.
Specifies all public fields.
Specifies all public methods.
Specifies all public nested types.
Specifies all public nested types, including those inherited from base classes.
Specifies the default, parameterless public constructor.
Specifies all public properties.
States a dependency that one member has on another.
Initializes a new instance of the class with the specified types of members on a type in an assembly.
The types of members depended on.
The full name of the type containing the specified members.
The assembly name of the type containing the specified members.
Initializes a new instance of the class with the specified types of members on a .
The types of members depended on.
The type that contains the specified members.
Initializes a new instance of the class with the specified signature of a member on a type in an assembly.
The signature of the member depended on.
The full name of the type containing the specified member.
The assembly name of the type containing the specified member.
Initializes a new instance of the class with the specified signature of a member on a .
The signature of the member depended on.
The type that contains .
Initializes a new instance of the class with the specified signature of a member on the same type as the consumer.
The signature of the member depended on.
Gets the assembly name of the specified type.
Gets or sets the condition in which the dependency is applicable.
Gets the signature of the member depended on.
Gets the types of the members that are depended on, for example, fields and properties.
Gets the containing the specified member.
Gets the full name of the type containing the specified member.
Specifies that the attributed code should be excluded from code coverage information.
Initializes a new instance of the class.
Gets or sets the justification for excluding the member from code coverage.
Indicates that an API is experimental and it may change in the future.
Initializes a new instance of the class, specifying the ID that the compiler will use when reporting a use of the API the attribute applies to.
The ID that the compiler will use when reporting a use of the API the attribute applies to.
Gets the ID that the compiler will use when reporting a use of the API the attribute applies to.
The unique diagnostic ID.
Gets or sets an optional message associated with the experimental attribute.
The message that provides additional information about the experimental feature.
Gets or sets the URL for corresponding documentation.
The API accepts a format string instead of an actual URL, creating a generic URL that includes the diagnostic ID.
The format string that represents a URL to corresponding documentation.
Indicates that the specified public static Boolean read-only property
guards access to the specified feature.
Initializes a new instance of the class
with the specified feature type.
The type that represents the feature guarded by the property.
The type that represents the feature guarded by the property.
Indicates that the specified public static Boolean read-only property
corresponds to the feature switch specified by name.
Initializes a new instance of the class
with the specified feature switch name.
The name of the feature switch that provides the value for the specified property.
The name of the feature switch that provides the value for the specified property.
Specifies that an output may be even if the corresponding type disallows it.
Initializes a new instance of the class.
Specifies that when a method returns , the parameter may be even if the corresponding type disallows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter may be .
Gets the return value condition.
The return value condition. If the method returns this value, the associated parameter may be .
Specifies that the method or property will ensure that the listed field and property members have values that aren't .
Initializes the attribute with a field or property member.
The field or property member that is promised to be non-null.
Initializes the attribute with the list of field and property members.
The list of field and property members that are promised to be non-null.
Gets field or property member names.
Specifies that the method or property will ensure that the listed field and property members have non-null values when returning with the specified return value condition.
Initializes the attribute with the specified return value condition and a field or property member.
The return value condition. If the method returns this value, the associated parameter will not be .
The field or property member that is promised to be non-null.
Initializes the attribute with the specified return value condition and list of field and property members.
The return value condition. If the method returns this value, the associated parameter will not be .
The list of field and property members that are promised to be non-null.
Gets field or property member names.
Gets the return value condition.
Specifies that an output is not even if the corresponding type allows it. Specifies that an input argument was not when the call returns.
Initializes a new instance of the class.
Specifies that the output will be non-null if the named parameter is non-null.
Initializes the attribute with the associated parameter name.
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
Gets the associated parameter name.
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
Specifies that when a method returns , the parameter will not be even if the corresponding type allows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter will not be .
Gets the return value condition.
The return value condition. If the method returns this value, the associated parameter will not be .
Indicates that the specified member requires assembly files to be on disk.
Initializes a new instance of the class.
Initializes a new instance of the class.
A message that contains information about the need for assembly files to be on disk.
Gets an optional message that contains information about the need for assembly files to be on disk.
Gets or sets an optional URL that contains more information about the member, why it requires assembly files to be on disk, and what options a consumer has to deal with it.
Indicates that the specified method requires the ability to generate new code at runtime, for example through .
Initializes a new instance of the class with the specified message.
A message that contains information about the usage of dynamic code.
Gets or sets a value that indicates whether the annotation should apply to static members.
Gets a message that contains information about the usage of dynamic code.
Gets or sets an optional URL that contains more information about the method, why it requires dynamic code, and what options a consumer has to deal with it.
Indicates that the specified method requires dynamic access to code that is not referenced statically, for example, through .
Initializes a new instance of the class with the specified message.
A message that contains information about the usage of unreferenced code.
Gets or sets a value that indicates whether the annotation should apply to static members.
Gets a message that contains information about the usage of unreferenced code.
Gets or sets an optional URL that contains more information about the method, why it requires unreferenced code, and what options a consumer has to deal with it.
Specifies that this constructor sets all required members for the current type, and callers do not need to set any required members themselves.
Initializes a new instance of the class.
Specifies the syntax used in a string.
The syntax identifier for strings containing composite formats for string formatting.
The syntax identifier for strings containing date format specifiers.
The syntax identifier for strings containing date and time format specifiers.
The syntax identifier for strings containing format specifiers.
The syntax identifier for strings containing format specifiers.
The syntax identifier for strings containing JavaScript Object Notation (JSON).
The syntax identifier for strings containing numeric format specifiers.
The syntax identifier for strings containing regular expressions.
The syntax identifier for strings containing time format specifiers.
The syntax identifier for strings containing format specifiers.
The syntax identifier for strings containing URIs.
The syntax identifier for strings containing XML.
Initializes the with the identifier of the syntax used.
The syntax identifier.
Optional arguments associated with the specific syntax employed.
Initializes the with the identifier of the syntax used.
The syntax identifier.
Gets the optional arguments associated with the specific syntax employed.
Gets the identifier of the syntax used.
Suppresses reporting of a specific code analysis rule violation, allowing multiple suppressions on a single code artifact. Does not apply to compiler diagnostics.
Initializes a new instance of the class, specifying the category of the code analysis tool and the identifier for an analysis rule.
The category for the attribute.
The identifier of the analysis tool rule the attribute applies to.
Gets the category identifying the classification of the attribute.
The category identifying the attribute.
Gets the identifier of the code analysis tool rule to be suppressed.
The identifier of the code analysis tool rule to be suppressed.
Gets or sets the justification for suppressing the code analysis message.
The justification for suppressing the message.
Gets or sets the expanded exclusion criteria.
A string containing the expanded exclusion criteria.
Gets or sets the scope of the code that is relevant for the attribute.
The scope of the code that is relevant for the attribute.
Gets or sets a fully qualified path that represents the code analysis target.
A fully qualified path that represents the code analysis target.
Suppresses reporting of a specific rule violation, allowing multiple suppressions on a single code artifact.
Initializes a new instance of the class, specifying the category of the tool and the identifier for an analysis rule.
The category for the attribute.
The identifier of the analysis rule the attribute applies to.
Gets the category identifying the classification of the attribute.
Gets the identifier of the analysis tool rule to be suppressed.
Gets or sets the justification for suppressing the code analysis message.
Gets or sets an optional argument expanding on exclusion criteria.
Gets or sets the scope of the code that is relevant for the attribute.
Gets or sets a fully qualified path that represents the target of the attribute.
Used to indicate a byref escapes and is not scoped.
Initializes a new instance of the class.
Indicates to compilers that a method call or attribute should be ignored unless a specified conditional compilation symbol is defined.
Initializes a new instance of the class.
A string that specifies the case-sensitive conditional compilation symbol that is associated with the attribute.
Gets the conditional compilation symbol that is associated with the attribute.
A string that specifies the case-sensitive conditional compilation symbol that is associated with the attribute.
Provides a set of methods and properties that help debug your code.
Checks for a condition; if the condition is , outputs a specified message and displays a message box that shows the call stack.
The conditional expression to evaluate. If the condition is , the specified message is not sent and the message box is not displayed.
The message to send to the collection.
The detailed message to send to the collection.
Checks for a condition; if the condition is , outputs a specified message and displays a message box that shows the call stack.
The conditional expression to evaluate. If the condition is , the specified message is not sent and the message box is not displayed.
The message to send to the collection.
Checks for a condition; if the condition is , outputs two messages (simple and formatted) and displays a message box that shows the call stack.
The conditional expression to evaluate. If the condition is , the specified messages are not sent and the message box is not displayed.
The message to send to the collection.
The composite format string to send to the collection. This message contains text intermixed with zero or more format items, which correspond to objects in the array.
An object array that contains zero or more objects to format.
Checks for a condition; if the condition is , outputs two specified messages and displays a message box that shows the call stack.
The conditional expression to evaluate. If the condition is , the specified messages are not sent and the message box is not displayed.
The message to send to the collection.
The detailed message to send to the collection.
Checks for a condition; if the condition is , outputs a specified message and displays a message box that shows the call stack.
The conditional expression to evaluate. If the condition is , the specified message is not sent and the message box is not displayed.
The message to send to the collection.
Checks for a condition; if the condition is , displays a message box that shows the call stack.
The conditional expression to evaluate. If the condition is , a failure message is not sent and the message box is not displayed.
Flushes the output buffer and then calls the method on each of the .
Emits an error message and a detailed error message.
A message to emit.
A detailed message to emit.
Emits the specified error message.
A message to emit.
Flushes the output buffer and causes buffered data to write to the collection.
Increases the current by one.
Writes a formatted string followed by a line terminator to the trace listeners in the collection.
A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the array.
An object array containing zero or more objects to format.
is .
is invalid.
-or-
The number that indicates an argument to format is less than zero, or greater than or equal to the number of specified objects to format.
Writes a message followed by a line terminator to the trace listeners in the collection.
The message to write.
Decreases the current by one.
Writes a category name and the value of the object's method to the trace listeners in the collection.
An object whose name is sent to the .
A category name used to organize the output.
Writes the value of the object's method to the trace listeners in the collection.
An object whose name is sent to the .
Writes a category name and message to the trace listeners in the collection.
A message to write.
A category name used to organize the output.
Writes a message to the trace listeners in the collection.
A message to write.
Writes a category name and message to the trace listeners in the collection if a specified condition is .
The conditional expression to evaluate. If the condition is , the message is written to the trace listeners in the collection.
The message to write.
A category name used to organize the output.
If is , writes a category name and message to the trace listeners in the collection.
The message to write if is .
A category name used to organize the output.
The conditional expression to evaluate. If the condition is , the value is written to the trace listeners in the collection.
Writes a category name and the value of the object's method to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the category name and value are written to the trace listeners in the collection.
An object whose name is sent to the .
A category name used to organize the output.
Writes the value of the object's method to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the value is written to the trace listeners in the collection.
An object whose name is sent to the .
Writes a category name and message to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the category name and message are written to the trace listeners in the collection.
A message to write.
A category name used to organize the output.
Writes a message to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the message is written to the trace listeners in the collection.
A message to write.
Writes a category name and the value of the object's method to the trace listeners in the collection.
An object whose name is sent to the .
A category name used to organize the output.
Writes the value of the object's method to the trace listeners in the collection.
An object whose name is sent to the .
Writes a formatted message followed by a line terminator to the trace listeners in the collection.
A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the array.
An object array that contains zero or more objects to format.
Writes a category name and message to the trace listeners in the collection.
A message to write.
A category name used to organize the output.
Writes a message followed by a line terminator to the trace listeners in the collection.
A message to write.
Writes a category name and message to the trace listeners in the collection if a specified condition is .
The conditional expression to evaluate. If the condition is , the message and category name are written to the trace listeners in the collection.
The message to write.
A category name used to organize the output.
Writes a message to the trace listeners in the collection if a specified condition is .
The conditional expression to evaluate. If the condition is , the message is written to the trace listeners in the collection.
The message to write.
Writes a category name and the value of the object's method to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the category name and value are written to the trace listeners in the collection.
An object whose name is sent to the .
A category name used to organize the output.
Writes the value of the object's method to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the value is written to the trace listeners in the collection.
An object whose name is sent to the .
Writes a category name and message to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the message and cateogry name are written to the trace listeners in the collection.
The message to write.
A category name used to organize the output.
Writes a message to the trace listeners in the collection if a condition is .
The conditional expression to evaluate. If the condition is , the message is written to the trace listeners in the collection.
The message to write.
Gets or sets a value indicating whether should be called on the after every write.
if is called on the after every write; otherwise, .
Gets or sets the indent level.
The indent level. The default is 0.
Gets or sets the number of spaces in an indent.
The number of spaces in an indent. The default is four.
Provides an interpolated string handler for that only performs formatting if the assert fails.
Creates an instance of the handler.
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
The condition Boolean passed to the method.
A value indicating whether formatting should proceed.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified string of chars to the handler.
The span to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified character span to the handler.
The span to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified value to the handler.
The value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The type of the value to write.
Writes the specified string to the handler.
The string to write.
Provides an interpolated string handler for and that only performs formatting if the condition applies.
Creates an instance of the handler.
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
The condition Boolean passed to the method.
A value indicating whether formatting should proceed.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified string of chars to the handler.
The span to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified character span to the handler.
The span to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified value to the handler.
The value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The type of the value to write.
Writes the specified string to the handler.
The string to write.
Modifies code generation for runtime just-in-time (JIT) debugging. This class cannot be inherited.
Initializes a new instance of the class, using the specified tracking and optimization options for the just-in-time (JIT) compiler.
to enable debugging; otherwise, .
to disable the optimizer for execution; otherwise, .
Initializes a new instance of the class, using the specified debugging modes for the just-in-time (JIT) compiler.
A bitwise combination of the values specifying the debugging mode for the JIT compiler.
Gets the debugging modes for the attribute.
A bitwise combination of the values describing the debugging mode for the just-in-time (JIT) compiler. The default is .
Gets a value that indicates whether the runtime optimizer is disabled.
if the runtime optimizer is disabled; otherwise, .
Gets a value that indicates whether the runtime will track information during code generation for the debugger.
if the runtime will track information during code generation for the debugger; otherwise, .
Specifies the debugging mode for the just-in-time (JIT) compiler.
Instructs the just-in-time (JIT) compiler to use its default behavior, which includes enabling optimizations, disabling Edit and Continue support, and using symbol store sequence points if present. Starting with the .NET Framework version 2.0, JIT tracking information, the Microsoft intermediate language (MSIL) offset to the native-code offset within a method, is always generated.
Disable optimizations performed by the compiler to make your output file smaller, faster, and more efficient. Optimizations result in code rearrangement in the output file, which can make debugging difficult. Typically optimization should be disabled while debugging. In versions 2.0 or later, combine this value with Default (Default | DisableOptimizations) to enable JIT tracking and disable optimizations.
Enable edit and continue. Edit and continue enables you to make changes to your source code while your program is in break mode. The ability to edit and continue is compiler dependent.
Use the implicit MSIL sequence points, not the program database (PDB) sequence points. The symbolic information normally includes at least one Microsoft intermediate language (MSIL) offset for each source line. When the just-in-time (JIT) compiler is about to compile a method, it asks the profiling services for a list of MSIL offsets that should be preserved. These MSIL offsets are called sequence points.
Starting with the .NET Framework version 2.0, JIT tracking information is always generated, and this flag has the same effect as , except that it sets the property to . However, because JIT tracking is always enabled, the property value is ignored in version 2.0 or later.
Note that, unlike the flag, the flag cannot be used to disable JIT optimizations.
Enables communication with a debugger. This class cannot be inherited.
Represents the default category of message with a constant.
Signals a breakpoint to an attached debugger.
The is not set to break into the debugger.
Signals a breakpoint to an attached debugger with the details if a .NET debugger is attached with break on user-unhandled exception enabled and a method attributed with DebuggerDisableUserUnhandledExceptionsAttribute calls this method.
The user-unhandled exception.
Checks to see if logging is enabled by an attached debugger.
if a debugger is attached and logging is enabled; otherwise, . The attached debugger is the registered managed debugger in the registry key. For more information on this key, see Enabling JIT-Attach Debugging.
Launches and attaches a debugger to the process.
The is not set to start the debugger.
if the startup is successful or if the debugger is already attached; otherwise, .
Posts a message for the attached debugger.
A description of the importance of the message.
The category of the message.
The message to show.
Notifies a debugger that execution is about to enter a path that involves a cross-thread dependency.
Gets a value that indicates whether a debugger is attached to the process.
if a debugger is attached; otherwise, .
Determines if and how a member is displayed in the debugger variable windows. This class cannot be inherited.
Initializes a new instance of the class.
One of the values that specifies how to display the member.
is not one of the values.
Gets the display state for the attribute.
One of the values.
Provides display instructions for the debugger.
Show the element as collapsed.
Never show the element.
Do not display the root element; display the child elements if the element is a collection or array of items.
If a .NET Debugger is attached that supports the API, the debugger won't break on user-unhandled exceptions when the exception is caught by a method with this attribute, unless is called.
Initializes a new instance of the class.
Determines how a class or field is displayed in the debugger variable windows.
Initializes a new instance of the class.
The string to be displayed in the value column for instances of the type; an empty string ("") causes the value column to be hidden.
Gets or sets the name to display in the debugger variable windows.
The name to display in the debugger variable windows.
Gets or sets the type of the attribute's target.
is set to .
The attribute's target type.
Gets or sets the type name of the attribute's target.
The name of the attribute's target type.
Gets or sets the string to display in the type column of the debugger variable windows.
The string to display in the type column of the debugger variable windows.
Gets the string to display in the value column of the debugger variable windows.
The string to display in the value column of the debugger variable.
Specifies the . This class cannot be inherited.
Initializes a new instance of the class.
Identifies a type or member that is not part of the user code for an application.
Initializes a new instance of the class.
Indicates the code following the attribute is to be executed in run, not step, mode.
Initializes a new instance of the class.
Instructs the debugger to step through the code instead of stepping into the code. This class cannot be inherited.
Initializes a new instance of the class.
Specifies the display proxy for a type.
Initializes a new instance of the class using the type name of the proxy.
The type name of the proxy type.
Initializes a new instance of the class using the type of the proxy.
The proxy type.
is .
Gets the type name of the proxy type.
The type name of the proxy type.
Gets or sets the target type for the attribute.
is set to .
The target type for the attribute.
Gets or sets the name of the target type.
The name of the target type.
Specifies that the type has a visualizer. This class cannot be inherited.
Initializes a new instance of the class, specifying the type name of the visualizer and the type name of the visualizer object source.
The fully qualified type name of the visualizer.
The fully qualified type name of the visualizer object source.
Initializes a new instance of the class, specifying the type name of the visualizer and the type of the visualizer object source.
The fully qualified type name of the visualizer.
The type of the visualizer object source.
is .
Initializes a new instance of the class, specifying the type name of the visualizer.
The fully qualified type name of the visualizer.
Initializes a new instance of the class, specifying the type of the visualizer and the type name of the visualizer object source.
The type of the visualizer.
The fully qualified type name of the visualizer object source.
is .
Initializes a new instance of the class, specifying the type of the visualizer and the type of the visualizer object source.
The type of the visualizer.
The type of the visualizer object source.
is .
Initializes a new instance of the class, specifying the type of the visualizer.
The type of the visualizer.
is .
Gets or sets the description of the visualizer.
The description of the visualizer.
Gets or sets the target type when the attribute is applied at the assembly level.
The value cannot be set because it is .
The type that is the target of the visualizer.
Gets or sets the fully qualified type name when the attribute is applied at the assembly level.
The fully qualified type name of the target type.
Gets the fully qualified type name of the visualizer object source.
The fully qualified type name of the visualizer object source.
Gets the fully qualified type name of the visualizer.
The fully qualified visualizer type name.
Types and Methods attributed with StackTraceHidden will be omitted from the stack trace text shown in StackTrace.ToString() and Exception.StackTrace
Initializes a new instance of the class.
Provides a set of methods and properties that you can use to accurately measure elapsed time.
Gets the frequency of the timer as the number of ticks per second. This field is read-only.
Indicates whether the timer is based on a high-resolution performance counter. This field is read-only.
Initializes a new instance of the class.
Gets the elapsed time between two timestamps retrieved using .
The timestamp marking the beginning of the time period.
The timestamp marking the end of the time period.
A for the elapsed time between the starting and ending timestamps.
Gets the elapsed time since the value retrieved using .
The timestamp marking the beginning of the time period.
A for the elapsed time between the starting timestamp and the time of this call.
Gets the current number of ticks in the timer mechanism.
A long integer representing the tick counter value of the underlying timer mechanism.
Stops time interval measurement and resets the elapsed time to zero.
Stops time interval measurement, resets the elapsed time to zero, and starts measuring elapsed time.
Starts, or resumes, measuring elapsed time for an interval.
Initializes a new instance, sets the elapsed time property to zero, and starts measuring elapsed time.
A that has just begun measuring elapsed time.
Stops measuring elapsed time for an interval.
Returns the time as a string.
The elapsed time string in the same format used by .
Gets the total elapsed time measured by the current instance.
A read-only representing the total elapsed time measured by the current instance.
Gets the total elapsed time measured by the current instance, in milliseconds.
A read-only long integer representing the total number of milliseconds measured by the current instance.
Gets the total elapsed time measured by the current instance, in timer ticks.
A read-only long integer representing the total number of timer ticks measured by the current instance.
Gets a value indicating whether the timer is running.
if the instance is currently running and measuring elapsed time for an interval; otherwise, .
The exception that is thrown when the program executes an instruction that was thought to be unreachable.
Initializes a new instance of the class with the default error message.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
The exception that is thrown when there is an attempt to divide an integral or value by zero.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Represents a double-precision floating-point number.
Represents the natural logarithmic base, specified by the constant, e.
Represents the smallest positive value that is greater than zero. This field is constant.
Represents the largest possible value of a . This field is constant.
Represents the smallest possible value of a . This field is constant.
Represents a value that is not a number (). This field is constant.
Represents negative infinity. This field is constant.
Represents the number negative zero (-0).
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.
Represents positive infinity. This field is constant.
Represents the number of radians in one turn, specified by the constant, τ.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Computes the arc-cosine of a value.
The value, in radians, whose arc-cosine is to be computed.
The arc-cosine of .
Computes the hyperbolic arc-cosine of a value.
The value, in radians, whose hyperbolic arc-cosine is to be computed.
The hyperbolic arc-cosine of .
Computes the arc-cosine of a value and divides the result by pi.
The value whose arc-cosine is to be computed.
The arc-cosine of , divided by pi.
Computes the arc-sine of a value.
The value, in radians, whose arc-sine is to be computed.
The arc-sine of .
Computes the hyperbolic arc-sine of a value.
The value, in radians, whose hyperbolic arc-sine is to be computed.
The hyperbolic arc-sine of .
Computes the arc-sine of a value and divides the result by pi.
The value whose arc-sine is to be computed.
The arc-sine of , divided by pi.
Computes the arc-tangent of a value.
The value, in radians, whose arc-tangent is to be computed.
The arc-tangent of .
Computes the arc-tangent of the quotient of two values.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by .
Computes the arc-tangent for the quotient of two values and divides the result by pi.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by , divided by pi.
Computes the hyperbolic arc-tangent of a value.
The value, in radians, whose hyperbolic arc-tangent is to be computed.
The hyperbolic arc-tangent of .
Computes the arc-tangent of a value and divides the result by pi.
The value whose arc-tangent is to be computed.
The arc-tangent of , divided by pi.
Returns the largest value that compares less than a specified value.
The value to be bitwise decremented.
The largest value that compares less than .
Returns the smallest value that compares greater than a specified value.
The value to be bitwise incremented.
The smallest value that compares greater than .
Computes the cube-root of a value.
The value whose cube-root is to be computed.
The cube-root of .
Computes the ceiling of a value.
The value whose ceiling is to be computed.
The ceiling of .
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Clamps a value to an inclusive minimum and maximum value using platform-specific behavior for NaN and NegativeZero.
The value to clamp.
The inclusive minimum to which value should clamp.
The inclusive maximum to which value should clamp.
The result of clamping value to the inclusive range of min and max.
Compares this instance to a specified double-precision floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified double-precision floating-point number.
A double-precision floating-point number to compare.
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than , or this instance is not a number () and is a number.
- Zero This instance is equal to , or both this instance and are not a number (), , or .
- Greater than zero This instance is greater than , or this instance is a number and is not a number ().
Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
An object to compare, or .
is not a .
A signed number indicating the relative values of this instance and .
Value Description- A negative integer This instance is less than , or this instance is not a number () and is a number.
- Zero This instance is equal to , or this instance and are both , , or
- A positive integer This instance is greater than , OR this instance is a number and is not a number (), OR is .
Converts a value to a specified integer type using saturation on overflow
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Converts a value to a specified integer type using platform specific behavior on overflow.
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Computes the cosine of a value.
The value, in radians, whose cosine is to be computed.
The cosine of .
Computes the hyperbolic cosine of a value.
The value, in radians, whose hyperbolic cosine is to be computed.
The hyperbolic cosine of .
Computes the cosine of a value that has been multipled by pi.
The value, in half-revolutions, whose cosine is to be computed.
The cosine of multiplied-by pi.
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Converts a given value from degrees to radians.
The value to convert to radians.
The value of converted to radians.
Returns a value indicating whether this instance and a specified object represent the same value.
A object to compare to this instance.
if is equal to this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if is an instance of and equals the value of this instance; otherwise, .
Computes E raised to a given power.
The power to which E is raised.
E raised to the power of .
Computes 10 raised to a given power.
The power to which 10 is raised.
10
Computes 10 raised to a given power and subtracts one.
The power to which 10 is raised.
10 - 1
Computes 2 raised to a given power.
The power to which 2 is raised.
2
Computes 2 raised to a given power and subtracts one.
The power to which 2 is raised.
2 - 1
Computes E raised to a given power and subtracts one.
The power to which E is raised.
E - 1
Computes the floor of a value.
The value whose floor is to be computed.
The floor of .
Computes the fused multiply-add of three values.
The value that multiplies.
The value that multiplies .
The value that is added to the product of and .
The result of times plus computed as one ternary operation.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Computes the hypotenuse given two values representing the lengths of the shorter sides in a right-angled triangle.
The value to square and add to .
The value to square and add to .
The square root of -squared plus -squared.
Computes the remainder of two values as specified by IEEE 754.
The value that divides.
The value that divides .
The remainder of divided-by as specified by IEEE 754.
Computes the integer logarithm of a value.
The value whose integer logarithm is to be computed.
The integer logarithm of .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines whether the specified value is finite (zero, subnormal, or normal).
A double-precision floating-point number.
if the value is finite (zero, subnormal or normal); otherwise.
Returns a value indicating whether the specified number evaluates to negative or positive infinity.
A double-precision floating-point number.
if evaluates to or ; otherwise, .
Determines if a value represents an integral value.
The value to be checked.
if is an integer; otherwise, .
Returns a value that indicates whether the specified value is not a number ().
A double-precision floating-point number.
if evaluates to ; otherwise, .
Determines whether the specified value is negative.
A double-precision floating-point number.
if the value is negative; otherwise.
Returns a value indicating whether the specified number evaluates to negative infinity.
A double-precision floating-point number.
if evaluates to ; otherwise, .
Determines whether the specified value is normal.
A double-precision floating-point number.
if the value is normal; otherwise.
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Returns a value indicating whether the specified number evaluates to positive infinity.
A double-precision floating-point number.
if evaluates to ; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines whether the specified value is subnormal.
A double-precision floating-point number.
if the value is subnormal; otherwise.
Performs a linear interpolation between two values based on the given weight.
The first value, which is intended to be the lower bound.
The second value, which is intended to be the upper bound.
A value, intended to be between 0 and 1, that indicates the weight of the interpolation.
The interpolated value.
Computes the logarithm of a value in the specified base.
The value whose logarithm is to be computed.
The base in which the logarithm is to be computed.
The base- logarithm of .
Computes the natural (base-E logarithm of a value.
The value whose natural logarithm is to be computed.
The natural logarithm of .
Computes the base-10 logarithm of a value.
The value whose base-10 logarithm is to be computed.
The base-10 logarithm of .
Computes the base-10 logarithm of a value plus one.
The value to which one is added before computing the base-10 logarithm.
log10( + 1)
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Computes the base-2 logarithm of a value plus one.
The value to which one is added before computing the base-2 logarithm.
log2( + 1)
Computes the natural (base-E) logarithm of a value plus one.
The value to which one is added before computing the natural logarithm.
loge( + 1)
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater using platform-specific behavior for NaN and NegativeZero.
The value to compare with y.
The value to compare with x.
x if it is greater than y; otherwise, y.
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser using platform-specific behavior for NaN and NegativeZero.
The value to compare with y.
The value to compare with x.
x if it is lesser than y; otherwise, y.
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of (left * right) + addend.
The value to be multiplied with right.
The value to be multiplied with left.
The value to be added to the result of left multiplied by right.
An estimate of (left * right) + addend.
Returns a value that indicates whether two specified values are equal.
The first value to compare.
The second value to compare.
if and are equal; otherwise, .
Returns a value that indicates whether a specified value is greater than another specified value.
The first value to compare.
The second value to compare.
if is greater than ; otherwise, .
Returns a value that indicates whether a specified value is greater than or equal to another specified value.
The first value to compare.
The second value to compare.
if is greater than or equal to ; otherwise, .
Returns a value that indicates whether two specified values are not equal.
The first value to compare.
The second value to compare.
if and are not equal; otherwise, .
Returns a value that indicates whether a specified value is less than another specified value.
The first value to compare.
The second value to compare.
if is less than ; otherwise, .
Returns a value that indicates whether a specified value is less than or equal to another specified value.
The first value to compare.
The second value to compare.
if is less than or equal to ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts a character span that contains the string representation of a number in a specified style and culture-specific format to its double-precision floating-point number equivalent.
A character span that contains the number to convert.
A bitwise combination of enumeration values that indicate the style elements that can be present in . A typical value to specify is combined with .
An object that supplies culture-specific formatting information about .
does not represent a numeric value.
is not a value.
-or-
is the value.
A double-precision floating-point number that is equivalent to the numeric value or symbol specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its double-precision floating-point number equivalent.
A string that contains a number to convert.
A bitwise combination of enumeration values that indicate the style elements that can be present in . A typical value to specify is combined with .
An object that supplies culture-specific formatting information about .
is .
does not represent a numeric value.
is not a value.
-or-
is the value.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number that is less than Double.MinValue or greater than Double.MaxValue.
A double-precision floating-point number that is equivalent to the numeric value or symbol specified in .
Converts the string representation of a number in a specified style to its double-precision floating-point number equivalent.
A string that contains a number to convert.
A bitwise combination of enumeration values that indicate the style elements that can be present in . A typical value to specify is a combination of combined with .
is .
does not represent a number in a valid format.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number that is less than Double.MinValue or greater than Double.MaxValue.
is not a value.
-or-
includes the value.
A double-precision floating-point number that is equivalent to the numeric value or symbol specified in .
Converts the string representation of a number in a specified culture-specific format to its double-precision floating-point number equivalent.
A string that contains a number to convert.
An object that supplies culture-specific formatting information about .
is .
does not represent a number in a valid format.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number that is less than Double.MinValue or greater than Double.MaxValue.
A double-precision floating-point number that is equivalent to the numeric value or symbol specified in .
Converts the string representation of a number to its double-precision floating-point number equivalent.
A string that contains a number to convert.
is .
does not represent a number in a valid format.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number that is less than Double.MinValue or greater than Double.MaxValue.
A double-precision floating-point number that is equivalent to the numeric value or symbol specified in .
Computes a value raised to a given power.
The value that is raised to the power of .
The power to which is raised.
raised to the power of .
Converts a given value from radians to degrees.
The value to convert to degrees.
The value of converted to degrees.
Computes an estimate of the reciprocal of a value.
The value whose estimate of the reciprocal is to be computed.
An estimate of the reciprocal of .
Computes an estimate of the reciprocal square root of a value.
The value whose estimate of the reciprocal square root is to be computed.
An estimate of the reciprocal square root of .
Computes the n-th root of a value.
The value whose -th root is to be computed.
The degree of the root to be computed.
The -th root of .
Rounds a value to a specified number of fractional-digits using the default rounding mode ().
The value to round.
The number of fractional digits to which should be rounded.
The mode under which should be rounded.
The result of rounding to fractional-digits using .
Rounds a value to a specified number of fractional-digits using the default rounding mode ().
The value to round.
The number of fractional digits to which should be rounded.
The result of rounding to fractional-digits using the default rounding mode.
Rounds a value to the nearest integer using the specified rounding mode.
The value to round.
The mode under which should be rounded.
The result of rounding to the nearest integer using .
Rounds a value to the nearest integer using the default rounding mode ().
The value to round.
The result of rounding to the nearest integer using the default rounding mode.
Computes the product of a value and its base-radix raised to the specified power.
The value that base-radix raised to the power of multiplies.
The value to which base-radix is raised before multipliying .
The product of and base-radix raised to the power of .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Computes the sine of a value.
The value, in radians, whose sine is to be computed.
The sine of .
Computes the sine and cosine of a value.
The value, in radians, whose sine and cosine are to be computed.
The sine and cosine of .
Computes the sine and cosine of a value.
The value, in radians, whose sine and cosine are to be computed.
The sine and cosine of .
Computes the hyperbolic sine of a value.
The value, in radians, whose hyperbolic sine is to be computed.
The hyperbolic sine of .
Computes the sine of a value that has been multiplied by pi.
The value, in half-revolutions, that is multipled by pi before computing its sine.
The sine of multiplied-by pi.
Computes the square-root of a value.
The value whose square-root is to be computed.
The square-root of .
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An implementation that supplies culture-specific information about the format of the returned value.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current exponent.
The length, in bits, of the shortest two's complement representation of the current exponent.
Gets the length, in bits, of the current significand.
The length, in bits, of the current significand.
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Tries to write the current exponent, in big-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current exponent, in little-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current significand, in big-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Tries to write the current significand, in little-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Computes the tangent of a value.
The value, in radians, whose tangent is to be computed.
The tangent of .
Computes the hyperbolic tangent of a value.
The value, in radians, whose hyperbolic tangent is to be computed.
The hyperbolic tangent of .
Computes the tangent of a value that has been multipled by pi.
The value, in half-revolutions, that is multipled by pi before computing its tangent.
The tangent of multiplied-by pi.
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A numeric format string.
is invalid.
The string representation of the value of this instance as specified by .
Truncates a value.
The value to truncate.
The truncation of .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current double instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its double-precision floating-point number equivalent.
A read-only UTF-8 character span that contains the number to convert.
When this method returns, contains a double-precision floating-point number equivalent of the numeric value or symbol contained in if the conversion succeeded or zero if the conversion failed. The conversion fails if the is or is not in a valid format. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the span representation of a number in a specified style and culture-specific format to its double-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A character span that contains the string representation of the number to convert.
When this method returns, contains the double-precision floating-point number equivalent of the numeric value or symbol contained in parameter, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or empty. If is a valid number less than Double.MinValue, is . If is a valid number greater than Double.MaxValue, is . This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts a character span containing the string representation of a number in a specified style and culture-specific format to its double-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A read-only character span that contains the number to convert.
A bitwise combination of values that indicates the permitted format of . A typical value to specify is combined with .
An object that supplies culture-specific formatting information about .
When this method returns and if the conversion succeeded, contains a double-precision floating-point number equivalent of the numeric value or symbol contained in . Contains zero if the conversion failed. The conversion fails if the parameter is , an empty character span, or not a number in a format compliant with . If is a valid number less than Double.MinValue, is . If is a valid number greater than Double.MaxValue, is . This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its double-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A string containing a number to convert.
When this method returns, contains the double-precision floating-point number equivalent of the parameter, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or or is not a number in a valid format. It also fails on .NET Framework and .NET Core 2.2 and earlier versions if represents a number less than Double.MinValue or greater than Double.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its double-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A string containing a number to convert.
A bitwise combination of values that indicates the permitted format of . A typical value to specify is combined with .
An that supplies culture-specific formatting information about .
When this method returns, contains a double-precision floating-point number equivalent of the numeric value or symbol contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or or is not in a format compliant with , or if is not a valid combination of enumeration constants. It also fails on .NET Framework or .NET Core 2.2 and earlier versions if represents a number less than SByte.MinValue or greater than SByte.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
includes the value.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the mathematical constant e.
Gets the mathematical constant pi.
Gets the mathematical constant tau.
Gets the smallest value such that can be added to 0 that does not result in 0.
Gets a value that represents NaN.
Gets a value that represents negative infinity.
Gets a value that represents negative zero.
Gets a value that represents positive infinity.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
The exception that is thrown when an object appears more than once in an array of synchronization objects.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and the name of the parameter that causes this exception.
The name of the parameter that caused the exception.
The message that describes the error.
Initializes a new instance of the class with the name of the parameter that causes this exception.
The name of the parameter that caused the exception.
The exception that is thrown when an attempt to load a class fails due to the absence of an entry method.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Provides the base class for enumerations.
Initializes a new instance of the class.
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
and this instance are not the same type.
This instance is not type , , , , , , , or .
This instance is null.
A signed number that indicates the relative values of this instance and .
Value Meaning- Less than zero The value of this instance is less than the value of .
- Zero The value of this instance is equal to the value of .
- Greater than zero The value of this instance is greater than the value of , or is .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance, or .
if is an enumeration value of the same type and with the same underlying value as this instance; otherwise, .
Converts the specified value of a specified enumerated type to its equivalent string representation according to the specified format.
The enumeration type of the value to convert.
The value to convert.
The output format to use.
The , , or parameter is .
The parameter is not an type.
-or-
The is from an enumeration that differs in type from .
-or-
The type of is not an underlying type of .
The parameter contains an invalid value.
equals "X", but the enumeration type is unknown.
-or-
.NET 8 and later versions: is a Boolean-backed enumeration type.
A string representation of .
Returns the hash code for the value of this instance.
A 32-bit signed integer hash code.
Retrieves the name of the constant in the specified enumeration that has the specified value.
An enumeration type.
The value of a particular enumerated constant in terms of its underlying type.
or is .
is not an .
-or-
is neither of type nor does it have the same underlying type as .
.NET 8 and later versions: is a Boolean-backed enumeration type.
A string containing the name of the enumerated constant in whose value is ; or if no such constant is found.
Retrieves the name of the constant in the specified enumeration type that has the specified value.
The value of a particular enumerated constant in terms of its underlying type.
The type of the enumeration.
.NET 8 and later versions: is a Boolean-backed enumeration type.
A string containing the name of the enumerated constant in whose value is ; or if no such constant is found.
Retrieves an array of the names of the constants in a specified enumeration.
An enumeration type.
is .
parameter is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
A string array of the names of the constants in .
Retrieves an array of the names of the constants in a specified enumeration type.
The type of the enumeration.
.NET 8 and later versions: is a Boolean-backed enumeration type.
A string array of the names of the constants in .
Returns the type code of the underlying type of this enumeration member.
The enumeration type is unknown.
The type code of the underlying type of this instance.
Returns the underlying type of the specified enumeration.
The enumeration whose underlying type will be retrieved.
is .
is not an .
The underlying type of .
Retrieves an array of the values of the constants in a specified enumeration.
An enumeration type.
is .
is not an .
The method is invoked by reflection in a reflection-only context,
-or-
is a type from an assembly loaded in a reflection-only context.
.NET 8 and later versions: is a Boolean-backed enumeration type.
An array that contains the values of the constants in .
Retrieves an array of the values of the constants in a specified enumeration type.
The type of the enumeration.
.NET 8 and later versions: is a Boolean-backed enumeration type.
An array that contains the values of the constants in .
Retrieves an array of the values of the underlying type constants in a specified enumeration.
An enumeration type.
is null.
is not an enumeration type.
An array that contains the values of the underlying type constants in .
Retrieves an array of the values of the underlying type constants in a specified enumeration type.
An enumeration type.
An array that contains the values of the underlying type constants in .
Determines whether one or more bit fields are set in the current instance.
An enumeration value.
is a different type than the current instance.
if the bit field or bit fields that are set in are also set in the current instance; otherwise, .
Returns a Boolean telling whether a given integral value, or its name as a string, exists in a specified enumeration.
An enumeration type.
The value or name of a constant in .
or is .
is not an .
-or-
The type of is an enumeration, but it is not an enumeration of type .
-or-
The type of is not an underlying type of .
is not type , , , , , , , or , or .
if a constant in has a value equal to ; otherwise, .
Returns a boolean telling whether a given integral value, or its name as a string, exists in a specified enumeration.
The value or name of a constant in .
The type of the enumeration.
if a given integral value, or its name as a string, exists in a specified enumeration; otherwise.
Converts the span of characters representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-insensitive.
An enumeration type.
A span containing the name or value to convert.
to ignore case; to regard case.
is .
is not an .
is either an empty string or only contains white space.
is a name, but not one of the named constants defined for the enumeration.
is outside the range of the underlying type of
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the span of characters representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
An enumeration type.
A span containing the name or value to convert.
is .
is not an .
is either an empty string or only contains white space.
is a name, but not one of the named constants defined for the enumeration.
is outside the range of the underlying type of .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-insensitive.
An enumeration type.
A string containing the name or value to convert.
to ignore case; to regard case.
or is .
is not an .
-or-
is either an empty string ("") or only contains white space.
-or-
is a name, but not one of the named constants defined for the enumeration.
is outside the range of the underlying type of .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
An enumeration type.
A string containing the name or value to convert.
or is .
is not an .
-or-
is either an empty string or only contains white space.
-or-
is a name, but not one of the named constants defined for the enumeration.
is outside the range of the underlying type of .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the span of characters representation of the name or numeric value of one or more enumerated constants specified by to an equivalent enumerated object. A parameter specifies whether the operation is case-insensitive.
A span containing the name or value to convert.
to ignore case; to regard case.
An enumeration type.
is not an type.
does not contain enumeration information.
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the span of characters representation of the name or numeric value of one or more enumerated constants specified by to an equivalent enumerated object.
A span containing the name or value to convert.
An enumeration type.
is not an type.
does not contain enumeration information.
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the string representation of the name or numeric value of one or more enumerated constants specified by to an equivalent enumerated object. A parameter specifies whether the operation is case-insensitive.
A string containing the name or value to convert.
to ignore case; to regard case.
An enumeration type.
is not an type.
is .
does not contain enumeration information.
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the string representation of the name or numeric value of one or more enumerated constants specified by to an equivalent enumerated object.
A string containing the name or value to convert.
An enumeration type.
is not an type.
is .
does not contain enumeration information.
.NET 8 and later versions: is a Boolean-backed enumeration type.
An object of type whose value is represented by .
Converts the current value to a Boolean value based on the underlying type.
An object that supplies culture-specific formatting information.
In all cases.
This member always throws an exception.
Converts the current value to an 8-bit unsigned integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to a Unicode character based on the underlying type.
An object that supplies culture-specific formatting information.
In all cases.
This member always throws an exception.
Converts the current value to a based on the underlying type.
An object that supplies culture-specific formatting information.
In all cases.
This member always throws an exception.
Converts the current value to a based on the underlying type.
An object that supplies culture-specific formatting information.
In all cases.
This member always throws an exception.
Converts the current value to a double-precision floating point number based on the underlying type.
An object that supplies culture-specific formatting information.
In all cases.
This member always throws an exception.
Converts the current value to a 16-bit signed integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to a 32-bit signed integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to a 64-bit signed integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to an 8-bit signed integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to a single-precision floating-point number based on the underlying type.
An object that supplies culture-specific formatting information.
In all cases.
This member always throws an exception.
Converts the current value to a specified type based on the underlying type.
The type to convert to.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to a 16-bit unsigned integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to a 32-bit unsigned integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Converts the current value to a 64-bit unsigned integer based on the underlying type.
An object that supplies culture-specific formatting information.
The converted value.
Tries to format the value of the enum into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in destination.
The format specifier.
An optional object that supplies culture-specific formatting information for destination. This parameter is ignored.
if the formatting was successful; otherwise, .
Converts the specified 8-bit unsigned integer to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the specified 16-bit signed integer to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the specified 32-bit signed integer to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the specified 64-bit signed integer to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the specified object with an integer value to an enumeration member.
The enumeration type to return.
The value convert to an enumeration member.
or is .
is not an .
-or-
is not type , , , , , , , or .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An enumeration object whose value is .
Converts the specified 8-bit signed integer value to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the specified 16-bit unsigned integer value to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the specified 32-bit unsigned integer value to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the specified 64-bit unsigned integer value to an enumeration member.
The enumeration type to return.
The value to convert to an enumeration member.
is .
is not an .
.NET 8 and later versions: is a Boolean-backed enumeration type.
An instance of the enumeration set to .
Converts the value of this instance to its equivalent string representation.
The string representation of the value of this instance.
This method overload is obsolete; use .
(obsolete)
The string representation of the value of this instance.
This method overload is obsolete; use .
A format specification.
(Obsolete.)
does not contain a valid format specification.
equals "X", but the enumeration type is unknown.
The string representation of the value of this instance as specified by .
Converts the value of this instance to its equivalent string representation using the specified format.
A format string.
contains an invalid specification.
equals "X", but the enumeration type is unknown.
The string representation of the value of this instance as specified by .
Tries to format the value of the enumerated type instance into the provided span of characters.
The span into which to write the instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the character that represents the standard format string that defines the acceptable format of destination. This value can be empty, or "g", "d", "f", or "x".
The format parameter contains an invalid value.
if the formatting was successful; otherwise, if the destination span wasn't large enough to contain the formatted value.
Converts the span of characters representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-insensitive.
The enum type to use for parsing.
The span representation of the name or numeric value of one or more enumerated constants.
to read in case insensitive mode; to read in case sensitive mode.
When this method returns , contains an enumeration constant that represents the parsed value.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the conversion succeeded; otherwise.
Converts the span of characters representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
The enum type to use for parsing.
The span representation of the name or numeric value of one or more enumerated constants.
When this method returns , contains an enumeration constant that represents the parsed value.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the conversion succeeded; otherwise.
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
The enum type to use for parsing.
The string representation of the name or numeric value of one or more enumerated constants.
to read in case insensitive mode; to read in case sensitive mode.
When this method returns , contains an enumeration constant that represents the parsed value.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the conversion succeeded; otherwise.
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
The enum type to use for parsing.
The string representation of the name or numeric value of one or more enumerated constants.
When this method returns , contains an enumeration constant that represents the parsed value.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the conversion succeeded; otherwise.
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
The span representation of the name or numeric value of one or more enumerated constants.
When this method returns , contains an enumeration constant that represents the parsed value.
The type of the object.
is not an enumeration type.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the conversion succeeded; otherwise.
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
The span representation of the name or numeric value of one or more enumerated constants.
to ignore case; to consider case.
When this method returns , contains an enumeration constant that represents the parsed value.
The type of the object.
is not an enumeration type.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the conversion succeeded; otherwise.
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. The return value indicates whether the conversion succeeded.
The case-sensitive string representation of the enumeration name or underlying value to convert.
When this method returns, contains an object of type TEnum whose value is represented by if the parse operation succeeds. If the parse operation fails, contains the default value of the underlying type of TEnum. This parameter is passed uninitialized.
The enumeration type to which to convert .
is not an enumeration type.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the parameter was converted successfully; otherwise, .
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
The string representation of the enumeration name or underlying value to convert.
to ignore case; to consider case.
When this method returns, contains an object of type TEnum whose value is represented by if the parse operation succeeds. If the parse operation fails, contains the default value of the underlying type of TEnum. This parameter is passed uninitialized.
The enumeration type to which to convert .
is not an enumeration type.
.NET 8 and later versions: is a Boolean-backed enumeration type.
if the parameter was converted successfully; otherwise, .
Provides information about, and means to manipulate, the current environment and platform. This class cannot be inherited.
Terminates this process and returns an exit code to the operating system.
The exit code to return to the operating system. Use 0 (zero) to indicate that the process completed successfully.
The caller does not have sufficient security permission to perform this function.
Replaces the name of each environment variable embedded in the specified string with the string equivalent of the value of the variable, then returns the resulting string.
A string containing the names of zero or more environment variables. Each environment variable is quoted with the percent sign character (%).
is .
A string with each environment variable replaced by its value.
Immediately terminates the process before reporting an error message. For Windows, the error message is written to the Windows Application event log, and the message and exception information is included in error reporting to Microsoft. For Unix-like systems, the message alongside the stack trace is written to the standard error stream.
A message that explains why the process was terminated, or if no explanation is provided.
An exception that represents the error that caused the termination. This is typically the exception in a block.
Immediately terminates the process before reporting an error message. For Windows, the error message is written to the Windows Application event log, and the message is included in error reporting to Microsoft. For Unix-like systems, the message, alongside the stack trace, is written to the standard error stream.
A message that explains why the process was terminated, or if no explanation is provided.
Returns a string array containing the command-line arguments for the current process.
The system does not support command-line arguments.
An array of strings where each element contains a command-line argument. The first element is the executable file name, and the following zero or more elements contain the remaining command-line arguments.
Retrieves the value of an environment variable from the current process or from the Windows operating system registry key for the current user or local machine.
The name of an environment variable.
One of the values. Only is supported on .NET running on Unix-like systems.
is .
is not a valid value.
The caller does not have the required permission to perform this operation.
The value of the environment variable specified by the and parameters, or if the environment variable is not found.
Retrieves the value of an environment variable from the current process.
The name of the environment variable.
is .
The caller does not have the required permission to perform this operation.
The value of the environment variable specified by , or if the environment variable is not found.
Retrieves all environment variable names and their values from the current process.
The caller does not have the required permission to perform this operation.
The buffer is out of memory.
A dictionary that contains all environment variable names and their values; otherwise, an empty dictionary if no environment variables are found.
Retrieves all environment variable names and their values from the current process, or from the Windows operating system registry key for the current user or local machine.
One of the values. Only is supported on .NET running on Unix-like systems.
The caller does not have the required permission to perform this operation for the specified value of .
contains an illegal value.
A dictionary that contains all environment variable names and their values from the source specified by the parameter; otherwise, an empty dictionary if no environment variables are found.
Gets the path to the specified system special folder using a specified option for accessing special folders.
One of the enumeration values that identifies a system special folder.
One of the enumeration values that specifies options to use for accessing a special folder.
is not a member of .
-or-
is not a member of .
The current platform is not supported.
The path to the specified system special folder, if that folder physically exists on your computer; otherwise, an empty string ("").
A folder will not physically exist if the operating system did not create it, the existing folder was deleted, or the folder is a virtual directory, such as My Computer, which does not correspond to a physical path.
Gets the path to the specified system special folder.
One of the enumeration values that identifies a system special folder.
is not a member of .
The current platform is not supported.
The path to the specified system special folder, if that folder physically exists on your computer; otherwise, an empty string ("").
A folder will not physically exist if the operating system did not create it, the existing folder was deleted, or the folder is a virtual directory, such as My Computer, which does not correspond to a physical path.
Retrieves the names of the logical drives on this computer.
An I/O error occurs.
The caller does not have the required permissions.
An array of strings representing the logical drive names.
Creates, modifies, or deletes an environment variable stored in the current process or in the Windows operating system registry key reserved for the current user or local machine.
The name of an environment variable.
A value to assign to .
One of the enumeration values that specifies the location of the environment variable.
is .
contains a zero-length string, an initial hexadecimal zero character (0x00), or an equal sign ("=").
-or-
The length of is greater than or equal to 32,767 characters.
-or-
is not a member of the enumeration.
-or-
is or , and the length of is greater than or equal to 255.
-or-
is and the length of is greater than or equal to 32,767 characters.
-or-
An error occurred during the execution of this operation.
The caller does not have the required permission to perform this operation.
Creates, modifies, or deletes an environment variable stored in the current process.
The name of an environment variable.
A value to assign to .
is .
contains a zero-length string, an initial hexadecimal zero character (0x00), or an equal sign ("=").
-or-
The length of or is greater than or equal to 32,767 characters.
-or-
An error occurred during the execution of this operation.
The caller does not have the required permission to perform this operation.
Gets the command line for this process.
A string containing command-line arguments.
Get the CPU usage, including the process time spent running the application code, the process time spent running the operating system code, and the total time spent running both the application and operating system code.
Gets or sets the fully qualified path of the current working directory.
Attempted to set to an empty string ("").
Attempted to set to .
An I/O error occurred.
Attempted to set a local path that cannot be found.
The caller does not have the appropriate permission.
The directory path.
Gets a unique identifier for the current managed thread.
A unique identifier for this managed thread.
Gets or sets the exit code of the process.
A 32-bit signed integer containing the exit code. The default value is 0 (zero), which indicates that the process completed successfully.
Gets a value that indicates whether the current application domain is being unloaded or the common language runtime (CLR) is shutting down.
if the current application domain is being unloaded or the CLR is shutting down; otherwise, .
Gets a value that indicates whether the current operating system is a 64-bit operating system.
if the operating system is 64-bit; otherwise, .
Gets a value that indicates whether the current process is a 64-bit process.
if the process is 64-bit; otherwise, .
Gets a value that indicates whether the current process is authorized to perform security-relevant functions.
Gets the NetBIOS name of this local computer.
The name of this computer cannot be obtained.
The name of this computer.
Gets the newline string defined for this environment.
for non-Unix platforms, or for Unix platforms.
Gets the current platform identifier and version number.
This property was unable to obtain the system version.
-or-
The obtained platform identifier is not a member of
The platform identifier and version number.
Gets the unique identifier for the current process.
A number that represents the unique identifier for the current process.
Gets the number of processors available to the current process.
The 32-bit signed integer that specifies the number of processors that are available.
Returns the path of the executable that started the currently executing process. Returns when the path is not available.
The path of the executable that started the currently executing process.
Gets current stack trace information.
A string containing stack trace information. This value can be .
Gets the fully qualified path of the system directory.
A string containing a directory path.
Gets the number of bytes in the operating system's memory page.
The number of bytes in the system memory page.
Gets the number of milliseconds elapsed since the system started.
A 32-bit signed integer containing the amount of time in milliseconds that has passed since the last time the computer was started.
Gets the number of milliseconds elapsed since the system started.
The elapsed milliseconds since the system started.
Gets the network domain name associated with the current user.
The operating system does not support retrieving the network domain name.
The network domain name cannot be retrieved.
The network domain name associated with the current user.
Gets a value indicating whether the current process is running in user interactive mode.
if the current process is running in user interactive mode; otherwise, .
Gets the user name of the person who is associated with the current thread.
The user name of the person who is associated with the current thread.
Gets a version consisting of the major, minor, build, and revision numbers of the common language runtime.
The version of the common language runtime.
Gets the amount of physical memory mapped to the process context.
A 64-bit signed integer containing the number of bytes of physical memory mapped to the process context.
Represents the CPU usage statistics of a process.
Gets the amount of time the process has spent running code inside the operating system code.
Gets the amount of time the process has spent utilizing the CPU, including the process time spent in the application code and in the operating system code.
Gets the amount of time the associated process has spent running code inside the application portion of the process (not the operating system code).
Specifies enumerated Constant Special Item ID List (CSIDL) values used to retrieve directory paths to system special folders.
The file system directory that is used to store administrative tools for an individual user. The Microsoft Management Console (MMC) will save customized consoles to this directory, and it will roam with the user.
The directory that serves as a common repository for application-specific data for the current roaming user. A roaming user works on more than one computer on a network. A roaming user's profile is kept on a server on the network and is loaded onto a system when the user logs on.
The file system directory that acts as a staging area for files waiting to be written to a CD.
The file system directory that contains administrative tools for all users of the computer.
The directory that serves as a common repository for application-specific data that is used by all users.
The file system directory that contains files and folders that appear on the desktop for all users.
The file system directory that contains documents that are common to all users.
The file system directory that serves as a repository for music files common to all users.
This value is recognized in Windows Vista for backward compatibility, but the special folder itself is no longer used.
The file system directory that serves as a repository for image files common to all users.
The directory for components that are shared across applications.
To get the x86 common program files directory in a non-x86 process, use the member.
The Program Files folder.
A folder for components that are shared across applications.
The file system directory that contains the programs and folders that appear on the Start menu for all users.
The file system directory that contains the programs that appear in the Startup folder for all users.
The file system directory that contains the templates that are available to all users.
The file system directory that serves as a repository for video files common to all users.
The directory that serves as a common repository for Internet cookies.
The logical Desktop rather than the physical file system location.
The directory used to physically store file objects on the desktop. Do not confuse this directory with the desktop folder itself, which is a virtual folder.
The directory that serves as a common repository for the user's favorite items.
A virtual folder that contains fonts.
The directory that serves as a common repository for Internet history items.
The directory that serves as a common repository for temporary Internet files.
The directory that serves as a common repository for application-specific data that is used by the current, non-roaming user.
The file system directory that contains localized resource data.
The My Computer folder. When passed to the method, the enumeration member always yields the empty string ("") because no path is defined for the My Computer folder.
The My Documents folder. This member is equivalent to .
The My Music folder.
The My Pictures folder.
The file system directory that serves as a repository for videos that belong to a user.
A file system directory that contains the link objects that may exist in the My Network Places virtual folder.
The directory that serves as a common repository for documents. This member is equivalent to .
The file system directory that contains the link objects that can exist in the Printers virtual folder.
The program files directory.
In a non-x86 process, passing to the method returns the path for non-x86 programs. To get the x86 program files directory in a non-x86 process, use the member.
The x86 Program Files folder.
The directory that contains the user's program groups.
The directory that contains the user's most recently used documents.
The file system directory that contains resource data.
The directory that contains the Send To menu items.
The directory that contains the Start menu items.
The directory that corresponds to the user's Startup program group. The system starts these programs whenever a user logs on or starts Windows.
The System directory.
The Windows System folder.
The directory that serves as a common repository for document templates.
The user's profile folder. Applications should not create files or folders at this level; they should put their data under the locations referred to by .
The Windows directory or SYSROOT. This corresponds to the %windir% or %SYSTEMROOT% environment variables.
Specifies options to use for getting the path to a special folder.
The path to the folder is created if it does not already exist.
The path to the folder is returned without verifying whether the path exists. If the folder is located on a network, specifying this option can reduce lag time.
The path to the folder is verified. If the folder exists, the path is returned. If the folder does not exist, an empty string is returned. This is the default behavior.
Specifies the location where an environment variable is stored or retrieved in a set or get operation.
The environment variable is stored or retrieved from the key in the Windows operating system registry. This value should be used on .NET implementations running on Windows systems only.
The environment variable is stored or retrieved from the environment block associated with the current process.
The environment variable is stored or retrieved from the key in the Windows operating system registry. This value should be used on .NET implementations running on Windows systems only.
Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data.
Provides a value to use with events that do not have event data.
Initializes a new instance of the class.
Represents the method that will handle an event that has no event data.
The source of the event.
An object that contains no event data.
Represents the method that will handle an event when the event provides data.
The source of the event.
An object that contains the event data.
The type of the event data generated by the event.
Represents the method that will handle an event when the event provides data.
The source of the event.
An object that contains the event data.
The type of the object raising the event.
The type of the event data generated by the event.
Represents errors that occur during application execution.
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
is .
The class name is or is zero (0).
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception, or a null reference ( in Visual Basic) if no inner exception is specified.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
When overridden in a derived class, returns the that is the root cause of one or more subsequent exceptions.
The first exception thrown in a chain of exceptions. If the property of the current exception is a null reference ( in Visual Basic), this property returns the current exception.
When overridden in a derived class, sets the with information about the exception.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The parameter is a null reference ( in Visual Basic).
Gets the runtime type of the current instance.
A object that represents the exact runtime type of the current instance.
Creates and returns a string representation of the current exception.
A string representation of the current exception.
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
An object that implements the interface and contains a collection of user-defined key/value pairs. The default is an empty collection.
Gets or sets a link to the help file associated with this exception.
The Uniform Resource Name (URN) or Uniform Resource Locator (URL).
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
The HRESULT value.
Gets the instance that caused the current exception.
An object that describes the error that caused the current exception. The property returns the same value as was passed into the constructor, or if the inner exception value was not supplied to the constructor. This property is read-only.
Gets a message that describes the current exception.
The error message that explains the reason for the exception, or an empty string ("").
Gets or sets the name of the application or the object that causes the error.
The object must be a runtime object.
The name of the application or the object that causes the error.
Gets a string representation of the immediate frames on the call stack.
A string that describes the immediate frames of the call stack. If no stack trace is available (such as prior to stack unwinding from a statement), the value is .
Gets the method that throws the current exception.
The that threw the current exception.
The exception that is thrown when there is an internal error in the execution engine of the common language runtime. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
The exception that is thrown when there is an invalid attempt to access a private or protected field inside a class.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
A customizable parser based on the File scheme.
Creates a customizable parser based on the File scheme.
Indicates that an enumeration can be treated as a bit field; that is, a set of flags.
Initializes a new instance of the class.
The exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Represents a composite format string, along with the arguments to be formatted.
Instantiates a new instance of the class.
Returns a result string in which arguments are formatted by using the conventions of the current culture.
The string to be formatted.
The string that results from formatting the current instance by using the conventions of the current culture.
Returns the argument at the specified index position.
The index of the argument. Its value can range from zero to one less than the value of .
The argument.
Returns an object array that contains one or more objects to format.
An object array that contains one or more objects to format.
Returns a result string in which arguments are formatted by using the conventions of the invariant culture.
The object to convert to a result string.
is .
The string that results from formatting the current instance by using the conventions of the invariant culture.
Returns the string that results from formatting the format string along with its arguments by using the formatting conventions of a specified culture.
A string. This argument is ignored.
An object that provides culture-specific formatting information.
A string formatted using the conventions of the parameter.
Returns the string that results from formatting the composite format string along with its arguments by using the formatting conventions of the current culture.
A result string formatted by using the conventions of the current culture.
Returns the string that results from formatting the composite format string along with its arguments by using the formatting conventions of a specified culture.
An object that provides culture-specific formatting information.
A result string formatted by using the conventions of .
Gets the number of arguments to be formatted.
The number of arguments to be formatted.
Returns the composite format string.
The composite format string.
A customizable parser based on the File Transfer Protocol (FTP) scheme.
Creates a customizable parser based on the File Transfer Protocol (FTP) scheme.
Encapsulates a method that has no parameters and returns a value of the type specified by the parameter.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has nine parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has 10 parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has 11 parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has 12 parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has 13 parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has 14 parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The fourteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
The type of the fourteenth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has 15 parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The fourteenth parameter of the method that this delegate encapsulates.
The fifteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
The type of the fourteenth parameter of the method that this delegate encapsulates.
The type of the fifteenth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has 16 parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The ninth parameter of the method that this delegate encapsulates.
The tenth parameter of the method that this delegate encapsulates.
The eleventh parameter of the method that this delegate encapsulates.
The twelfth parameter of the method that this delegate encapsulates.
The thirteenth parameter of the method that this delegate encapsulates.
The fourteenth parameter of the method that this delegate encapsulates.
The fifteenth parameter of the method that this delegate encapsulates.
The sixteenth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the ninth parameter of the method that this delegate encapsulates.
The type of the tenth parameter of the method that this delegate encapsulates.
The type of the eleventh parameter of the method that this delegate encapsulates.
The type of the twelfth parameter of the method that this delegate encapsulates.
The type of the thirteenth parameter of the method that this delegate encapsulates.
The type of the fourteenth parameter of the method that this delegate encapsulates.
The type of the fifteenth parameter of the method that this delegate encapsulates.
The type of the sixteenth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has one parameter and returns a value of the type specified by the parameter.
The parameter of the method that this delegate encapsulates.
The type of the parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has two parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has three parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has four parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has five parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has six parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has seven parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Encapsulates a method that has eight parameters and returns a value of the type specified by the parameter.
The first parameter of the method that this delegate encapsulates.
The second parameter of the method that this delegate encapsulates.
The third parameter of the method that this delegate encapsulates.
The fourth parameter of the method that this delegate encapsulates.
The fifth parameter of the method that this delegate encapsulates.
The sixth parameter of the method that this delegate encapsulates.
The seventh parameter of the method that this delegate encapsulates.
The eighth parameter of the method that this delegate encapsulates.
The type of the first parameter of the method that this delegate encapsulates.
The type of the second parameter of the method that this delegate encapsulates.
The type of the third parameter of the method that this delegate encapsulates.
The type of the fourth parameter of the method that this delegate encapsulates.
The type of the fifth parameter of the method that this delegate encapsulates.
The type of the sixth parameter of the method that this delegate encapsulates.
The type of the seventh parameter of the method that this delegate encapsulates.
The type of the eighth parameter of the method that this delegate encapsulates.
The type of the return value of the method that this delegate encapsulates.
The return value of the method that this delegate encapsulates.
Controls the system garbage collector, a service that automatically reclaims unused memory.
Informs the runtime of a large allocation of unmanaged memory that should be taken into account when scheduling garbage collection.
The incremental amount of unmanaged memory that has been allocated.
is less than or equal to 0.
-or-
On a 32-bit computer, is larger than Int32.MaxValue.
Allocates an array.
Specifies the length of the array.
Specifies whether the allocated array must be pinned.
Specifies the type of the array element.
An array object.
Allocates an array while skipping zero-initialization, if possible.
Specifies the length of the array.
Specifies whether the allocated array must be pinned.
Specifies the type of the array element.
An array object with uninitialized memory.
Cancels the registration of a garbage collection notification.
This member is not available when concurrent garbage collection is enabled. See the <gcConcurrent> runtime setting for information about how to disable concurrent garbage collection.
Forces an immediate garbage collection of all generations.
Forces a garbage collection from generation 0 through a specified generation, at a time specified by a value, with values that specify whether the collection should be blocking and compacting.
The number of the oldest generation to be garbage collected.
An enumeration value that specifies whether the garbage collection is forced ( or ) or optimized ().
to perform a blocking garbage collection; to perform a background garbage collection where possible.
to compact the small object heap; to sweep only.
Forces a garbage collection from generation 0 through a specified generation, at a time specified by a value, with a value specifying whether the collection should be blocking.
The number of the oldest generation to be garbage collected.
An enumeration value that specifies whether the garbage collection is forced ( or ) or optimized ().
to perform a blocking garbage collection; to perform a background garbage collection where possible.
is not valid.
-or-
is not one of the values.
Forces a garbage collection from generation 0 through a specified generation, at a time specified by a value.
The number of the oldest generation to be garbage collected.
An enumeration value that specifies whether the garbage collection is forced ( or ) or optimized ().
is not valid.
-or-
is not one of the values.
Forces an immediate garbage collection from generation 0 through a specified generation.
The number of the oldest generation to be garbage collected.
is not valid.
Returns the number of times garbage collection has occurred for the specified generation of objects.
The generation of objects for which the garbage collection count is to be determined.
is less than 0.
The number of times garbage collection has occurred for the specified generation since the process was started.
Ends the no GC region latency mode.
The garbage collector is not in no GC region latency mode.
-or-
The no GC region latency mode was ended previously because a garbage collection was induced.
-or-
A memory allocation exceeded the amount specified in the call to the method.
Gets the total number of bytes allocated to the current thread since the beginning of its lifetime.
The total number of bytes allocated to the current thread since the beginning of its lifetime.
Gets the configurations used by the garbage collector.
A read-only dictionary with the configuration names and values as the keys and values of the dictionary, respectively.
Gets garbage collection memory information.
An object that contains information about the garbage collector's memory usage.
Gets garbage collection memory information.
The kind of collection for which to retrieve memory information.
An object that contains information about the garbage collector's memory usage.
Returns the current generation number of the specified object.
The object that generation information is retrieved for.
The current generation number of , or Int32.MaxValue.
Returns the current generation number of the target of a specified weak reference.
A that refers to the target object whose generation number is to be determined.
Garbage collection has already been performed on .
The target of the weak reference
has already been garbage collected.
The current generation number of the target of , or .
Gets a count of the bytes allocated over the lifetime of the process. The returned value does not include any native allocations.
If , gather a precise number; otherwise, gather an approximate count. Gathering a precise value entails a significant performance penalty.
The total number of bytes allocated over the lifetime of the process.
Retrieves the heap size excluding fragmentation. For example if the total GC heap size is 100mb and fragmentation, ie, space taken up by free objects, takes up 40mb, this API would report 60mb. A parameter indicates whether this method can wait a short interval before returning, to allow the system to collect garbage and finalize objects.
to indicate that this method can wait for garbage collection to occur before returning; otherwise, .
The heap size, in bytes, excluding fragmentation.
Gets the total amount of time paused in GC since the beginning of the process.
The total amount of time paused in GC since the beginning of the process.
References the specified object, which makes it ineligible for garbage collection from the start of the current routine to the point where this method is called.
The object to reference.
Instructs the Garbage Collector to reconfigure itself by detecting the various memory limits on the system.
The hard limit is too low. This can happen if the heap hard limit that the refresh will set, either because of new AppData settings or implied by the container memory-limit changes, is lower than what's already committed.
-or-
The hard limit is invalid. This can happen, for example, with negative heap hard-limit percentages.
Specifies that a garbage collection notification should be raised when conditions favor full garbage collection and when the collection has been completed.
A number between 1 and 99 that specifies when the notification should be raised based on the objects allocated in generation 2.
A number between 1 and 99 that specifies when the notification should be raised based on objects allocated in the large object heap.
or is not between 1 and 99.
This member is not available when concurrent garbage collection is enabled. See the <gcConcurrent> runtime setting for information about how to disable concurrent garbage collection.
Registers a callback to be invoked when a certain amount of memory is allocated in the no GC region.
The total size of the no GC region.
The callback to be executed when a certain amount of memory is allocated in the no GC region.
is less than or equal to 0.
The argument is .
The GC is not currently under a NoGC region.
-or-
Another callback is already registered.
-or-
The exceeds the size of the No GC region.
-or-
The operation to withhold memory for the callback failed.
Informs the runtime that unmanaged memory has been released and no longer needs to be taken into account when scheduling garbage collection.
The amount of unmanaged memory that has been released.
is less than or equal to 0.
-or-
On a 32-bit computer, is larger than Int32.MaxValue.
Requests that the system call the finalizer for the specified object for which has previously been called.
The object that a finalizer must be called for.
is .
Requests that the common language runtime not call the finalizer for the specified object.
The object whose finalizer must not be executed.
is .
Attempts to disallow garbage collection during the execution of a critical path if a specified amount of memory is available, and controls whether the garbage collector does a full blocking garbage collection if not enough memory is initially available.
The amount of memory in bytes to allocate without triggering a garbage collection. It must be less than or equal to the size of an ephemeral segment. For information on the size of an ephemeral segment, see the "Ephemeral generations and segments" section in the Fundamentals of Garbage Collection article.
to omit a full blocking garbage collection if the garbage collector is initially unable to allocate bytes; otherwise, .
exceeds the ephemeral segment size.
The process is already in no GC region latency mode.
if the runtime was able to commit the required amount of memory and the garbage collector is able to enter no GC region latency mode; otherwise, .
Attempts to disallow garbage collection during the execution of a critical path if a specified amount of memory is available for the large object heap and the small object heap, and controls whether the garbage collector does a full blocking garbage collection if not enough memory is initially available.
The amount of memory in bytes to allocate without triggering a garbage collection. - must be less than or equal to the size of an ephemeral segment. For information on the size of an ephemeral segment, see the "Ephemeral generations and segments" section in the Fundamentals of Garbage Collection article.
The number of bytes in to use for large object heap (LOH) allocations.
to omit a full blocking garbage collection if the garbage collector is initially unable to allocate the specified memory on the small object heap (SOH) and LOH; otherwise, .
- exceeds the ephemeral segment size.
The process is already in no GC region latency mode.
if the runtime was able to commit the required amount of memory and the garbage collector is able to enter no GC region latency mode; otherwise, .
Attempts to disallow garbage collection during the execution of a critical path if a specified amount of memory is available for the large object heap and the small object heap.
The amount of memory in bytes to allocate without triggering a garbage collection. - must be less than or equal to the size of an ephemeral segment. For information on the size of an ephemeral segment, see the "Ephemeral generations and segments" section in the Fundamentals of Garbage Collection article.
The number of bytes in to use for large object heap (LOH) allocations.
- exceeds the ephemeral segment size.
The process is already in no GC region latency mode.
if the runtime was able to commit the required amount of memory and the garbage collector is able to enter no GC region latency mode; otherwise, .
Attempts to disallow garbage collection during the execution of a critical path if a specified amount of memory is available.
The amount of memory in bytes to allocate without triggering a garbage collection. It must be less than or equal to the size of an ephemeral segment. For information on the size of an ephemeral segment, see the "Ephemeral generations and segments" section in the Fundamentals of Garbage Collection article.
exceeds the ephemeral segment size.
The process is already in no GC region latency mode.
if the runtime was able to commit the required amount of memory and the garbage collector is able to enter no GC region latency mode; otherwise, .
Returns the status of a registered notification for determining whether a full, blocking garbage collection by the common language runtime is imminent.
The status of the registered garbage collection notification.
Returns, in a specified time-out period, the status of a registered notification for determining whether a full, blocking garbage collection by the common language runtime is imminent.
The length of time to wait before a notification status can be obtained. Specify -1 to wait indefinitely.
must be either non-negative or less than or equal to Int32.MaxValue or -1.
The status of the registered garbage collection notification.
Returns, in a specified time-out period, the status of a registered notification for determining whether a full, blocking garbage collection by the common language runtime is imminent.
The timeout on waiting for a full GC approach
The status of a registered full GC notification
Returns the status of a registered notification for determining whether a full, blocking garbage collection by the common language runtime has completed.
The status of the registered garbage collection notification.
Returns, in a specified time-out period, the status of a registered notification for determining whether a full, blocking garbage collection by common language the runtime has completed.
The length of time to wait before a notification status can be obtained. Specify -1 to wait indefinitely.
must be either non-negative or less than or equal to Int32.MaxValue or -1.
The status of the registered garbage collection notification.
Returns the status of a registered notification about whether a blocking garbage collection has completed. May wait indefinitely for a full collection.
The timeout on waiting for a full collection
The status of a registered full GC notification
Suspends the current thread until the thread that is processing the queue of finalizers has emptied that queue.
Gets the maximum number of generations that the system currently supports.
A value that ranges from zero to the maximum number of supported generations.
Specifies the behavior for a forced garbage collection.
Requests that the garbage collector decommit as much memory as possible.
The default setting for this enumeration, which is currently .
Forces the garbage collection to occur immediately.
Allows the garbage collector to determine whether the current time is optimal to reclaim objects.
Represents the size and the fragmenation of a generation on entry and on exit of the GC reported in .
Gets the fragmentation in bytes on exit from the reported collection.
A number representing the fragmentation in bytes on exit from the reported collection.
Gets the fragmentation in bytes on entry to the reported collection.
A number representing the fragmentation in bytes on entry to the reported collection.
Gets the size in bytes on exit from the reported collection.
A number representing the size in bytes on exit from the reported collection.
Gets the size in bytes on entry to the reported collection.
A number representing the size in bytes on entry to the reported collection.
Specifies the kind of a garbage collection.
Any kind of collection.
A background collection. This is always a generation 2 collection.
A gen0 or gen1 collection.
A blocking gen2 collection.
Provides a set of APIs that can be used to retrieve garbage collection information.
Gets a value that indicates if this is a compacting GC or not.
if this is a compacting GC; otherwise.
Gets a value that indicates if this is a concurrent GC (background GC) or not.
if this is a concurrent GC (background GC); otherwise.
Gets the number of objects that are ready for finalization that this GC observed.
The total number of objects observed by this GC that are ready for finalization.
Gets the total fragmentation when the last garbage collection occurred.
The total fragmentation when the last garbage collection occurred.
Gets the generation this GC collected. Collecting a generation also collects younger generations.
The generation this GC collected.
Gets the generation information for all generations.
The generation information for all generations.
Gets the total heap size when the last garbage collection occurred.
The total heap size, in bytes, when the last garbage collection occurred.
Gets the high memory load threshold when the last garbage collection occurred.
The high memory load threshold, in bytes, when the last garbage collection occurred.
Gets the index of this GC.
The index of this GC.
Gets the physical memory load when the last garbage collection occurred.
The physical memory load, in bytes, when the last garbage collection occurred.
Gets the durations of the pauses when all managed threads are suspended.
A timespan representing the pause durations.
Gets the pause time percentage in the GC so far. If the pause time is 1.2%, this property's value is 1.2. The value is calculated by taking the sum of all GC pauses so far and dividing that by the total elapsed time of the process since the runtime was loaded. This running counter is updated at the end of each GC. It does not distinguish between . That is, at every GC, the calculated value is updated, and when you access this property, it gets the latest calculated value.
The pause time percentage.
Gets the number of pinned objects this GC observed.
The total number of pinned objects observed by this GC.
Gets the promoted bytes for this GC.
The number of promoted bytes for this GC.
Gets the total available memory for the garbage collector to use when the last garbage collection occurred.
The total available memory, in bytes, for the garbage collector to use when the last garbage collection occurred.
Gets the total committed bytes of the managed heap.
The total committed bytes of the managed heap.
Provides information about the current registration for notification of the next full garbage collection.
The current registration was canceled by the user.
The notification failed for any reason.
This value can result when there's no current registration for a garbage collection notification, or a full GC has happened but was done as a background GC (that is, a GC that runs mostly concurrently with user threads) instead of a full blocking GC. Background GC is enabled by default; disabling it improves the prediction accuracy but incurs larger GC pauses.
The notification was successful and the registration was not canceled.
The time specified by the parameter for either or has elapsed.
A customizable parser for a hierarchical URI.
Create a customizable parser for a hierarchical URI.
Specify the options for this .
Specifies options for a .
The parser allows a URI with no authority.
The parser: requires an authority; converts backslashes into forward slashes; unescapes path dots, forward slashes, and back slashes; and removes trailing dots, empty segments, and dots-only segments.
The parser does not canonicalize the URI.
The parser does not convert back slashes into forward slashes.
The parser does not unescape path dots, forward slashes, or back slashes.
The parser allows a registry-based authority.
The parser supports Internationalized Domain Name (IDN) parsing (IDN) of host names. Whether IDN is used is dictated by configuration values.
The parser supports the parsing rules specified in RFC 3987 for International Resource Identifiers (IRI). Whether IRI is used is dictated by configuration values.
The scheme does not define a fragment part.
The scheme does not define a port.
The scheme does not define a query part.
The scheme does not define a user information part.
Represents time in divisions, such as weeks, months, and years.
Represents the current era of the current calendar. The value of this field is 0.
Initializes a new instance of the class.
Returns a that is the specified number of days away from the specified .
The to which to add days.
The number of days to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of days to the specified .
Returns a that is the specified number of hours away from the specified .
The to which to add hours.
The number of hours to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of hours to the specified .
Returns a that is the specified number of milliseconds away from the specified .
The to add milliseconds to.
The number of milliseconds to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of milliseconds to the specified .
Returns a that is the specified number of minutes away from the specified .
The to which to add minutes.
The number of minutes to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of minutes to the specified .
When overridden in a derived class, returns a that is the specified number of months away from the specified .
The to which to add months.
The number of months to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of seconds away from the specified .
The to which to add seconds.
The number of seconds to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of seconds to the specified .
Returns a that is the specified number of weeks away from the specified .
The to which to add weeks.
The number of weeks to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of weeks to the specified .
When overridden in a derived class, returns a that is the specified number of years away from the specified .
The to which to add years.
The number of years to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
The that results from adding the specified number of years to the specified .
Creates a new object that is a copy of the current object.
A new instance of that is the memberwise clone of the current object.
When overridden in a derived class, returns the day of the month in the specified .
The to read.
A positive integer that represents the day of the month in the parameter.
When overridden in a derived class, returns the day of the week in the specified .
The to read.
A value that represents the day of the week in the parameter.
When overridden in a derived class, returns the day of the year in the specified .
The to read.
A positive integer that represents the day of the year in the parameter.
When overridden in a derived class, returns the number of days in the specified month, year, and era.
An integer that represents the year.
A positive integer that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified month and year of the current era.
An integer that represents the year.
A positive integer that represents the month.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the current era.
When overridden in a derived class, returns the number of days in the specified year and era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified year in the specified era.
Returns the number of days in the specified year of the current era.
An integer that represents the year.
is outside the range supported by the calendar.
The number of days in the specified year in the current era.
When overridden in a derived class, returns the era of the specified .
The to read.
An integer that represents the era of .
Returns the hours value in the specified .
The to read.
An integer from 0 to 23 that represents the hour in .
Calculates the leap month for a specified year and era.
A year.
An era.
A positive integer that indicates the leap month in the specified year and era.
-or-
Zero if this calendar does not support a leap month or if the and parameters do not specify a leap year.
Calculates the leap month for a specified year.
A year.
A positive integer that indicates the leap month in the specified year.
-or-
Zero if this calendar does not support a leap month or if the parameter does not represent a leap year.
Returns the milliseconds value in the specified .
The to read.
A double-precision floating-point number from 0 to 999 that represents the milliseconds in the parameter.
Returns the minutes value in the specified .
The to read.
An integer from 0 to 59 that represents the minutes in .
When overridden in a derived class, returns the month in the specified .
The to read.
A positive integer that represents the month in .
When overridden in a derived class, returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of months in the specified year in the specified era.
Returns the number of months in the specified year in the current era.
An integer that represents the year.
is outside the range supported by the calendar.
The number of months in the specified year in the current era.
Returns the seconds value in the specified .
The to read.
An integer from 0 to 59 that represents the seconds in .
Returns the week of the year that includes the date in the specified value.
A date and time value.
An enumeration value that defines a calendar week.
An enumeration value that represents the first day of the week.
is earlier than or later than .
-or-
is not a valid value.
-or-
is not a valid value.
A positive integer that represents the week of the year that includes the date in the parameter.
When overridden in a derived class, returns the year in the specified .
The to read.
An integer that represents the year in .
When overridden in a derived class, determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified date in the current era is a leap day.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified day is a leap day; otherwise, .
When overridden in a derived class, determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
A positive integer that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified month is a leap month; otherwise, .
Determines whether the specified month in the specified year in the current era is a leap month.
An integer that represents the year.
A positive integer that represents the month.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified month is a leap month; otherwise, .
When overridden in a derived class, determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified year is a leap year; otherwise, .
Determines whether the specified year in the current era is a leap year.
An integer that represents the year.
is outside the range supported by the calendar.
if the specified year is a leap year; otherwise, .
Returns a read-only version of the specified object.
A object.
is .
The object specified by the parameter, if is read-only.
-or-
A read-only memberwise clone of the object specified by , if is not read-only.
When overridden in a derived class, returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
-or-
is outside the range supported by the calendar.
The that is set to the specified date and time in the current era.
Returns a that is set to the specified date and time in the current era.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by the calendar.
An integer that contains the four-digit representation of .
Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.
One of the values.
Gets the number of days in the year that precedes the year that is specified by the property.
The number of days in the year that precedes the year specified by .
When overridden in a derived class, gets the list of eras in the current calendar.
An array of integers that represents the eras in the current calendar.
Gets a value indicating whether this object is read-only.
if this object is read-only; otherwise, .
Gets the latest date and time supported by this object.
The latest date and time supported by this calendar. The default is DateTime.MaxValue.
Gets the earliest date and time supported by this object.
The earliest date and time supported by this calendar. The default is DateTime.MinValue.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The current object is read-only.
The last year of a 100-year range that can be represented by a 2-digit year.
Specifies whether a calendar is solar-based, lunar-based, or lunisolar-based.
A lunar-based calendar.
A lunisolar-based calendar.
A solar-based calendar.
An unknown calendar basis.
Defines different rules for determining the first week of the year.
Indicates that the first week of the year starts on the first day of the year and ends before the following designated first day of the week. The value is 0.
Indicates that the first week of the year is the first week with four or more days before the designated first day of the week. The value is 2.
Indicates that the first week of the year begins on the first occurrence of the designated first day of the week on or after the first day of the year. The value is 1.
Retrieves information about a Unicode character. This class cannot be inherited.
Gets the decimal digit value of the specified numeric character.
The Unicode character for which to get the decimal digit value.
The decimal digit value of the specified numeric character.
-or-
-1, if the specified character is not a decimal digit.
Gets the decimal digit value of the numeric character at the specified index of the specified string.
The containing the Unicode character for which to get the decimal digit value.
The index of the Unicode character for which to get the decimal digit value.
is .
is outside the range of valid indexes in .
The decimal digit value of the numeric character at the specified index of the specified string.
-or-
-1, if the character at the specified index of the specified string is not a decimal digit.
Gets the digit value of the specified numeric character.
The Unicode character for which to get the digit value.
The digit value of the specified numeric character.
-or-
-1, if the specified character is not a digit.
Gets the digit value of the numeric character at the specified index of the specified string.
The containing the Unicode character for which to get the digit value.
The index of the Unicode character for which to get the digit value.
is .
is outside the range of valid indexes in .
The digit value of the numeric character at the specified index of the specified string.
-or-
-1, if the character at the specified index of the specified string is not a digit.
Gets the numeric value associated with the specified character.
The Unicode character for which to get the numeric value.
The numeric value associated with the specified character.
-or-
-1, if the specified character is not a numeric character.
Gets the numeric value associated with the character at the specified index of the specified string.
The containing the Unicode character for which to get the numeric value.
The index of the Unicode character for which to get the numeric value.
is .
is outside the range of valid indexes in .
The numeric value associated with the character at the specified index of the specified string.
-or-
-1, if the character at the specified index of the specified string is not a numeric character.
Gets the Unicode category of the specified character.
The Unicode character for which to get the Unicode category.
A value indicating the category of the specified character.
Gets the Unicode category of the specified character.
A number representing the 32-bit code point value of the Unicode character.
A value indicating the category of the specified character.
Gets the Unicode category of the character at the specified index of the specified string.
The containing the Unicode character for which to get the Unicode category.
The index of the Unicode character for which to get the Unicode category.
is .
is outside the range of valid indexes in .
A value indicating the category of the character at the specified index of the specified string.
Represents time in divisions, such as months, days, and years. Years are calculated using the Chinese calendar, while days and months are calculated using the lunisolar calendar.
Specifies the era that corresponds to the current object.
Initializes a new instance of the class.
Retrieves the era that corresponds to the specified type.
The type to read.
is less than or greater than .
An integer that represents the era in the parameter.
Gets the number of days in the year that precedes the year that is specified by the property.
The number of days in the year that precedes the year specified by .
Gets the eras that correspond to the range of dates and times supported by the current object.
An array of 32-bit signed integers that specify the relevant eras. The return value for a object is always an array containing one element equal to the value.
Gets the maximum date and time supported by the class.
A type that represents the last moment on January 28, 2101 in the Gregorian calendar, which is approximately equal to the constructor DateTime(2101, 1, 28, 23, 59, 59, 999).
Gets the minimum date and time supported by the class.
A type that represents February 19, 1901 in the Gregorian calendar, which is equivalent to the constructor, DateTime(1901, 2, 19).
Implements a set of methods for culture-sensitive string comparisons.
Compares two read-only spans of characters.
The first read-only span of characters to compare.
The second read-only span of characters to compare.
An optional combination of enumeration values to use during the comparison. The default value is .
contains an unsupported combination of flags.
Zero if and are equal; or a negative value if sorts before ; or a positive value if sorts after .
Compares a section of one string with a section of another string using the specified value.
The first string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
The second string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
or or or is less than zero.
-or-
is greater than or equal to the number of characters in .
-or-
is greater than or equal to the number of characters in .
-or-
is greater than the number of characters from to the end of .
-or-
is greater than the number of characters from to the end of .
contains an invalid value.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value Condition- zero The two strings are equal.
- less than zero The specified section of is less than the specified section of .
- greater than zero The specified section of is greater than the specified section of .
Compares a section of one string with a section of another string.
The first string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
The second string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
or or or is less than zero.
-or-
is greater than or equal to the number of characters in .
-or-
is greater than or equal to the number of characters in .
-or-
is greater than the number of characters from to the end of .
-or-
is greater than the number of characters from to the end of .
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value Condition- zero The two strings are equal.
- less than zero The specified section of is less than the specified section of .
- greater than zero The specified section of is greater than the specified section of .
Compares the end section of a string with the end section of another string using the specified value.
The first string to compare.
The zero-based index of the character in at which to start comparing.
The second string to compare.
The zero-based index of the character in at which to start comparing.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
or is less than zero.
-or-
is greater than or equal to the number of characters in .
-or-
is greater than or equal to the number of characters in .
contains an invalid value.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value Condition- zero The two strings are equal.
- less than zero The specified section of is less than the specified section of .
- greater than zero The specified section of is greater than the specified section of .
Compares the end section of a string with the end section of another string.
The first string to compare.
The zero-based index of the character in at which to start comparing.
The second string to compare.
The zero-based index of the character in at which to start comparing.
or is less than zero.
-or-
is greater than or equal to the number of characters in .
-or-
is greater than or equal to the number of characters in .
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value Condition- zero The two strings are equal.
- less than zero The specified section of is less than the specified section of .
- greater than zero The specified section of is greater than the specified section of .
Compares two strings using the specified value.
The first string to compare.
The second string to compare.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
contains an invalid value.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value Condition- zero The two strings are equal.
- less than zero is less than .
- greater than zero is greater than .
Compares two strings.
The first string to compare.
The second string to compare.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value Condition- zero The two strings are equal.
- less than zero is less than .
- greater than zero is greater than .
Determines whether the specified object is equal to the current object.
The object to compare with the current .
if the specified object is equal to the current ; otherwise, .
Initializes a new object that is associated with the specified culture and that uses string comparison methods in the specified .
An integer representing the culture identifier.
An that contains the string comparison methods to use.
is .
is of an invalid type.
A new object associated with the culture with the specified identifier and using string comparison methods in the current .
Initializes a new object that is associated with the culture with the specified identifier.
An integer representing the culture identifier.
A new object associated with the culture with the specified identifier and using string comparison methods in the current .
Initializes a new object that is associated with the specified culture and that uses string comparison methods in the specified .
A string representing the culture name.
An that contains the string comparison methods to use.
is .
-or-
is .
is an invalid culture name.
-or-
is of an invalid type.
A new object associated with the culture with the specified identifier and using string comparison methods in the current .
Initializes a new object that is associated with the culture with the specified name.
A string representing the culture name.
is .
is an invalid culture name.
A new object associated with the culture with the specified identifier and using string comparison methods in the current .
Serves as a hash function for the current for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Gets the hash code for a character span based on specified comparison options.
The character span whose hash code is to be returned.
A value that determines how strings are compared.
A 32-bit signed integer hash code.
Gets the hash code for a string based on specified comparison options.
The string whose hash code is to be returned.
A value that determines how strings are compared.
is .
A 32-bit signed integer hash code.
Computes a sort key for the specified input.
The text to get the sort key for.
The buffer into which the resulting sort key bytes are stored.
An optional combination of enumeration values to use for computing the sort key. The default value is .
is too small to contain the resulting sort key; or contains an unsupported flag; or cannot be processed using the desired under the current .
The number of bytes written to .
Gets a object for the specified string using the specified value.
The string for which a object is obtained.
A bitwise combination of one or more of the following enumeration values that define how the sort key is calculated: , , , , , and .
contains an invalid value.
The object that contains the sort key for the specified string.
Gets the sort key for the specified string.
The string for which a object is obtained.
The object that contains the sort key for the specified string.
Gets the total number of sort key bytes that would be produced from the specified input.
The text to get the sort key for.
An optional combination of enumeration values to use for computing the sort key. The default value is .
contains an unsupported flag.
-or-
cannot be processed using the desired under the current .
The length, in bytes, of the sort key.
Searches for the first occurrence of a substring within a source string.
The read-only span of characters to search within.
The read-only span of characters containing the substring to locate within .
The to use during the search.
When this method returns, contains the number of characters of that matched the desired value. This may be different than the length of if a linguistic comparison is performed. Set to 0 if is not found within .
contains an unsupported combination of flags.
The zero-based index into where the substring first appears; or a negative value if cannot be found within .
Searches for the first occurrence of a substring within the specified read-only span of characters.
The string to search within.
The substring to locate within .
An optional combination of enumeration values to use during the search. The default value is .
contains an unsupported combination of flags.
The zero-based index into where the substring first appears; or a negative value if cannot be found within .
Searches for the first occurrence of a within the specified read-only span of characters.
The read-only span of characters to search within.
The to locate within .
An optional combination of enumeration values to use during the search. The default value is .
contains an unsupported combination of flags.
The zero-based index into where first appears; or a negative value if cannot be found within .
Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string using the specified value.
The string to search.
The character to locate within .
A value that defines how the strings should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
contains an invalid value.
The zero-based index of the first occurrence of , if found, within , using the specified comparison options; otherwise, -1. Returns 0 (zero) if is an ignorable character.
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified value.
The string to search.
The character to locate within .
The zero-based starting index of the search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
is outside the range of valid indexes for .
contains an invalid value.
The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified value.
The string to search.
The character to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
contains an invalid value.
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.
The string to search.
The character to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.
The string to search.
The character to locate within .
The zero-based starting index of the search.
is .
is outside the range of valid indexes for .
The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string.
The string to search.
The character to locate within .
is .
The zero-based index of the first occurrence of , if found, within ; otherwise, -1. Returns 0 (zero) if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string using the specified value.
The string to search.
The string to locate within .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
contains an invalid value.
The zero-based index of the first occurrence of , if found, within , using the specified comparison options; otherwise, -1. Returns 0 (zero) if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified value.
The string to search.
The string to locate within .
The zero-based starting index of the search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
is outside the range of valid indexes for .
contains an invalid value.
The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified value.
The string to search.
The string to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
contains an invalid value.
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.
The string to search.
The string to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
is .
-or-
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.
The string to search.
The string to locate within .
The zero-based starting index of the search.
is .
-or-
is .
is outside the range of valid indexes for .
The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string.
The string to search.
The string to locate within .
is .
-or-
is .
The zero-based index of the first occurrence of , if found, within ; otherwise, -1. Returns 0 (zero) if is an ignorable character.
Determines whether a string starts with a specific prefix.
The read-only span of characters to search within.
The read-only span of characters containing the prefix to attempt to match at the start of .
The to use during the match.
When this method returns, contains the number of characters of that matched the desired prefix. This may be different than the length of if a linguistic comparison is performed. Set to 0 if the prefix did not match.
contains an unsupported combination of flags.
if occurs at the start of ; otherwise, .
Determines whether a read-only span of characters starts with a specific prefix.
The read-only span of characters to search within.
The prefix to attempt to match at the start of .
An optional combination of enumeration values to use during the match. The default value is .
contains an unsupported combination of flags.
if occurs at the start of ; otherwise, .
Determines whether the specified source string starts with the specified prefix using the specified value.
The string to search in.
The string to compare with the beginning of .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
contains an invalid value.
if the length of is less than or equal to the length of and starts with ; otherwise, .
Determines whether the specified source string starts with the specified prefix.
The string to search in.
The string to compare with the beginning of .
is .
-or-
is .
if the length of is less than or equal to the length of and starts with ; otherwise, .
Indicates whether a specified Unicode character is sortable.
A Unicode character.
if the parameter is sortable; otherwise, .
Indicates whether a specified Unicode read-only span of characters is sortable.
A read-only span of characters of zero or more Unicode characters.
if is non-empty and contains only sortable Unicode characters; otherwise, .
Indicates whether a specified Unicode string is sortable.
A string of zero or more Unicode characters.
is .
if the parameter is not an empty string ("") and all the Unicode characters in are sortable; otherwise, .
Indicates whether a specified is sortable.
A Unicode scalar value.
if is a sortable Unicode scalar value; otherwise, .
Determines whether a string ends with a specific suffix.
The read-only span of characters to search within.
The read-only span of characters containing the suffix to attempt to match at the end of .
The to use during the match.
When this method returns, contains the number of characters of that matched the desired suffix. This may be different than the length of if a linguistic comparison is performed. Set to 0 if the suffix did not match.
contains an unsupported combination of flags.
if occurs at the end of ; otherwise, .
Determines whether a read-only span of characters ends with a specific suffix.
The read-only span of characters to search within.
The suffix to attempt to match at the end of .
An optional combination of enumeration values to use during the match. The default value is .
contains an unsupported combination of flags.
if occurs at the end of ; otherwise, .
Determines whether the specified source string ends with the specified suffix using the specified value.
The string to search in.
The string to compare with the end of .
A value that defines how and should be compared. is either the enumeration value used by itself, or the bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
contains an invalid value.
if the length of is less than or equal to the length of and ends with ; otherwise, .
Determines whether the specified source string ends with the specified suffix.
The string to search in.
The string to compare with the end of .
is .
-or-
is .
if the length of is less than or equal to the length of and ends with ; otherwise, .
Searches for the last occurrence of a substring within a source string.
The read-only span of characters to search within.
The read-only span of characters containing the substring to locate within .
The to use during the search.
When this method returns, contains the number of characters of that matched the desired value. This may be different than the length of if a linguistic comparison is performed. Set to 0 if is not found within .
contains an unsupported combination of flags.
The zero-based index into where the substring last appears; or a negative number if cannot be found within .
Searches for the last occurrence of a substring within the specified read-only span of characters.
The read-only span of characters to search within.
The substring to locate within .
An optional combination of enumeration values to use during the search. The default value is .
contains an unsupported combination of flags.
The zero-based index into where the substring last appears; or a negative value if cannot be found within .
Searches for the last occurrence of a within the specified read-only span of characters.
The read-only span of characters to search within.
The to locate within .
An optional combination of enumeration values to use during the search. The default value is .
contains an unsupported combination of flags.
The zero-based index into where last appears; or a negative value if cannot be found within .
Searches for the specified character and returns the zero-based index of the last occurrence within the entire source string using the specified value.
The string to search.
The character to locate within .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
contains an invalid value.
The zero-based index of the last occurrence of , if found, within , using the specified comparison options; otherwise, -1.
Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index using the specified value.
The string to search.
The character to locate within .
The zero-based starting index of the backward search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
is outside the range of valid indexes for .
contains an invalid value.
The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index using the specified value.
The string to search.
The character to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
contains an invalid value.
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index.
The string to search.
The character to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index.
The string to search.
The character to locate within .
The zero-based starting index of the backward search.
is .
is outside the range of valid indexes for .
The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified character and returns the zero-based index of the last occurrence within the entire source string.
The string to search.
The character to locate within .
is .
The zero-based index of the last occurrence of , if found, within ; otherwise, -1.
Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string using the specified value.
The string to search.
The string to locate within .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
contains an invalid value.
The zero-based index of the last occurrence of , if found, within , using the specified comparison options; otherwise, -1.
Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index using the specified value.
The string to search.
The string to locate within .
The zero-based starting index of the backward search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
is outside the range of valid indexes for .
contains an invalid value.
The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index using the specified value.
The string to search.
The string to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is .
-or-
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
contains an invalid value.
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index.
The string to search.
The string to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
is .
-or-
is .
is outside the range of valid indexes for .
-or-
is less than zero.
-or-
and do not specify a valid section in .
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index.
The string to search.
The string to locate within .
The zero-based starting index of the backward search.
is .
-or-
is .
is outside the range of valid indexes for .
The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to ; otherwise, -1. Returns if is an ignorable character.
Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string.
The string to search.
The string to locate within .
is .
-or-
is .
The zero-based index of the last occurrence of , if found, within ; otherwise, -1.
Runs when the entire object graph has been deserialized.
The object that initiated the callback.
Returns a string that represents the current object.
A string that represents the current object.
Gets the properly formed culture identifier for the current .
The properly formed culture identifier for the current .
Gets the name of the culture used for sorting operations by this object.
The name of a culture.
Gets information about the version of Unicode used for comparing and sorting strings.
An object that contains information about the Unicode version used for comparing and sorting strings.
Defines the string comparison options to use with .
Indicates that the string comparison ignores case differences.
Indicates that the string comparison ignores the kana type. Kana type refers to Japanese hiragana and katakana characters, which represent phonetic sounds. Hiragana is used for native Japanese words, while katakana is used for words borrowed from other languages. With this option, hiragana and katakana characters that represent the same sound are considered equal.
Indicates that the string comparison ignores nonspacing combining characters, such as diacritics. Nonspacing characters modify base characters without occupying their own space. The Unicode Standard defines combining characters as characters that are combined with base characters to produce a new character.
Indicates that the string comparison ignores symbols, including whitespace, punctuation, currency symbols, the percent sign, mathematical symbols, the ampersand, and similar characters.
Indicates that the string comparison ignores character width. For example, full-width and half-width forms of Japanese katakana characters are considered equal with this option.
Indicates the default option settings for string comparisons.
The option that specifies that string comparisons sort sequences of digits (Unicode general category "Nd") based on their numeric value.
For example, "2" comes before "10". Non-digit characters such as decimal points, minus, and plus signs
are not considered as part of the sequence and will terminate it. This flag is not valid for indexing methods (such as and ).
Indicates that the string comparison uses the Unicode UTF-16 encoded values of the strings, comparing them code unit by code unit. This results in a fast, culture-insensitive comparison where strings are ordered based only on their binary values. This option can't be combined with other values and must be used alone.
Indicates that the string comparison ignores case and then performs an ordinal comparison. This is equivalent to converting both strings to uppercase using the invariant culture and then performing the comparison.
Indicates that the string comparison uses the string sort algorithm, where nonalphanumeric symbols (such as hyphens and apostrophes) are sorted before alphanumeric characters.
Provides information about a specific culture (called a locale for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers.
Initializes a new instance of the class based on the culture specified by the culture identifier and on a value that specifies whether to use the user-selected culture settings from Windows.
A predefined identifier, property of an existing object, or Windows-only culture identifier.
to use the user-selected culture settings (Windows only); to use the default culture settings.
is less than zero.
is not a valid culture identifier. See the Notes to Callers section for more information.
Initializes a new instance of the class based on the culture specified by the culture identifier.
A predefined identifier, property of an existing object, or Windows-only culture identifier.
is less than zero.
is not a valid culture identifier. See the Notes to Callers section for more information.
Initializes a new instance of the class based on the culture specified by name and on a value that specifies whether to use the user-selected culture settings from Windows.
A predefined name, of an existing , or Windows-only culture name. is not case-sensitive.
to use the user-selected culture settings (Windows only); to use the default culture settings.
is null.
is not a valid culture name. See the Notes to Callers section for more information.
Initializes a new instance of the class based on the culture specified by name.
A predefined name, of an existing , or Windows-only culture name. is not case-sensitive.
is null.
is not a valid culture name. For more information, see the Notes to Callers section.
Refreshes cached culture-related information.
Creates a copy of the current .
A copy of the current .
Creates a that represents the specific culture that is associated with the specified name.
A predefined name or the name of an existing object. is not case-sensitive.
is not a valid culture name.
-or-
The culture specified by does not have a specific culture associated with it.
is null.
A object that represents:
The invariant culture, if is an empty string ("").
-or-
The specific culture associated with , if is a neutral culture.
-or-
The culture specified by , if is already a specific culture.
Determines whether the specified object is the same culture as the current .
The object to compare with the current .
if is the same culture as the current ; otherwise, .
Gets an alternate user interface culture suitable for console applications when the default graphic user interface culture is unsuitable.
An alternate culture that is used to read and display text on the console.
Retrieves a cached, read-only instance of a culture by using the specified culture identifier.
A locale identifier (LCID).
is less than zero.
specifies a culture that is not supported. See the Notes to Caller section for more information.
A read-only object.
Retrieves a cached, read-only instance of a culture.
The name of a culture. It is not case-sensitive.
if requesting to create an instance of a culture that is known by the platform. if it is ok to retreive a made-up culture even if the platform does not carry data for it.
A read-only instance of a culture.
Retrieves a cached, read-only instance of a culture. Parameters specify a culture that is initialized with the and objects specified by another culture.
The name of a culture. is not case-sensitive.
The name of a culture that supplies the and objects used to initialize . is not case-sensitive.
or is null.
or specifies a culture that is not supported. See the Notes to Callers section for more information.
A read-only object.
Retrieves a cached, read-only instance of a culture using the specified culture name.
The name of a culture. is not case-sensitive.
is null.
specifies a culture that is not supported. See the Notes to Callers section for more information.
A read-only object.
Deprecated. Retrieves a read-only object having linguistic characteristics that are identified by the specified RFC 4646 language tag.
The name of a language as specified by the RFC 4646 standard.
is null.
does not correspond to a supported culture.
A read-only object.
Gets the list of supported cultures filtered by the specified parameter.
A bitwise combination of the enumeration values that filter the cultures to retrieve.
specifies an invalid combination of values.
An array that contains the cultures specified by the parameter. The array of cultures is unsorted.
Gets an object that defines how to format the specified type.
The for which to get a formatting object. This method only supports the and types.
The value of the property, which is a containing the default number format information for the current , if is the object for the class.
-or-
The value of the property, which is a containing the default date and time format information for the current , if is the object for the class.
-or-
null, if is any other object.
Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Returns a read-only wrapper around the specified object.
The object to wrap.
is null.
A read-only wrapper around .
Returns a string containing the name of the current in the format languagecode2-country/regioncode2.
A string containing the name of the current .
Gets the default calendar used by the culture.
A that represents the default calendar used by the culture.
Gets the that defines how to compare strings for the culture.
The that defines how to compare strings for the culture.
Gets the culture types that pertain to the current object.
A bitwise combination of one or more values. There is no default value.
Gets or sets the object that represents the culture used by the current thread and task-based asynchronous operations.
The property is set to .
The culture used by the current thread and task-based asynchronous operations.
Gets or sets the object that represents the current user interface culture used by the Resource Manager to look up culture-specific resources at run time.
The property is set to .
The property is set to a culture name that cannot be used to locate a resource file. Resource filenames can include only letters, numbers, hyphens, or underscores.
The culture used by the Resource Manager to look up culture-specific resources at run time.
Gets or sets a that defines the culturally appropriate format of displaying dates and times.
The property is set to null.
The property or any of the properties is set, and the is read-only.
A that defines the culturally appropriate format of displaying dates and times.
Gets or sets the default culture for threads in the current application domain.
The default culture for threads in the current application domain, or if the current system culture is the default thread culture in the application domain.
Gets or sets the default UI culture for threads in the current application domain.
In a set operation, the property value is invalid.
The default UI culture for threads in the current application domain, or if the current system UI culture is the default thread UI culture in the application domain.
Gets the full localized culture name.
The full localized culture name in the format languagefull [country/regionfull], where languagefull is the full name of the language and country/regionfull is the full name of the country/region.
Gets the culture name in the format languagefull [country/regionfull] in English.
The culture name in the format languagefull [country/regionfull] in English, where languagefull is the full name of the language and country/regionfull is the full name of the country/region.
Deprecated. Gets the RFC 4646 standard identification for a language.
A string that is the RFC 4646 standard identification for a language.
Gets the that represents the culture installed with the operating system.
The that represents the culture installed with the operating system.
Gets the object that is culture-independent (invariant).
The object that is culture-independent (invariant).
Gets a value indicating whether the current represents a neutral culture.
if the current represents a neutral culture; otherwise, .
Gets a value indicating whether the current is read-only.
if the current is read-only; otherwise, . The default is .
Gets the active input locale identifier.
A 32-bit signed number that specifies an input locale identifier.
Gets the culture identifier for the current .
The culture identifier for the current .
Gets the culture name in the format languagecode2-country/regioncode2.
The culture name in the format languagecode2-country/regioncode2, if the current is culture-dependent; or an empty string, if it's an invariant culture. languagecode2 is a lowercase two-letter code as defined in ISO 639-1, or, if no two-letter code is available, a three-letter code as defined in ISO 639-3. country/regioncode2 contains a value defined in ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag.
Gets the culture name, consisting of the language, the country/region, and the optional script, that the culture is set to display.
The culture name, consisting of the full name of the language, the full name of the country/region, and the optional script. The format is discussed in the description of the class.
Gets or sets a that defines the culturally appropriate format of displaying numbers, currency, and percentage.
The property is set to null.
The property or any of the properties is set, and the is read-only.
A that defines the culturally appropriate format of displaying numbers, currency, and percentage.
Gets the list of calendars that can be used by the culture.
An array of type that represents the calendars that can be used by the culture represented by the current .
Gets the that represents the parent culture of the current .
The that represents the parent culture of the current .
Gets the that defines the writing system associated with the culture.
The that defines the writing system associated with the culture.
Gets the ISO 639-2 three-letter code for the language of the current .
The ISO 639-2 three-letter code for the language of the current .
Gets the three-letter code for the language as defined in the Windows API.
The three-letter code for the language as defined in the Windows API.
Gets the ISO 639-1 two-letter or ISO 639-3 three-letter code for the language of the current .
The ISO 639-1 two-letter code for the language of the current . If no two-letter code is available, the three-letter code from ISO 639-3 is used.
Gets a value indicating whether the current object uses the user-selected culture settings.
if the current uses the user-selected culture settings; otherwise, .
The exception that is thrown when a method attempts to construct a culture that is not available.
Initializes a new instance of the class with its message string set to a system-supplied message.
Initializes a new instance of the class using the specified serialization data and context.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message to display with this exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the invalid Culture ID, and a reference to the inner exception that is the cause of this exception.
The error message to display with this exception.
The Culture ID that cannot be found.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the invalid Culture ID, and the name of the parameter that is the cause this exception.
The name of the parameter that is the cause the current exception.
The Culture ID that cannot be found.
The error message to display with this exception.
Initializes a new instance of the class with a specified error message, the invalid Culture Name, and a reference to the inner exception that is the cause of this exception.
The error message to display with this exception.
The Culture Name that cannot be found.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the invalid Culture Name, and the name of the parameter that is the cause this exception.
The name of the parameter that is the cause the current exception.
The Culture Name that cannot be found.
The error message to display with this exception.
Initializes a new instance of the class with a specified error message and the name of the parameter that is the cause this exception.
The name of the parameter that is the cause of the current exception.
The error message to display with this exception.
Initializes a new instance of the class with the specified error message.
The error message to display with this exception.
Sets the object with the parameter name and additional exception information.
The object that holds the serialized object data.
The contextual information about the source or destination.
is .
Gets the culture identifier that cannot be found.
The invalid culture identifier.
Gets the culture name that cannot be found.
The invalid culture name.
Gets the error message that explains the reason for the exception.
A text string describing the details of the exception.
Defines the types of culture lists that can be retrieved using the method.
All cultures that are recognized by .NET, including neutral and specific cultures and custom cultures created by the user.
On .NET Framework 4 and later versions and .NET Core running on Windows, it includes the culture data available from the Windows operating system. On .NET Core running on Linux and macOS, it includes culture data defined in the ICU libraries.
is a composite field that includes the , , and values.
This member is deprecated; using this value with returns neutral and specific cultures shipped with .NET Framework 2.0.
This member is deprecated. All cultures that are installed in the Windows operating system.
Cultures that are associated with a language but are not specific to a country/region.
This member is deprecated. Custom cultures created by the user that replace cultures shipped with the .NET Framework.
Cultures that are specific to a country/region.
This member is deprecated. Custom cultures created by the user.
This member is deprecated and is ignored.
Provides culture-specific information about the format of date and time values.
Initializes a new writable instance of the class that is culture-independent (invariant).
Creates a shallow copy of the .
A new object copied from the original .
Returns the culture-specific abbreviated name of the specified day of the week based on the culture associated with the current object.
A value.
is not a valid value.
The culture-specific abbreviated name of the day of the week represented by .
Returns the string containing the abbreviated name of the specified era, if an abbreviation exists.
The integer representing the era.
does not represent a valid era in the calendar specified in the property.
A string containing the abbreviated name of the specified era, if an abbreviation exists.
-or-
A string containing the full name of the era, if an abbreviation does not exist.
Returns the culture-specific abbreviated name of the specified month based on the culture associated with the current object.
An integer from 1 through 13 representing the name of the month to retrieve.
is less than 1 or greater than 13.
The culture-specific abbreviated name of the month represented by .
Returns all the standard patterns in which date and time values can be formatted.
An array that contains the standard patterns in which date and time values can be formatted.
Returns all the patterns in which date and time values can be formatted using the specified standard format string.
A standard format string.
is not a valid standard format string.
An array containing the standard patterns in which date and time values can be formatted using the specified format string.
Returns the culture-specific full name of the specified day of the week based on the culture associated with the current object.
A value.
is not a valid value.
The culture-specific full name of the day of the week represented by .
Returns the integer representing the specified era.
The string containing the name of the era.
is .
The integer representing the era, if is valid; otherwise, -1.
Returns the string containing the name of the specified era.
The integer representing the era.
does not represent a valid era in the calendar specified in the property.
A string containing the name of the era.
Returns an object of the specified type that provides a date and time formatting service.
The type of the required formatting service.
The current object, if is the same as the type of the current ; otherwise, .
Returns the object associated with the specified .
The that gets the object.
-or-
to get .
A object associated with .
Returns the culture-specific full name of the specified month based on the culture associated with the current object.
An integer from 1 through 13 representing the name of the month to retrieve.
is less than 1 or greater than 13.
The culture-specific full name of the month represented by .
Obtains the shortest abbreviated day name for a specified day of the week associated with the current object.
One of the values.
is not a value in the enumeration.
The abbreviated name of the week that corresponds to the parameter.
Returns a read-only wrapper.
The object to wrap.
is .
A read-only wrapper.
Sets the custom date and time format strings that correspond to a specified standard format string.
An array of custom format strings.
The standard format string associated with the custom format strings specified in the parameter.
is or a zero-length array.
-or-
is not a valid standard format string or is a standard format string whose patterns cannot be set.
has an array element whose value is .
This object is read-only.
Gets or sets a one-dimensional array of type containing the culture-specific abbreviated names of the days of the week.
The property is being set to .
The property is being set to an array that is multidimensional or that has a length that is not exactly 7.
The property is being set and the object is read-only.
A one-dimensional array of type containing the culture-specific abbreviated names of the days of the week. The array for contains "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", and "Sat".
Gets or sets a string array of abbreviated month names associated with the current object.
In a set operation, the array is multidimensional or has a length that is not exactly 13.
In a set operation, the array or one of the elements of the array is .
In a set operation, the current object is read-only.
An array of abbreviated month names.
Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months.
The property is being set to .
The property is being set to an array that is multidimensional or that has a length that is not exactly 13.
The property is being set and the object is read-only.
A one-dimensional string array with 13 elements that contains the culture-specific abbreviated names of the months. For 12-month calendars, the 13th element of the array is an empty string. The array for contains "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", and "".
Gets or sets the string designator for hours that are "ante meridiem" (before noon).
The property is being set to .
The property is being set and the object is read-only.
The string designator for hours that are ante meridiem. The default for is "AM".
Gets or sets the calendar to use for the current culture.
The property is being set to .
The property is being set to a object that is not valid for the current culture.
The property is being set and the object is read-only.
The calendar to use for the current culture. The default for is a object.
Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.
The property is being set to a value that is not a valid value.
In a set operation, the current object is read-only.
A value that determines the first calendar week of the year. The default for is .
Gets a read-only object that formats values based on the current culture.
A read-only object based on the object for the current thread.
Gets or sets the string that separates the components of a date, that is, the year, month, and day.
The property is being set to .
The property is being set and the object is read-only.
The string that separates the components of a date, that is, the year, month, and day. The default for is "/".
Gets or sets a one-dimensional string array that contains the culture-specific full names of the days of the week.
The property is being set to .
The property is being set to an array that is multidimensional or that has a length that is not exactly 7.
The property is being set and the object is read-only.
A one-dimensional string array that contains the culture-specific full names of the days of the week. The array for contains "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", and "Saturday".
Gets or sets the first day of the week.
The property is being set to a value that is not a valid value.
The property is being set and the object is read-only.
An enumeration value that represents the first day of the week. The default for is .
Gets or sets the custom format string for a long date and long time value.
The property is being set to .
The property is being set and the object is read-only.
The custom format string for a long date and long time value.
Gets the default read-only object that is culture-independent (invariant).
A read-only object that is culture-independent (invariant).
Gets a value indicating whether the object is read-only.
if the object is read-only; otherwise, .
Gets or sets the custom format string for a long date value.
The property is being set to .
The property is being set and the object is read-only.
The custom format string for a long date value.
Gets or sets the custom format string for a long time value.
The property is being set to .
The property is being set and the object is read-only.
The format pattern for a long time value.
Gets or sets the custom format string for a month and day value.
The property is being set to .
The property is being set and the object is read-only.
The custom format string for a month and day value.
Gets or sets a string array of month names associated with the current object.
In a set operation, the array is multidimensional or has a length that is not exactly 13.
In a set operation, the array or one of its elements is .
In a set operation, the current object is read-only.
A string array of month names.
Gets or sets a one-dimensional array of type containing the culture-specific full names of the months.
The property is being set to .
The property is being set to an array that is multidimensional or that has a length that is not exactly 13.
The property is being set and the object is read-only.
A one-dimensional array of type containing the culture-specific full names of the months. In a 12-month calendar, the 13th element of the array is an empty string. The array for contains "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", and "".
Gets the native name of the calendar associated with the current object.
The native name of the calendar used in the culture associated with the current object if that name is available, or the empty string ("") if the native calendar name is not available.
Gets or sets the string designator for hours that are "post meridiem" (after noon).
The property is being set to .
The property is being set and the object is read-only.
The string designator for hours that are "post meridiem" (after noon). The default for is "PM".
Gets the custom format string for a time value that is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification.
The custom format string for a time value that is based on the IETF RFC 1123 specification.
Gets or sets the custom format string for a short date value.
The property is being set to .
The property is being set and the object is read-only.
The custom format string for a short date value.
Gets or sets a string array of the shortest abbreviated day names associated with the current object.
In a set operation, the array does not have exactly seven elements.
In a set operation, the value array or one of the elements of the value array is .
In a set operation, the current object is read-only.
A string array of day names.
Gets or sets the custom format string for a short time value.
The property is being set to .
The property is being set and the object is read-only.
The custom format string for a short time value.
Gets the custom format string for a sortable date and time value.
The custom format string for a sortable date and time value.
Gets or sets the string that separates the components of time, that is, the hour, minutes, and seconds.
The property is being set to .
The property is being set and the object is read-only.
The string that separates the components of time. The default for is ":".
Gets the custom format string for a universal, sortable date and time string, as defined by ISO 8601.
The custom format string for a universal, sortable date and time string.
Gets or sets the custom format string for a year and month value.
The property is being set to .
The property is being set and the object is read-only.
The custom format string for a year and month value.
Defines the formatting options that customize string parsing for some date and time parsing methods.
Date and time are returned as a Coordinated Universal Time (UTC). If the input string denotes a local time, through a time zone specifier or , the date and time are converted from the local time to UTC. If the input string denotes a UTC time, through a time zone specifier or , no conversion occurs. If the input string does not denote a local or UTC time, no conversion occurs and the resulting property is . This value cannot be used with .
Extra white-space characters in the middle of the string must be ignored during parsing, except if they occur in the format patterns.
Leading white-space characters must be ignored during parsing, except if they occur in the format patterns.
Trailing white-space characters must be ignored during parsing, except if they occur in the format patterns.
Extra white-space characters anywhere in the string must be ignored during parsing, except if they occur in the format patterns. This value is a combination of the , , and values.
If no time zone is specified in the parsed string, the string is assumed to denote a local time. This value cannot be used with or .
If no time zone is specified in the parsed string, the string is assumed to denote a UTC. This value cannot be used with or .
If the parsed string contains only the time and not the date, the parsing methods assume the Gregorian date with year = 1, month = 1, and day = 1. If this value is not used, the current date is assumed.
Default formatting options must be used. This value represents the default style for the , , and methods.
The field of a date is preserved when a object is converted to a string using the "o" or "r" standard format specifier, and the string is then converted back to a object.
Defines the period of daylight saving time.
Initializes a new instance of the class with the specified start, end, and time difference information.
The object that represents the date and time when daylight saving time begins. The value must be in local time.
The object that represents the date and time when daylight saving time ends. The value must be in local time.
The object that represents the difference between standard time and daylight saving time, in ticks.
Gets the time interval that represents the difference between standard time and daylight saving time.
The time interval that represents the difference between standard time and daylight saving time.
Gets the object that represents the date and time when the daylight saving period ends.
The object that represents the date and time when the daylight saving period ends. The value is in local time.
Gets the object that represents the date and time when the daylight saving period begins.
The object that represents the date and time when the daylight saving period begins. The value is in local time.
Specifies the culture-specific display of digits.
The digit shape depends on the previous text in the same output. European digits follow Latin scripts; Arabic-Indic digits follow Arabic text; and Thai digits follow Thai text.
The digit shape is the native equivalent of the digits from 0 through 9. ASCII digits from 0 through 9 are replaced by equivalent native national digits.
The digit shape is not changed. Full Unicode compatibility is maintained.
Represents a calendar that divides time into months, days, years, and eras, and has dates that are based on cycles of the sun and the moon.
Calculates the date that is the specified number of months away from the specified date.
The to which to add .
The number of months to add.
The result is outside the supported range of a .
is less than -120000 or greater than 120000.
-or-
is less than or greater than .
A new that results from adding the specified number of months to the parameter.
Calculates the date that is the specified number of years away from the specified date.
The to which to add .
The number of years to add.
The result is outside the supported range of a .
is less than or greater than .
A new that results from adding the specified number of years to the parameter.
Calculates the celestial stem of the specified year in the sexagenary (60-year) cycle.
An integer from 1 through 60 that represents a year in the sexagenary cycle.
is less than 1 or greater than 60.
A number from 1 through 10.
Calculates the day of the month in the specified date.
The to read.
An integer from 1 through 31 that represents the day of the month specified in the parameter.
Calculates the day of the week in the specified date.
The to read.
is less than or greater than .
One of the values that represents the day of the week specified in the parameter.
Calculates the day of the year in the specified date.
The to read.
An integer from 1 through 354 in a common year, or 1 through 384 in a leap year, that represents the day of the year specified in the parameter.
Calculates the number of days in the specified month of the specified year and era.
An integer that represents the year.
An integer from 1 through 12 in a common year, or 1 through 13 in a leap year, that represents the month.
An integer that represents the era.
, , or is outside the range supported by this calendar.
The number of days in the specified month of the specified year and era.
Calculates the number of days in the specified year and era.
An integer that represents the year.
An integer that represents the era.
or is outside the range supported by this calendar.
The number of days in the specified year and era.
Calculates the leap month for the specified year and era.
An integer that represents the year.
An integer that represents the era.
A positive integer from 1 through 13 that indicates the leap month in the specified year and era.
-or-
Zero if this calendar does not support a leap month, or if the and parameters do not specify a leap year.
Returns the month in the specified date.
The to read.
An integer from 1 to 13 that represents the month specified in the parameter.
Calculates the number of months in the specified year and era.
An integer that represents the year.
An integer that represents the era.
or is outside the range supported by this calendar.
The number of months in the specified year in the specified era. The return value is 12 months in a common year or 13 months in a leap year.
Calculates the year in the sexagenary (60-year) cycle that corresponds to the specified date.
A to read.
A number from 1 through 60 in the sexagenary cycle that corresponds to the parameter.
Calculates the terrestrial branch of the specified year in the sexagenary (60-year) cycle.
An integer from 1 through 60 that represents a year in the sexagenary cycle.
is less than 1 or greater than 60.
An integer from 1 through 12.
Returns the year in the specified date.
The to read.
An integer that represents the year in the specified .
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 through 13 that represents the month.
An integer from 1 through 31 that represents the day.
An integer that represents the era.
, , , or is outside the range supported by this calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year and era is a leap month.
An integer that represents the year.
An integer from 1 through 13 that represents the month.
An integer that represents the era.
, , or is outside the range supported by this calendar.
if the parameter is a leap month; otherwise, .
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
or is outside the range supported by this calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date, time, and era.
An integer that represents the year.
An integer from 1 through 13 that represents the month.
An integer from 1 through 31 that represents the day.
An integer from 0 through 23 that represents the hour.
An integer from 0 through 59 that represents the minute.
An integer from 0 through 59 that represents the second.
An integer from 0 through 999 that represents the millisecond.
An integer that represents the era.
, , , , , , , or is outside the range supported by this calendar.
A that is set to the specified date, time, and era.
Converts the specified year to a four-digit year.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by this calendar.
An integer that contains the four-digit representation of the parameter.
Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The current is read-only.
The value in a set operation is less than 99 or greater than the maximum supported year in the current calendar.
The last year of a 100-year range that can be represented by a 2-digit year.
Provides globalization-related extension methods.
Returns a object based on the culture-sensitive string comparison rules of a specified object.
An object that supports culture-sensitive string comparison.
A value that defines how strings should be compared. is either the enumeration value , the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
is .
is invalid.
An object that can be used to perform string comparisons.
Represents the Gregorian calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class using the default value.
Initializes a new instance of the class using the specified value.
The value that denotes which language version of the calendar to create.
is not a member of the enumeration.
Returns a that is the specified number of months away from the specified .
The to which to add months.
The number of months to add.
The resulting is outside the supported range.
is less than -120000.
-or-
is greater than 120000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to which to add years.
The number of years to add.
The resulting is outside the supported range.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 31 that represents the day of the month in .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in .
Returns the day of the year in the specified .
The to read.
An integer from 1 to 366 that represents the day of the year in .
Returns the number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified year in the specified era.
Returns the era in the specified .
The to read.
An integer that represents the era in .
Calculates the leap month for a specified year and era.
A year.
An era. Specify either or .
is less than the Gregorian calendar year 1 or greater than the Gregorian calendar year 9999.
-or-
is not or .
Always 0 because the Gregorian calendar does not recognize leap months.
Returns the month in the specified .
The to read.
An integer from 1 to 12 that represents the month in .
Returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of months in the specified year in the specified era.
Returns the year in the specified .
The to read.
An integer that represents the year in .
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
This method always returns , unless overridden by a derived class.
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by the calendar.
An integer that contains the four-digit representation of .
Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets or sets the value that denotes the language version of the current .
The value specified in a set operation is not a member of the enumeration.
In a set operation, the current instance is read-only.
A value that denotes the language version of the current .
Gets the list of eras in the .
An array of integers that represents the eras in the .
Gets the latest date and time supported by the type.
The latest date and time supported by the type, which is the last moment of December 31, 9999 C.E. and is equivalent to DateTime.MaxValue.
Gets the earliest date and time supported by the type.
The earliest date and time supported by the type, which is the first moment of January 1, 0001 C.E. and is equivalent to DateTime.MinValue.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The value specified in a set operation is less than 99.
-or-
The value specified in a set operation is greater than .
In a set operation, the current instance is read-only.
The last year of a 100-year range that can be represented by a 2-digit year.
Defines the different language versions of the Gregorian calendar.
Refers to the Arabic version of the Gregorian calendar.
Refers to the localized version of the Gregorian calendar, based on the language of the that uses the .
Refers to the Middle East French version of the Gregorian calendar.
Refers to the transliterated English version of the Gregorian calendar.
Refers to the transliterated French version of the Gregorian calendar.
Refers to the U.S. English version of the Gregorian calendar.
Represents the Hebrew calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class.
Returns a that is the specified number of months away from the specified .
The to which to add .
The number of months to add.
The resulting is outside the supported range.
is less than -120,000 or greater than 120,000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to which to add .
The number of years to add.
The resulting is outside the supported range.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 30 that represents the day of the month in the specified .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in the specified .
Returns the day of the year in the specified .
The to read.
is earlier than September 17, 1583 in the Gregorian calendar, or greater than .
An integer from 1 to 385 that represents the day of the year in the specified .
Returns the number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
An integer from 1 to 13 that represents the month.
An integer that represents the era. Specify either or .
, , or is outside the range supported by the current object.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era. Specify either or .
or is outside the range supported by the current object.
The number of days in the specified year in the specified era.
Returns the era in the specified .
The to read.
An integer that represents the era in the specified . The return value is always .
Calculates the leap month for a specified year and era.
A year.
An era. Specify either or .
is not or .
-or-
is less than the Hebrew calendar year 5343 or greater than the Hebrew calendar year 5999.
A positive integer that indicates the leap month in the specified year and era. The return value is 7 if the and parameters specify a leap year, or 0 if the year is not a leap year.
Returns the month in the specified .
The to read.
is less than or greater than .
An integer from 1 to 13 that represents the month in the specified .
Returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era. Specify either or .
or is outside the range supported by the current object.
The number of months in the specified year in the specified era. The return value is either 12 in a common year, or 13 in a leap year.
Returns the year in the specified value.
The to read.
is outside the range supported by the current object.
An integer that represents the year in the specified value.
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 to 13 that represents the month.
An integer from 1 to 30 that represents the day.
An integer that represents the era. Specify either or .
, , , or is outside the range supported by this calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
An integer from 1 to 13 that represents the month.
An integer that represents the era. Specify either or .
, , or is outside the range supported by this calendar.
if the specified month is a leap month; otherwise, .
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era. Specify either or .
or is outside the range supported by this calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
An integer from 1 to 13 that represents the month.
An integer from 1 to 30 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era. Specify either or .
, , or is outside the range supported by the current object.
-or-
is less than 0 or greater than 23.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 59.
-or-
is less than 0 or greater than 999.
The that is set to the specified date and time in the current era.
Converts the specified year to a 4-digit year by using the property to determine the appropriate century.
A 2-digit year from 0 through 99, or a 4-digit Hebrew calendar year from 5343 through 5999.
is less than 0.
-or-
is less than or greater than .
If the parameter is a 2-digit year, the return value is the corresponding 4-digit year. If the parameter is a 4-digit year, the return value is the unchanged parameter.
Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the list of eras in the .
An array of integers that represents the eras in the type. The return value is always an array containing one element equal to .
Gets the latest date and time supported by the type.
The latest date and time supported by the type, which is equivalent to the last moment of September, 29, 2239 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by the type.
The earliest date and time supported by the type, which is equivalent to the first moment of January, 1, 1583 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The current object is read-only.
In a set operation, the Hebrew calendar year value is less than 5343 but is not 99, or the year value is greater than 5999.
The last year of a 100-year range that can be represented by a 2-digit year.
Represents the Hijri calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class.
Returns a that is the specified number of months away from the specified .
The to add months to.
The number of months to add.
The resulting .
is less than -120000.
-or-
is greater than 120000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to add years to.
The number of years to add.
The resulting is outside the supported range.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 30 that represents the day of the month in the specified .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in the specified .
Returns the day of the year in the specified .
The to read.
An integer from 1 to 355 that represents the day of the year in the specified .
Returns the number of days in the specified month of the specified year and era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year and era.
An integer that represents the year.
An integer that represents the era.
or is outside the range supported by this calendar.
The number of days in the specified year and era. The number of days is 354 in a common year or 355 in a leap year.
Returns the era in the specified .
The to read.
An integer that represents the era in the specified .
Calculates the leap month for a specified year and era.
A year.
An era. Specify or .
is less than the Hijri calendar year 1 or greater than the year 9666.
-or-
is not or .
Always 0 because the type does not support the notion of a leap month.
Returns the month in the specified .
The to read.
An integer from 1 to 12 that represents the month in the specified .
Returns the number of months in the specified year and era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
The number of months in the specified year and era.
Returns the year in the specified .
The to read.
An integer that represents the year in the specified .
Determines whether the specified date is a leap day.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 30 that represents the day.
An integer that represents the era.
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year and era is a leap month.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
This method always returns .
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date, time, and era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 30 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
-or-
is outside the range supported by this calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by this calendar.
An integer that contains the four-digit representation of .
Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the number of days in the year that precedes the year that is specified by the property.
The number of days in the year that precedes the year specified by .
Gets the list of eras in the .
An array of integers that represents the eras in the .
Gets or sets the number of days to add or subtract from the calendar to accommodate the variances in the start and the end of Ramadan and to accommodate the date difference between countries/regions.
The property is being set to an invalid value.
An integer from -2 to 2 that represents the number of days to add or subtract from the calendar.
Gets the latest date and time supported by this calendar.
The latest date and time supported by the type, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by this calendar.
The earliest date and time supported by the type, which is equivalent to the first moment of July 18, 622 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
This calendar is read-only.
The value in a set operation is less than 100 or greater than 9666.
The last year of a 100-year range that can be represented by a 2-digit year.
Supports the use of non-ASCII characters for Internet domain names. This class cannot be inherited.
Initializes a new instance of the class.
Indicates whether a specified object and the current object are equal.
The object to compare to the current object.
if the object specified by the parameter is derived from and its and properties are equal; otherwise, .
Encodes the specified number of characters in a substring of domain name labels that include Unicode characters outside the US-ASCII character range. The substring is converted to a string of displayable Unicode characters in the US-ASCII character range and is formatted according to the IDNA standard.
The string to convert, which consists of one or more domain name labels delimited with label separators.
A zero-based offset into that specifies the start of the substring.
The number of characters to convert in the substring that starts at the position specified by in the string.
is .
or is less than zero.
-or-
is greater than the length of .
-or-
is greater than the length of minus .
is invalid based on the and properties, and the IDNA standard.
The equivalent of the substring specified by the , , and parameters, consisting of displayable Unicode characters in the US-ASCII character range (U+0020 to U+007E) and formatted according to the IDNA standard.
Encodes a substring of domain name labels that include Unicode characters outside the US-ASCII character range. The substring is converted to a string of displayable Unicode characters in the US-ASCII character range and is formatted according to the IDNA standard.
The string to convert, which consists of one or more domain name labels delimited with label separators.
A zero-based offset into that specifies the start of the substring to convert. The conversion operation continues to the end of the string.
is .
is less than zero.
-or-
is greater than the length of .
is invalid based on the and properties, and the IDNA standard.
The equivalent of the substring specified by the and parameters, consisting of displayable Unicode characters in the US-ASCII character range (U+0020 to U+007E) and formatted according to the IDNA standard.
Encodes a string of domain name labels that consist of Unicode characters to a string of displayable Unicode characters in the US-ASCII character range. The string is formatted according to the IDNA standard.
The string to convert, which consists of one or more domain name labels delimited with label separators.
is .
is invalid based on the and properties, and the IDNA standard.
The equivalent of the string specified by the parameter, consisting of displayable Unicode characters in the US-ASCII character range (U+0020 to U+007E) and formatted according to the IDNA standard.
Returns a hash code for this object.
One of four 32-bit signed constants derived from the properties of an object. The return value has no special meaning and is not suitable for use in a hash code algorithm.
Decodes a substring of a specified length that contains one or more domain name labels, encoded according to the IDNA standard, to a string of Unicode characters.
The string to decode, which consists of one or more labels in the US-ASCII character range (U+0020 to U+007E) encoded according to the IDNA standard.
A zero-based offset into that specifies the start of the substring.
The number of characters to convert in the substring that starts at the position specified by in the string.
is .
or is less than zero.
-or-
is greater than the length of .
-or-
is greater than the length of minus .
is invalid based on the and properties, and the IDNA standard.
The Unicode equivalent of the IDNA substring specified by the , , and parameters.
Decodes a substring of one or more domain name labels, encoded according to the IDNA standard, to a string of Unicode characters.
The string to decode, which consists of one or more labels in the US-ASCII character range (U+0020 to U+007E) encoded according to the IDNA standard.
A zero-based offset into that specifies the start of the substring to decode. The decoding operation continues to the end of the string.
is .
is less than zero.
-or-
is greater than the length of .
is invalid based on the and properties, and the IDNA standard.
The Unicode equivalent of the IDNA substring specified by the and parameters.
Decodes a string of one or more domain name labels, encoded according to the IDNA standard, to a string of Unicode characters.
The string to decode, which consists of one or more labels in the US-ASCII character range (U+0020 to U+007E) encoded according to the IDNA standard.
is .
is invalid based on the and properties, and the IDNA standard.
The Unicode equivalent of the IDNA substring specified by the parameter.
Gets or sets a value that indicates whether unassigned Unicode code points are used in operations performed by members of the current object.
if unassigned code points are used in operations; otherwise, .
Gets or sets a value that indicates whether standard or relaxed naming conventions are used in operations performed by members of the current object.
if standard naming conventions are used in operations; otherwise, .
Provides static members to support the ISO week date that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO).
Calculates the ISO week number of a given Gregorian date.
A date in the Gregorian calendar.
A number between 1 and 53 representing the ISO week number of the given Gregorian date.
Calculates the ISO week number of a given Gregorian date.
A date in the Gregorian calendar.
A number between 1 and 53 representing the ISO week number of the given Gregorian date.
calculates the number of weeks in a given ISO week-numbering year.
An ISO week-numbering year (also called an ISO year informally).
The number of ISO weeks in the year. Returns either 52 or 53.
Calculates the ISO week-numbering year (also called ISO year informally) mapped to the input Gregorian date.
A date in the Gregorian calendar.
The ISO week-numbering year, between 1 and 9999
Calculates the ISO week-numbering year (also called ISO year informally) mapped to the input Gregorian date.
A date in the Gregorian calendar.
The ISO week-numbering year, between 1 and 9999
Calculates the Gregorian date at which the week-numbering year will end.
An ISO week-numbering year (also called an ISO year informally).
The Gregorian date at which the week-numbering year will end.
Calculates the Gregorian date at which the week-numbering year will start.
An ISO week-numbering year (also called an ISO year informally).
The Gregorian date at which the week-numbering year will start.
Maps the ISO week date represented by a specified ISO year, week number, and day of week to the equivalent Gregorian date.
An ISO week-numbering year (also called an ISO year informally).
The ISO week number in the given ISO week-numbering year.
The day of week inside the given ISO week.
The Gregorian date equivalent to the input ISO week date.
Maps the ISO week date represented by a specified ISO year, week number, and day of week to the equivalent Gregorian date.
An ISO week-numbering year (also called an ISO year informally).
The ISO week number in the given ISO week-numbering year.
The day of week inside the given ISO week.
The Gregorian date equivalent to the input ISO week date.
Represents the Japanese calendar.
Initializes a new instance of the class.
Unable to initialize a object because of missing culture information.
Returns a that is the specified number of months away from the specified .
The to which to add months.
The number of months to add.
The resulting is outside the supported range.
is less than -120000.
-or-
is greater than 120000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to which to add years.
The number of years to add.
The resulting is outside the supported range.
is outside the supported range of the type.
-or-
is less than -10,000 or greater than 10,000.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 31 that represents the day of the month in the specified .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in the specified .
Returns the day of the year in the specified .
The to read.
An integer from 1 to 366 that represents the day of the year in the specified .
Returns the number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified year in the specified era.
Returns the era in the specified .
The to read.
The resulting is outside the supported range.
An integer that represents the era in the specified .
Calculates the leap month for a specified year and era.
A year.
An era.
or is outside the range supported by the type.
The return value is always 0 because the type does not support the notion of a leap month.
Returns the month in the specified .
The to read.
An integer from 1 to 12 that represents the month in the specified .
Returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The return value is always 12.
Returns the week of the year that includes the date in the specified .
The to read.
One of the values that defines a calendar week.
One of the values that represents the first day of the week.
or is outside the range supported by the calendar.
-or-
is not a valid value.
A 1-based integer that represents the week of the year that includes the date in the parameter.
Returns the year in the specified .
The to read.
An integer that represents the year in the specified .
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
, if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
This method always returns , unless overridden by a derived class.
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
, if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
-or-
is outside the range supported by the calendar.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
An integer (usually two digits) that represents the year to convert.
is outside the range supported by the calendar.
An integer that contains the four-digit representation of .
Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the list of eras in the .
An array of integers that represents the eras in the .
Gets the latest date and time supported by the current object.
The latest date and time supported by the type, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by the current object.
The earliest date and time supported by the type, which is equivalent to the first moment of September 8, 1868 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The value specified in a set operation is less than 99.
-or-
The value specified in a set operation is greater than 8011 (or ).
In a set operation, the current instance is read-only.
The last year of a 100-year range that can be represented by a 2-digit year.
Represents time in divisions, such as months, days, and years. Years are calculated as for the Japanese calendar, while days and months are calculated using the lunisolar calendar.
Specifies the current era.
Initializes a new instance of the class.
Retrieves the era that corresponds to the specified .
The to read.
An integer that represents the era specified in the parameter.
Gets the number of days in the year that precedes the year that is specified by the property.
The number of days in the year that precedes the year specified by .
Gets the eras that are relevant to the object.
An array of 32-bit signed integers that specify the relevant eras.
Gets the maximum date and time supported by the class.
The latest date and time supported by the class, which is equivalent to the last moment of January 22, 2050 C.E. in the Gregorian calendar.
Gets the minimum date and time supported by the class.
The earliest date and time supported by the class, which is equivalent to the first moment of January 28, 1960 C.E. in the Gregorian calendar.
Represents the Julian calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class.
Returns a that is the specified number of months away from the specified .
The to which to add months.
The number of months to add.
The resulting is outside the supported range.
is less than -120000.
-or-
is greater than 120000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to which to add years.
The number of years to add.
The resulting is outside the supported range.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 31 that represents the day of the month in .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in .
Returns the day of the year in the specified .
The to read.
An integer from 1 to 366 that represents the day of the year in .
Returns the number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified year in the specified era.
Returns the era in the specified .
The to read.
An integer that represents the era in .
Calculates the leap month for a specified year and era.
An integer that represents the year.
An integer that represents the era.
A positive integer that indicates the leap month in the specified year and era. Alternatively, this method returns zero if the calendar does not support a leap month, or if and do not specify a leap year.
Returns the month in the specified .
The to read.
An integer from 1 to 12 that represents the month in .
Returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of months in the specified year in the specified era.
Returns the year in the specified .
The to read.
An integer that represents the year in .
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
This method always returns , unless overridden by a derived class.
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
-or-
is outside the range supported by the calendar.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by the calendar.
An integer that contains the four-digit representation of .
Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the list of eras in the .
An array of integers that represents the eras in the .
Gets the latest date and time supported by the class.
The latest date and time supported by the class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by the class.
The earliest date and time supported by the class, which is equivalent to the first moment of January 1, 0001 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The value specified in a set operation is less than 99.
-or-
The value specified in a set operation is greater than .
In a set operation, the current instance is read-only.
The last year of a 100-year range that can be represented by a 2-digit year.
Represents the Korean calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class.
Unable to initialize a object because of missing culture information.
Returns a that is the specified number of months away from the specified .
The to which to add months.
The number of months to add.
is less than -120000.
-or-
is greater than 120000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to which to add years.
The number of years to add.
or is out of range.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 31 that represents the day of the month in the specified .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in the specified .
Returns the day of the year in the specified .
The to read.
An integer from 1 to 366 that represents the day of the year in the specified .
Returns the number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified year in the specified era.
Returns the era in the specified .
The to read.
An integer that represents the era in the specified .
Calculates the leap month for a specified year and era.
A year.
An era.
The return value is always 0 because the class does not support the notion of a leap month.
Returns the month in the specified .
The to read.
An integer from 1 to 12 that represents the month in the specified .
Returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of months in the specified year in the specified era.
Returns the week of the year that includes the date in the specified .
The to read.
One of the values that defines a calendar week.
One of the values that represents the first day of the week.
or is outside the range supported by the calendar.
-or-
is not a valid value.
A 1-based integer that represents the week of the year that includes the date in the parameter.
Returns the year in the specified .
The to read.
An integer that represents the year in the specified .
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
This method always returns , unless overridden by a derived class.
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
-or-
is outside the range supported by the calendar.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by the calendar.
An integer that contains the four-digit representation of .
Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the list of eras in the .
An array of integers that represents the eras in the .
Gets the latest date and time supported by the class.
The latest date and time supported by the class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by the class.
The earliest date and time supported by the class, which is equivalent to the first moment of January 1, 0001 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The value specified in a set operation is less than 99.
-or-
The value specified in a set operation is greater than .
In a set operation, the current instance is read-only.
The last year of a 100-year range that can be represented by a 2-digit year.
Represents time in divisions, such as months, days, and years. Years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar calendar.
Specifies the Gregorian era that corresponds to the current object.
Initializes a new instance of the class.
Retrieves the era that corresponds to the specified .
The to read.
represents a date and time less than or greater than .
An integer that represents the era specified by the parameter. The return value for a object is always the value.
Gets the number of days in the year that precedes the year specified by the property.
The number of days in the year that precedes the year specified by .
Gets the eras that correspond to the range of dates and times supported by the current object.
An array of 32-bit signed integers that specify the relevant eras. The return value for a object is always an array containing one element equal to the value.
Gets the maximum date and time supported by the class.
The latest date and time supported by the class, which is equivalent to the last moment of February 10, 2051 C.E. in the Gregorian calendar.
Gets the minimum date and time supported by the class.
The earliest date and time supported by the class.
Provides culture-specific information for formatting and parsing numeric values.
Initializes a new writable instance of the class that is culture-independent (invariant).
Creates a shallow copy of the object.
A new object copied from the original object.
Gets an object of the specified type that provides a number formatting service.
The of the required formatting service.
The current , if is the same as the type of the current ; otherwise, .
Gets the associated with the specified .
The used to get the .
-or-
to get .
The associated with the specified .
Returns a read-only wrapper.
The to wrap.
is .
A read-only wrapper around .
Gets or sets the number of decimal places to use in currency values.
The property is being set to a value that is less than 0 or greater than 99.
The property is being set and the object is read-only.
The number of decimal places to use in currency values. The default for is 2.
Gets or sets the string to use as the decimal separator in currency values.
The property is being set to .
The property is being set and the object is read-only.
The property is being set to an empty string.
The string to use as the decimal separator in currency values. The default for is ".".
Gets or sets the string that separates groups of digits to the left of the decimal in currency values.
The property is being set to .
The property is being set and the object is read-only.
The string that separates groups of digits to the left of the decimal in currency values. The default for is ",".
Gets or sets the number of digits in each group to the left of the decimal in currency values.
The property is being set to .
The property is being set and the array contains an entry that is less than 0 or greater than 9.
-or-
The property is being set and the array contains an entry, other than the last entry, that is set to 0.
The property is being set and the object is read-only.
The number of digits in each group to the left of the decimal in currency values. The default for is a one-dimensional array with only one element, which is set to 3.
Gets or sets the format pattern for negative currency values.
The property is set to a value that's less than 0 or greater than 16. On .NET Core 3.1 and earlier versions, this exception is thrown if the value is greater than 15.
The property is being set and the object is read-only.
The format pattern for negative currency values. The default for is 0, which represents "(\$n)", where "\$" is the and "n" is a number.
Gets or sets the format pattern for positive currency values.
The property is being set to a value that is less than 0 or greater than 3.
The property is being set and the object is read-only.
The format pattern for positive currency values. The default for is 0, which represents "\$n", where "\$" is the and "n" is a number.
Gets or sets the string to use as the currency symbol.
The property is being set to .
The property is being set and the object is read-only.
The string to use as the currency symbol. The default for is "¤".
Gets a read-only that formats values based on the current culture.
A read-only based on the culture of the current thread.
Gets or sets a value that specifies how the graphical user interface displays the shape of a digit.
The current object is read-only.
The value in a set operation is not a valid value.
One of the enumeration values that specifies the culture-specific digit shape.
Gets a read-only object that is culture-independent (invariant).
A read-only object that is culture-independent (invariant).
Gets a value that indicates whether this object is read-only.
if the is read-only; otherwise, .
Gets or sets the string that represents the IEEE NaN (not a number) value.
The property is being set to .
The property is being set and the object is read-only.
The string that represents the IEEE NaN (not a number) value. The default for is "NaN".
Gets or sets a string array of native digits equivalent to the Western digits 0 through 9.
The current object is read-only.
In a set operation, the value is .
-or-
In a set operation, an element of the value array is .
In a set operation, the value array does not contain 10 elements.
-or-
In a set operation, an element of the value array does not contain either a single object or a pair of objects that comprise a surrogate pair.
-or-
In a set operation, an element of the value array is not a number digit as defined by the Unicode Standard. That is, the digit in the array element does not have the Unicode (Nd) General Category value.
-or-
In a set operation, the numeric value of an element in the value array does not correspond to the element's position in the array. That is, the element at index 0, which is the first element of the array, does not have a numeric value of 0, or the element at index 1 does not have a numeric value of 1.
A string array that contains the native equivalent of the Western digits 0 through 9. The default is an array having the elements "0", "1", "2", "3", "4", "5", "6", "7", "8", and "9".
Gets or sets the string that represents negative infinity.
The property is being set to .
The property is being set and the object is read-only.
The string that represents negative infinity. The default for is "-Infinity".
Gets or sets the string that denotes that the associated number is negative.
The property is being set to .
The property is being set and the object is read-only.
The string that denotes that the associated number is negative. The default for is "-".
Gets or sets the number of decimal places to use in numeric values.
The property is being set to a value that is less than 0 or greater than 99.
The property is being set and the object is read-only.
The number of decimal places to use in numeric values. The default for is 2.
Gets or sets the string to use as the decimal separator in numeric values.
The property is being set to .
The property is being set and the object is read-only.
The property is being set to an empty string.
The string to use as the decimal separator in numeric values. The default for is ".".
Gets or sets the string that separates groups of digits to the left of the decimal in numeric values.
The property is being set to .
The property is being set and the object is read-only.
The string that separates groups of digits to the left of the decimal in numeric values. The default for is ",".
Gets or sets the number of digits in each group to the left of the decimal in numeric values.
The property is being set to .
The property is being set and the array contains an entry that is less than 0 or greater than 9.
-or-
The property is being set and the array contains an entry, other than the last entry, that is set to 0.
The property is being set and the object is read-only.
The number of digits in each group to the left of the decimal in numeric values. The default for is a one-dimensional array with only one element, which is set to 3.
Gets or sets the format pattern for negative numeric values.
The property is being set to a value that is less than 0 or greater than 4.
The property is being set and the object is read-only.
The format pattern for negative numeric values.
Gets or sets the number of decimal places to use in percent values.
The property is being set to a value that is less than 0 or greater than 99.
The property is being set and the object is read-only.
The number of decimal places to use in percent values. The default for is 2.
Gets or sets the string to use as the decimal separator in percent values.
The property is being set to .
The property is being set and the object is read-only.
The property is being set to an empty string.
The string to use as the decimal separator in percent values. The default for is ".".
Gets or sets the string that separates groups of digits to the left of the decimal in percent values.
The property is being set to .
The property is being set and the object is read-only.
The string that separates groups of digits to the left of the decimal in percent values. The default for is ",".
Gets or sets the number of digits in each group to the left of the decimal in percent values.
The property is being set to .
The property is being set and the array contains an entry that is less than 0 or greater than 9.
-or-
The property is being set and the array contains an entry, other than the last entry, that is set to 0.
The property is being set and the object is read-only.
The number of digits in each group to the left of the decimal in percent values. The default for is a one-dimensional array with only one element, which is set to 3.
Gets or sets the format pattern for negative percent values.
The property is being set to a value that is less than 0 or greater than 11.
The property is being set and the object is read-only.
The format pattern for negative percent values. The default for is 0, which represents "-n %", where "%" is the and "n" is a number.
Gets or sets the format pattern for positive percent values.
The property is being set to a value that is less than 0 or greater than 3.
The property is being set and the object is read-only.
The format pattern for positive percent values. The default for is 0, which represents "n %", where "%" is the and "n" is a number.
Gets or sets the string to use as the percent symbol.
The property is being set to .
The property is being set and the object is read-only.
The string to use as the percent symbol. The default for is "%".
Gets or sets the string to use as the per mille symbol.
The property is being set to .
The property is being set and the object is read-only.
The string to use as the per mille symbol. The default for is "‰", which is the Unicode character U+2030.
Gets or sets the string that represents positive infinity.
The property is being set to .
The property is being set and the object is read-only.
The string that represents positive infinity. The default for is "Infinity".
Gets or sets the string that denotes that the associated number is positive.
In a set operation, the value to be assigned is .
The property is being set and the object is read-only.
The string that denotes that the associated number is positive. The default for is "+".
Determines the styles permitted in numeric string arguments that are passed to the and methods of the integral and floating-point numeric types.
Indicates that the numeric string represents a binary value. Valid binary values include the numeric digits 0 and 1. Strings that are parsed using this style do not employ a prefix; 0b cannot be used. A string that is parsed with the style will always be interpreted as a binary value. The only flags that can be combined with are and . The enumeration includes a composite style, , that consists of these three flags.
Indicates that the numeric string can contain a currency symbol. Valid currency symbols are determined by the property.
Indicates that the numeric string can have a decimal point. If the value includes the flag and the parsed string includes a currency symbol, the decimal separator character is determined by the property. Otherwise, the decimal separator character is determined by the property.
Indicates that the numeric string can be in exponential notation. The flag allows the parsed string to contain an exponent that begins with the "E" or "e" character and that is followed by an optional positive or negative sign and an integer. In other words, it successfully parses strings in the form nnnExx, nnnE+xx, and nnnE-xx. It does not allow a decimal separator or sign in the significand or mantissa; to allow these elements in the string to be parsed, use the and flags, or use a composite style that includes these individual flags.
Indicates that the numeric string represents a hexadecimal value. Valid hexadecimal values include the numeric digits 0-9 and the hexadecimal digits A-F and a-f. Strings that are parsed using this style cannot be prefixed with "0x" or "&h". A string that is parsed with the style will always be interpreted as a hexadecimal value. The only flags that can be combined with are and . The enumeration includes a composite style, , that consists of these three flags.
Indicates that the numeric string can have a leading sign. Valid leading sign characters are determined by the and properties.
Indicates that leading white-space characters can be present in the parsed string. Valid white-space characters have the Unicode values U+0009, U+000A, U+000B, U+000C, U+000D, and U+0020. Note that this is a subset of the characters for which the method returns .
Indicates that the numeric string can have one pair of parentheses enclosing the number. The parentheses indicate that the string to be parsed represents a negative number.
Indicates that the numeric string can have group separators, such as symbols that separate hundreds from thousands. If the value includes the flag and the string to be parsed includes a currency symbol, the valid group separator character is determined by the property, and the number of digits in each group is determined by the property. Otherwise, the valid group separator character is determined by the property, and the number of digits in each group is determined by the property.
Indicates that the numeric string can have a trailing sign. Valid trailing sign characters are determined by the and properties.
Indicates that trailing white-space characters can be present in the parsed string. Valid white-space characters have the Unicode values U+0009, U+000A, U+000B, U+000C, U+000D, and U+0020. Note that this is a subset of the characters for which the method returns .
Indicates that all styles except and are used. This is a composite number style.
Indicates that the , , and styles are used. This is a composite number style.
Indicates that all styles except and are used. This is a composite number style.
Indicates that the , , , , and styles are used. This is a composite number style.
Indicates that the , , and styles are used. This is a composite number style.
Indicates that the , , and styles are used. This is a composite number style.
Indicates that no style elements, such as leading or trailing white space, thousands separators, or a decimal separator, can be present in the parsed string. The string to be parsed must consist of integral decimal digits only.
Indicates that the , , , , , and styles are used. This is a composite number style.
Represents the Persian calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class.
Returns a object that is offset the specified number of months from the specified object.
The to which to add months.
The positive or negative number of months to add.
The resulting is outside the supported range.
is less than -120,000 or greater than 120,000.
A object that represents the date yielded by adding the number of months specified by the parameter to the date specified by the parameter.
Returns a object that is offset the specified number of years from the specified object.
The to which to add years.
The positive or negative number of years to add.
The resulting is outside the supported range.
is less than -10,000 or greater than 10,000.
The object that results from adding the specified number of years to the specified object.
Returns the day of the month in the specified object.
The to read.
The parameter represents a date less than or greater than .
An integer from 1 through 31 that represents the day of the month in the specified object.
Returns the day of the week in the specified object.
The to read.
A value that represents the day of the week in the specified object.
Returns the day of the year in the specified object.
The to read.
The parameter represents a date less than or greater than .
An integer from 1 through 366 that represents the day of the year in the specified object.
Returns the number of days in the specified month of the specified year and era.
An integer from 1 through 9378 that represents the year.
An integer that represents the month, and ranges from 1 through 12 if is not 9378, or 1 through 10 if is 9378.
An integer from 0 through 1 that represents the era.
, , or is outside the range supported by this calendar.
The number of days in the specified month of the specified year and era.
Returns the number of days in the specified year of the specified era.
An integer from 1 through 9378 that represents the year.
An integer from 0 through 1 that represents the era.
or is outside the range supported by this calendar.
The number of days in the specified year and era. The number of days is 365 in a common year or 366 in a leap year.
Returns the era in the specified object.
The to read.
The parameter represents a date less than or greater than .
Always returns .
Returns the leap month for a specified year and era.
An integer from 1 through 9378 that represents the year to convert.
An integer from 0 through 1 that represents the era.
or is outside the range supported by this calendar.
The return value is always 0.
Returns the month in the specified object.
The to read.
The parameter represents a date less than or greater than .
An integer from 1 through 12 that represents the month in the specified object.
Returns the number of months in the specified year of the specified era.
An integer from 1 through 9378 that represents the year.
An integer from 0 through 1 that represents the era.
or is outside the range supported by this calendar.
Returns 10 if the parameter is 9378; otherwise, always returns 12.
Returns the year in the specified object.
The to read.
The parameter represents a date less than or greater than .
An integer from 1 through 9378 that represents the year in the specified .
Determines whether the specified date is a leap day.
An integer from 1 through 9378 that represents the year.
An integer that represents the month and ranges from 1 through 12 if is not 9378, or 1 through 10 if is 9378.
An integer from 1 through 31 that represents the day.
An integer from 0 through 1 that represents the era.
, , , or is outside the range supported by this calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year and era is a leap month.
An integer from 1 through 9378 that represents the year.
An integer that represents the month and ranges from 1 through 12 if is not 9378, or 1 through 10 if is 9378.
An integer from 0 through 1 that represents the era.
, , or is outside the range supported by this calendar.
Always returns because the class does not support the notion of a leap month.
Determines whether the specified year in the specified era is a leap year.
An integer from 1 through 9378 that represents the year.
An integer from 0 through 1 that represents the era.
or is outside the range supported by this calendar.
if the specified year is a leap year; otherwise, .
Returns a object that is set to the specified date, time, and era.
An integer from 1 through 9378 that represents the year.
An integer from 1 through 12 that represents the month.
An integer from 1 through 31 that represents the day.
An integer from 0 through 23 that represents the hour.
An integer from 0 through 59 that represents the minute.
An integer from 0 through 59 that represents the second.
An integer from 0 through 999 that represents the millisecond.
An integer from 0 through 1 that represents the era.
, , , , , , , or is outside the range supported by this calendar.
A object that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year representation.
An integer from 1 through 9378 that represents the year to convert.
is less than 0 or greater than 9378.
An integer that contains the four-digit representation of .
Gets a value indicating whether the current calendar is solar-based, lunar-based, or lunisolar-based.
Always returns .
Gets the list of eras in a object.
An array of integers that represents the eras in a object. The array consists of a single element having a value of .
Gets the latest date and time supported by the class.
The latest date and time supported by the class.
Gets the earliest date and time supported by the class.
The earliest date and time supported by the class.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
This calendar is read-only.
The value in a set operation is less than 100 or greater than 9378.
The last year of a 100-year range that can be represented by a 2-digit year.
Contains information about the country/region.
Initializes a new instance of the class based on the country/region associated with the specified culture identifier.
A culture identifier.
specifies either an invariant, custom, or neutral culture.
-or-
.NET 6+ only: Globalization-invariant mode is enabled in the environment.
Initializes a new instance of the class based on the country/region or specific culture, specified by name.
A string that contains a two-letter code defined in ISO 3166 for country/region.
-or-
A string that contains the culture name for a specific culture, custom culture, or Windows-only culture. If the culture name is not in RFC 4646 format, your application should specify the entire culture name instead of just the country/region.
is .
is not a valid country/region name or specific culture name.
-or-
.NET 6+ only: Globalization-invariant mode is enabled in the environment.
Determines whether the specified object is the same instance as the current .
The object to compare with the current .
if the parameter is a object and its property is the same as the property of the current object; otherwise, .
Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Returns a string containing the culture name or ISO 3166 two-letter country/region codes specified for the current .
A string containing the culture name or ISO 3166 two-letter country/region codes defined for the current .
Gets the name, in English, of the currency used in the country/region.
The name, in English, of the currency used in the country/region.
Gets the name of the currency used in the country/region, formatted in the native language of the country/region.
The native name of the currency used in the country/region, formatted in the language associated with the ISO 3166 country/region code.
Gets the currency symbol associated with the country/region.
The currency symbol associated with the country/region.
Gets the that represents the country/region used by the current thread.
The that represents the country/region used by the current thread.
Gets the full name of the country/region in the language of the localized version of .NET.
The full name of the country/region in the language of the localized version of .NET.
Gets the full name of the country/region in English.
The full name of the country/region in English.
Gets a unique identification number for a geographical region, country, city, or location.
A 32-bit signed number that uniquely identifies a geographical location.
Gets a value indicating whether the country/region uses the metric system for measurements.
if the country/region uses the metric system for measurements; otherwise, .
Gets the three-character ISO 4217 currency symbol associated with the country/region.
The three-character ISO 4217 currency symbol associated with the country/region.
Gets the name or ISO 3166 two-letter country/region code for the current object.
The value specified by the parameter of the constructor. The return value is in uppercase.
-or-
The two-letter code defined in ISO 3166 for the country/region specified by the parameter of the constructor. The return value is in uppercase.
Gets the name of a country/region formatted in the native language of the country/region.
The native name of the country/region formatted in the language associated with the ISO 3166 country/region code.
Gets the three-letter code defined in ISO 3166 for the country/region.
The three-letter code defined in ISO 3166 for the country/region.
Gets the three-letter code assigned by Windows to the country/region represented by this .
The three-letter code assigned by Windows to the country/region represented by this .
Gets the two-letter code defined in ISO 3166 for the country/region.
The two-letter code defined in ISO 3166 for the country/region.
Represents the result of mapping a string to its sort key.
Compares two sort keys.
The first sort key to compare.
The second sort key to compare.
or is .
A signed integer that indicates the relationship between and .
Value Condition- Less than zero is less than .
- Zero is equal to .
- Greater than zero is greater than .
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
is .
if the parameter is equal to the current object; otherwise, .
Serves as a hash function for the current object that is suitable for hashing algorithms and data structures such as a hash table.
A hash code for the current object.
Returns a string that represents the current object.
A string that represents the current object.
Gets the byte array representing the current object.
A byte array representing the current object.
Gets the original string used to create the current object.
The original string used to create the current object.
Provides information about the version of Unicode used to compare and order strings.
Creates a new instance of the class.
A version number.
A sort ID.
Returns a value that indicates whether this instance is equal to a specified object.
The object to compare with this instance.
if represents the same version as this instance; otherwise, .
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance.
if is a object that represents the same version as this instance; otherwise, .
Returns a hash code for this instance.
A 32-bit signed integer hash code.
Indicates whether two instances are equal.
The first instance to compare.
The second instance to compare.
if the values of and are equal; otherwise, .
Indicates whether two instances are not equal.
The first instance to compare.
The second instance to compare.
if the values of and are not equal; otherwise, .
Gets the full version number of the object.
The version number of this object.
Gets a globally unique identifier for this object.
A globally unique identifier for this object.
Provides functionality to split a string into text elements and to iterate through those text elements.
Initializes a new instance of the class.
Initializes a new instance of the class to a specified string.
A string to initialize this object.
is .
Indicates whether the current object is equal to a specified object.
An object.
if the parameter is a object and its property equals the property of this object; otherwise, .
Calculates a hash code for the value of the current object.
A 32-bit signed integer hash code based on the string value of this object.
Gets the text element at the specified index of the specified string.
The string from which to get the text element.
The zero-based index at which the text element starts.
is .
is outside the range of valid indexes for .
A string containing the text element at the specified index of the specified string.
Gets the first text element in a specified string.
The string from which to get the text element.
is .
A string containing the first text element in the specified string.
Returns the length of the first text element (extended grapheme cluster) that occurs in the input span.
The input span to analyze.
The length (in chars) of the substring corresponding to the first text element within , or 0 if is empty.
Returns the length of the first text element (extended grapheme cluster) that occurs in the input string starting at the specified index.
The input string to analyze.
The char offset in at which to begin analysis.
is .
is negative or beyond the end of .
The length (in chars) of the substring corresponding to the first text element within starting at index , or 0 if corresponds to the end of .
Returns the length of the first text element (extended grapheme cluster) that occurs in the input string.
The input string to analyze.
is .
The length (in chars) of the substring corresponding to the first text element within , or 0 if is empty.
Returns an enumerator that iterates through the text elements of the string, starting at the specified index.
The string to iterate through.
The zero-based index at which to start iterating.
is .
is outside the range of valid indexes for .
A for the string starting at .
Returns an enumerator that iterates through the text elements of the entire string.
The string to iterate through.
is .
A for the entire string.
Returns the indexes of each base character, high surrogate, or control character within the specified string.
The string to search.
is .
An array of integers that contains the zero-based indexes of each base character, high surrogate, or control character within the specified string.
Retrieves a substring of text elements from the current object starting from a specified text element and continuing through the specified number of text elements.
The zero-based index of a text element in this object.
The number of text elements to retrieve.
is less than zero.
-or-
is greater than or equal to the length of the string that is the value of the current object.
-or-
is less than zero.
-or-
The string that is the value of the current object is the empty string ("").
-or-
+ specify an index that is greater than the number of text elements in this object.
A substring of text elements in this object. The substring consists of the number of text elements specified by the parameter and starts from the text element index specified by the parameter.
Retrieves a substring of text elements from the current object starting from a specified text element and continuing through the last text element.
The zero-based index of a text element in this object.
is less than zero.
-or-
The string that is the value of the current object is the empty string ("").
A substring of text elements in this object, starting from the text element index specified by the parameter and continuing through the last text element in this object.
Gets the number of text elements in the current object.
The number of base characters, surrogate pairs, and combining character sequences in this object.
Gets or sets the value of the current object.
The value in a set operation is .
The string that is the value of the current object.
the Taiwan calendar.
Initializes a new instance of the class.
Unable to initialize a object because of missing culture information.
Returns a that is the specified number of months away from the specified .
The to which to add months.
The number of months to add.
The resulting is outside the supported range.
is less than -120000.
-or-
is greater than 120000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to which to add years.
The number of years to add.
The resulting is outside the supported range.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 31 that represents the day of the month in the specified .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in the specified .
Returns the day of the year in the specified .
The to read.
An integer from 1 to 366 that represents the day of the year in the specified .
Returns the number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified year in the specified era.
Returns the era in the specified .
The to read.
An integer that represents the era in the specified .
Calculates the leap month for a specified year and era.
A year.
An era.
The return value is always 0 because the class does not support the notion of a leap month.
Returns the month in the specified .
The to read.
An integer from 1 to 12 that represents the month in the specified .
Returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of months in the specified year in the specified era.
Returns the week of the year that includes the date in the specified .
The to read.
One of the values that defines a calendar week.
One of the values that represents the first day of the week.
or is outside the range supported by the calendar.
-or-
is not a valid value.
A positive integer that represents the week of the year that includes the date in the parameter.
Returns the year in the specified .
The to read.
An integer that represents the year in the specified .
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
This method always returns , unless overridden by a derived class.
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
-or-
is outside the range supported by the calendar.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by the calendar.
An integer that contains the four-digit representation of .
Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the list of eras in the .
An array that consists of a single element for which the value is always the current era.
Gets the latest date and time supported by the class.
The latest date and time supported by the class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by the class.
The earliest date and time supported by the class, which is equivalent to the first moment of January 1, 1912 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The value specified in a set operation is less than 99.
-or-
The value specified in a set operation is greater than .
In a set operation, the current instance is read-only.
The last year of a 100-year range that can be represented by a 2-digit year.
Represents the Taiwan lunisolar calendar. As for the Taiwan calendar, years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar calendar.
Initializes a new instance of the class.
Retrieves the era that corresponds to the specified .
The to read.
An integer that represents the era specified in the parameter.
Gets the number of days in the year that precedes the year specified by the property.
The number of days in the year that precedes the year specified by .
Gets the eras that are relevant to the current object.
An array that consists of a single element having a value that is always the current era.
Gets the maximum date and time supported by the class.
The latest date and time supported by the class, which is equivalent to the last moment of February 10, 2051 C.E. in the Gregorian calendar.
Gets the minimum date and time supported by the class.
The earliest date and time supported by the class, which is equivalent to the first moment of February 18, 1912 C.E. in the Gregorian calendar.
Enumerates the text elements of a string.
Gets the current text element in the string.
The enumerator is positioned before the first text element of the string or after the last text element.
A new string containing the current text element in the string being read.
Advances the enumerator to the next text element of the string.
if the enumerator was successfully advanced to the next text element; if the enumerator has passed the end of the string.
Sets the enumerator to its initial position, which is before the first text element in the string.
Gets the current text element in the string.
The enumerator is positioned before the first text element of the string or after the last text element.
An object containing the current text element in the string.
Gets the index of the text element that the enumerator is currently positioned over.
The enumerator is positioned before the first text element of the string or after the last text element.
The index of the text element that the enumerator is currently positioned over.
Defines text properties and behaviors, such as casing, that are specific to a writing system.
Creates a new object that is a copy of the current object.
A new instance of that is the memberwise clone of the current object.
Determines whether the specified object represents the same writing system as the current object.
The object to compare with the current .
if represents the same writing system as the current ; otherwise, .
Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Returns a read-only version of the specified object.
A object.
is null.
The object specified by the parameter, if is read-only.
-or-
A read-only memberwise clone of the object specified by , if is not read-only.
Raises the deserialization event when deserialization is complete.
The source of the deserialization event.
Converts the specified character to lowercase.
The character to convert to lowercase.
The specified character converted to lowercase.
Converts the specified string to lowercase.
The string to convert to lowercase.
is null.
The specified string converted to lowercase.
Returns a string that represents the current .
A string that represents the current .
Converts the specified string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).
The string to convert to title case.
is .
The specified string converted to title case.
Converts the specified character to uppercase.
The character to convert to uppercase.
The specified character converted to uppercase.
Converts the specified string to uppercase.
The string to convert to uppercase.
is null.
The specified string converted to uppercase.
Gets the American National Standards Institute (ANSI) code page used by the writing system represented by the current .
The ANSI code page used by the writing system represented by the current .
Gets the name of the culture associated with the current object.
The name of a culture.
Gets the Extended Binary Coded Decimal Interchange Code (EBCDIC) code page used by the writing system represented by the current .
The EBCDIC code page used by the writing system represented by the current .
Gets a value indicating whether the current object is read-only.
if the current object is read-only; otherwise, .
Gets a value indicating whether the current object represents a writing system where text flows from right to left.
if text flows from right to left; otherwise, .
Gets the culture identifier for the culture associated with the current object.
A number that identifies the culture from which the current object was created.
Gets or sets the string that separates items in a list.
The value in a set operation is null.
In a set operation, the current object is read-only.
The string that separates items in a list.
Gets the Macintosh code page used by the writing system represented by the current .
The Macintosh code page used by the writing system represented by the current .
Gets the original equipment manufacturer (OEM) code page used by the writing system represented by the current .
The OEM code page used by the writing system represented by the current .
Represents the Thai Buddhist calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class.
Returns a that is the specified number of months away from the specified .
The to which to add months.
The number of months to add.
The resulting is outside the supported range.
is less than -120000.
-or-
is greater than 120000.
The that results from adding the specified number of months to the specified .
Returns a that is the specified number of years away from the specified .
The to which to add years.
The number of years to add.
The resulting is outside the supported range.
The that results from adding the specified number of years to the specified .
Returns the day of the month in the specified .
The to read.
An integer from 1 to 31 that represents the day of the month in the specified .
Returns the day of the week in the specified .
The to read.
A value that represents the day of the week in the specified .
Returns the day of the year in the specified .
The to read.
An integer from 1 to 366 that represents the day of the year in the specified .
Returns the number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified month in the specified year in the specified era.
Returns the number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of days in the specified year in the specified era.
Returns the era in the specified .
The to read.
An integer that represents the era in the specified .
Calculates the leap month for a specified year and era.
A year.
An era.
The return value is always 0 because the class does not support the notion of a leap month.
Returns the month in the specified .
The to read.
An integer from 1 to 12 that represents the month in the specified .
Returns the number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
The number of months in the specified year in the specified era.
Returns the week of the year that includes the date in the specified .
The to read.
One of the values that defines a calendar week.
One of the values that represents the first day of the week.
or is outside the range supported by the calendar.
-or-
is not a valid value.
A 1-based positive integer that represents the week of the year that includes the date in the parameter.
Returns the year in the specified .
The to read.
An integer that represents the year in the specified .
Determines whether the specified date in the specified era is a leap day.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified day is a leap day; otherwise, .
Determines whether the specified month in the specified year in the specified era is a leap month.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
This method always returns , unless overridden by a derived class.
Determines whether the specified year in the specified era is a leap year.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date and time in the specified era.
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer from 1 to 31 that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is outside the range supported by the calendar.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
-or-
is outside the range supported by the calendar.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by the calendar.
An integer that contains the four-digit representation of .
Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the list of eras in the class.
An array that consists of a single element having a value that is always the current era.
Gets the latest date and time supported by the class.
The latest date and time supported by the class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by the class.
The earliest date and time supported by the class, which is equivalent to the first moment of January 1, 0001 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The value specified in a set operation is less than 99.
-or-
The value specified in a set operation is greater than .
In a set operation, the current instance is read-only.
The last year of a 100-year range that can be represented by a 2-digit year.
Defines the formatting options that customize string parsing for the and methods.
Indicates that input is always interpreted as a negative time interval.
Indicates that input is interpreted as a negative time interval only if a negative sign is present.
Represents the Saudi Hijri (Um Al Qura) calendar.
Represents the current era. This field is constant.
Initializes a new instance of the class.
Calculates a date that is a specified number of months away from a specified initial date.
The date to which to add months. The class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).
The positive or negative number of months to add.
The resulting date is outside the range supported by the class.
is less than -120,000 or greater than 120,000.
-or-
is outside the range supported by this calendar.
The date yielded by adding the number of months specified by the parameter to the date specified by the parameter.
Calculates a date that is a specified number of years away from a specified initial date.
The date to which to add years. The class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).
The positive or negative number of years to add.
The resulting date is outside the range supported by the class.
is less than -10,000 or greater than 10,000.
-or-
is outside the range supported by this calendar.
The date yielded by adding the number of years specified by the parameter to the date specified by the parameter.
Calculates the day of the month on which a specified date occurs.
The date value to read. The class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).
is outside the range supported by this calendar.
An integer from 1 through 30 that represents the day of the month specified by the parameter.
Calculates the day of the week on which a specified date occurs.
The date value to read. The class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).
is outside the range supported by this calendar.
A value that represents the day of the week specified by the parameter.
Calculates the day of the year on which a specified date occurs.
The date value to read. The class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).
is outside the range supported by this calendar.
An integer from 1 through 355 that represents the day of the year specified by the parameter.
Calculates the number of days in the specified month of the specified year and era.
A year.
An integer from 1 through 12 that represents a month.
An era. Specify or .
, , or is outside the range supported by the class.
The number of days in the specified month in the specified year and era. The return value is 29 in a common year and 30 in a leap year.
Calculates the number of days in the specified year of the specified era.
A year.
An era. Specify or .
or is outside the range supported by the class.
The number of days in the specified year and era. The number of days is 354 in a common year or 355 in a leap year.
Calculates the era in which a specified date occurs.
The date value to read.
is outside the range supported by this calendar.
Always returns the value.
Calculates the leap month for a specified year and era.
A year.
An era. Specify or .
is less than 1318 or greater than 1450.
-or-
is not or .
Always 0 because the class does not support leap months.
Calculates the month in which a specified date occurs.
The date value to read. The class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).
is outside the range supported by this calendar.
An integer from 1 through 12 that represents the month in the date specified by the parameter.
Calculates the number of months in the specified year of the specified era.
A year.
An era. Specify or .
is outside the range supported by this calendar.
is outside the range supported by this calendar.
Always 12.
Calculates the year of a date represented by a specified .
The date value to read. The class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).
is outside the range supported by this calendar.
An integer that represents the year specified by the parameter.
Determines whether the specified date is a leap day.
A year.
An integer from 1 through 12 that represents a month.
An integer from 1 through 30 that represents a day.
An era. Specify or .
, , , or is outside the range supported by the class.
if the specified day is a leap day; otherwise, . The return value is always because the class does not support leap days.
Determines whether the specified month in the specified year and era is a leap month.
A year.
An integer from 1 through 12 that represents a month.
An era. Specify or .
, , or is outside the range supported by the class.
Always because the class does not support leap months.
Determines whether the specified year in the specified era is a leap year.
A year.
An era. Specify or .
or is outside the range supported by the class.
if the specified year is a leap year; otherwise, .
Returns a that is set to the specified date, time, and era.
A year.
An integer from 1 through 12 that represents a month.
An integer from 1 through 29 that represents a day.
An integer from 0 through 23 that represents an hour.
An integer from 0 through 59 that represents a minute.
An integer from 0 through 59 that represents a second.
An integer from 0 through 999 that represents a millisecond.
An era. Specify or .
, , , or is outside the range supported by the class.
-or-
is less than zero or greater than 23.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 59.
-or-
is less than zero or greater than 999.
The that is set to the specified date and time in the current era.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
A 2-digit year from 0 through 99, or a 4-digit Um Al Qura calendar year from 1318 through 1450.
is outside the range supported by this calendar.
If the parameter is a 2-digit year, the return value is the corresponding 4-digit year. If the parameter is a 4-digit year, the return value is the unchanged parameter.
Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.
Always returns .
Gets the number of days in the year that precedes the year that is specified by the property.
The number of days in the year that precedes the year specified by .
Gets a list of the eras that are supported by the current .
An array that consists of a single element having a value that is .
Gets the latest date and time supported by this calendar.
The latest date and time supported by the class, which is equivalent to the last moment of November 16, 2077 C.E. in the Gregorian calendar.
Gets the earliest date and time supported by this calendar.
The earliest date and time supported by the class, which is equivalent to the first moment of April 30, 1900 C.E. in the Gregorian calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
This calendar is read-only.
In a set operation, the Um Al Qura calendar year value is less than 1318 but not 99, or is greater than 1450.
The last year of a 100-year range that can be represented by a 2-digit year.
Defines the Unicode category of a character.
Closing character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Pe" (punctuation, close). The value is 21.
Connector punctuation character that connects two characters. Signified by the Unicode designation "Pc" (punctuation, connector). The value is 18.
Control code character, with a Unicode value of U+007F or in the range U+0000 through U+001F or U+0080 through U+009F. Signified by the Unicode designation "Cc" (other, control). The value is 14.
Currency symbol character. Signified by the Unicode designation "Sc" (symbol, currency). The value is 26.
Dash or hyphen character. Signified by the Unicode designation "Pd" (punctuation, dash). The value is 19.
Decimal digit character, that is, a character representing an integer in the range 0 through 9. Signified by the Unicode designation "Nd" (number, decimal digit). The value is 8.
Enclosing mark character, which is a nonspacing combining character that surrounds all previous characters up to and including a base character. Signified by the Unicode designation "Me" (mark, enclosing). The value is 7.
Closing or final quotation mark character. Signified by the Unicode designation "Pf" (punctuation, final quote). The value is 23.
Format character that affects the layout of text or the operation of text processes, but is not normally rendered. Signified by the Unicode designation "Cf" (other, format). The value is 15.
Opening or initial quotation mark character. Signified by the Unicode designation "Pi" (punctuation, initial quote). The value is 22.
Number represented by a letter, instead of a decimal digit, for example, the Roman numeral for five, which is "V". The indicator is signified by the Unicode designation "Nl" (number, letter). The value is 9.
Character that is used to separate lines of text. Signified by the Unicode designation "Zl" (separator, line). The value is 12.
Lowercase letter. Signified by the Unicode designation "Ll" (letter, lowercase). The value is 1.
Mathematical symbol character, such as "+" or "= ". Signified by the Unicode designation "Sm" (symbol, math). The value is 25.
Modifier letter character, which is free-standing spacing character that indicates modifications of a preceding letter. Signified by the Unicode designation "Lm" (letter, modifier). The value is 3.
Modifier symbol character, which indicates modifications of surrounding characters. For example, the fraction slash indicates that the number to the left is the numerator and the number to the right is the denominator. The indicator is signified by the Unicode designation "Sk" (symbol, modifier). The value is 27.
Nonspacing character that indicates modifications of a base character. Signified by the Unicode designation "Mn" (mark, nonspacing). The value is 5.
Opening character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Ps" (punctuation, open). The value is 20.
Letter that is not an uppercase letter, a lowercase letter, a titlecase letter, or a modifier letter. Signified by the Unicode designation "Lo" (letter, other). The value is 4.
Character that is not assigned to any Unicode category. Signified by the Unicode designation "Cn" (other, not assigned). The value is 29.
Number that is neither a decimal digit nor a letter number, for example, the fraction 1/2. The indicator is signified by the Unicode designation "No" (number, other). The value is 10.
Punctuation character that is not a connector, a dash, open punctuation, close punctuation, an initial quote, or a final quote. Signified by the Unicode designation "Po" (punctuation, other). The value is 24.
Symbol character that is not a mathematical symbol, a currency symbol or a modifier symbol. Signified by the Unicode designation "So" (symbol, other). The value is 28.
Character used to separate paragraphs. Signified by the Unicode designation "Zp" (separator, paragraph). The value is 13.
Private-use character, with a Unicode value in the range U+E000 through U+F8FF. Signified by the Unicode designation "Co" (other, private use). The value is 17.
Space character, which has no glyph but is not a control or format character. Signified by the Unicode designation "Zs" (separator, space). The value is 11.
Spacing character that indicates modifications of a base character and affects the width of the glyph for that base character. Signified by the Unicode designation "Mc" (mark, spacing combining). The value is 6.
High surrogate or a low surrogate character. Surrogate code values are in the range U+D800 through U+DFFF. Signified by the Unicode designation "Cs" (other, surrogate). The value is 16.
Titlecase letter. Signified by the Unicode designation "Lt" (letter, titlecase). The value is 2.
Uppercase letter. Signified by the Unicode designation "Lu" (letter, uppercase). The value is 0.
A customizable parser based on the Gopher scheme.
Creates a customizable parser based on the Gopher scheme.
Represents a globally unique identifier (GUID).
A read-only instance of the structure whose value is all zeros.
Initializes a new instance of the structure by using the specified array of bytes.
A 16-element byte array containing values with which to initialize the GUID.
is .
is not 16 bytes long.
Initializes a new instance of the structure by using the specified integers and bytes.
The first 4 bytes of the GUID.
The next 2 bytes of the GUID.
The next 2 bytes of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
Initializes a new instance of the structure by using the specified integers and byte array.
The first 4 bytes of the GUID.
The next 2 bytes of the GUID.
The next 2 bytes of the GUID.
The remaining 8 bytes of the GUID.
is .
is not 8 bytes long.
Initializes a new instance of the structure by using the value represented by the specified read-only span of bytes.
A read-only span containing the bytes representing the GUID. The span must be exactly 16 bytes long.
The span must be exactly 16 bytes long.
Initializes a new instance of the structure by using the value represented by the specified string.
A string that contains a GUID in one of the following formats ("d" represents a hexadecimal digit whose case is ignored):
32 contiguous hexadecimal digits:
dddddddddddddddddddddddddddddddd
-or-
Groups of 8, 4, 4, 4, and 12 hexadecimal digits with hyphens between the groups. The entire GUID can optionally be enclosed in matching braces or parentheses:
dddddddd-dddd-dddd-dddd-dddddddddddd
-or-
{dddddddd-dddd-dddd-dddd-dddddddddddd}
-or-
(dddddddd-dddd-dddd-dddd-dddddddddddd)
-or-
Groups of 8, 4, and 4 hexadecimal digits, and a subset of eight groups of 2 hexadecimal digits, with each group prefixed by "0x" or "0X", and separated by commas. The entire GUID, as well as the subset, is enclosed in matching braces:
{0xdddddddd, 0xdddd, 0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}
All braces, commas, and "0x" prefixes are required. All embedded spaces are ignored. All leading zeros in a group are ignored.
The hexadecimal digits shown in a group are the maximum number of meaningful hexadecimal digits that can appear in that group. You can specify from 1 to the number of hexadecimal digits shown for a group. The specified digits are assumed to be the low-order digits of the group.
is .
The format of is invalid.
The format of is invalid.
Initializes a new instance of the structure by using the specified unsigned integers and bytes.
The first 4 bytes of the GUID.
The next 2 bytes of the GUID.
The next 2 bytes of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
The next byte of the GUID.
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare to this instance.
A signed number indicating the relative values of this instance and .
Return value Description- A negative integer This instance is less than .
- Zero This instance is equal to .
- A positive integer This instance is greater than .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not a .
A signed number indicating the relative values of this instance and .
Return value Description- A negative integer This instance is less than .
- Zero This instance is equal to .
- A positive integer This instance is greater than , or is .
Creates a new according to RFC 9562, following the Version 7 format.
A new according to RFC 9562, following the Version 7 format.
Creates a new according to RFC 9562, following the Version 7 format.
The date-time offset used to determine the Unix Epoch timestamp.
represents an offset prior to .
A new according to RFC 9562, following the Version 7 format.
Returns a value indicating whether this instance and a specified object represent the same value.
An object to compare to this instance.
if is equal to this instance; otherwise, .
Returns a value that indicates whether this instance is equal to a specified object.
The object to compare with this instance.
if is a that has the same value as this instance; otherwise, .
Returns the hash code for this instance.
The hash code for this instance.
Initializes a new instance of the structure.
A new GUID object.
Indicates whether the values of two specified objects are equal.
The first object to compare.
The second object to compare.
if and are equal; otherwise, .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Indicates whether the values of two specified objects are not equal.
The first object to compare.
The second object to compare.
if and are not equal; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about utf8Text.
The result of parsing utf8Text.
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts a read-only character span that represents a GUID to the equivalent structure.
A read-only span containing the bytes representing a GUID.
is not in a recognized format.
-or-
After trimming, the length of the read-only character span is 0.
A structure that contains the value that was parsed.
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a GUID to the equivalent structure.
The string to convert.
is .
is not in a recognized format.
A structure that contains the value that was parsed.
Converts the character span representation of a GUID to the equivalent structure, provided that the string is in the specified format.
A read-only span containing the characters representing the GUID to convert.
A read-only span of characters representing one of the following specifiers that indicates the exact format to use when interpreting : "N", "D", "B", "P", or "X".
A structure that contains the value that was parsed.
Converts the string representation of a GUID to the equivalent structure, provided that the string is in the specified format.
The GUID to convert.
One of the following specifiers that indicates the exact format to use when interpreting : "N", "D", "B", "P", or "X".
or is .
is not in the format specified by .
A structure that contains the value that was parsed.
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Returns a 16-element byte array that contains the value of this instance.
A 16-element byte array.
Returns a string representation of the value of this instance in registry format.
The value of this , formatted by using the "D" format specifier as follows:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
where the value of the GUID is represented as a series of lowercase hexadecimal digits in groups of 8, 4, 4, 4, and 12 digits and separated by hyphens. An example of a return value is "382c74c3-721d-4f34-80e5-57657b6cbc27". To convert the hexadecimal digits from a through f to uppercase, call the method on the returned string.
Returns a string representation of the value of this instance of the class, according to the provided format specifier and culture-specific format information.
A single format specifier that indicates how to format the value of this . The parameter can be "N", "D", "B", "P", or "X". If is or an empty string (""), "D" is used.
(Reserved) An object that supplies culture-specific formatting information.
The value of is not , an empty string (""), "N", "D", "B", "P", or "X".
The value of this , represented as a series of lowercase hexadecimal digits in the specified format.
Returns a string representation of the value of this instance, according to the provided format specifier.
A single format specifier that indicates how to format the value of this . The parameter can be "N", "D", "B", "P", or "X". If is or an empty string (""), "D" is used.
The value of is not , an empty string (""), "N", "D", "B", "P", or "X".
The value of this , represented as a series of lowercase hexadecimal digits in the specified format.
Tries to format the current GUID instance into the provided character span.
The span in which to write the GUID as a span of characters.
When this method returns, contains the number of characters written into the span.
A read-only span containing the character representing one of the following specifiers that indicates the exact format to use when interpreting the current GUID instance: "N", "D", "B", "P", or "X".
if the formatting operation was successful; otherwise.
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about utf8Text.
On return, contains the result of successfully parsing utf8Text or an undefined value on failure.
true if utf8Text was successfully parsed; otherwise, false.
Converts the specified read-only span of characters containing the representation of a GUID to the equivalent structure.
A span containing the characters representing the GUID to convert.
When this method returns, contains the parsed value. If the method returns , contains a valid . If the method returns , equals .
if the parse operation was successful; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a GUID to the equivalent structure.
A string containing the GUID to convert.
When this method returns, contains the parsed value. If the method returns , contains a valid . If the method returns , equals .
if the parse operation was successful; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts span of characters representing the GUID to the equivalent structure, provided that the string is in the specified format.
A read-only span containing the characters representing the GUID to convert.
A read-only span containing a character representing one of the following specifiers that indicates the exact format to use when interpreting : "N", "D", "B", "P", or "X".
When this method returns, contains the parsed value. If the method returns , contains a valid . If the method returns , equals .
if the parse operation was successful; otherwise, .
Converts the string representation of a GUID to the equivalent structure, provided that the string is in the specified format.
The GUID to convert.
One of the following specifiers that indicates the exact format to use when interpreting : "N", "D", "B", "P", or "X".
When this method returns, contains the parsed value. If the method returns , contains a valid . If the method returns , equals .
if the parse operation was successful; otherwise, .
Tries to write the current GUID instance into a span of bytes.
When this method returns, the GUID as a span of bytes.
if the GUID is successfully written to the specified span; otherwise.
Gets a where all bits are set.
A GUID with a value of FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF.
Gets the value of the variant field for the .
Gets the value of the version field for the .
Represents a half-precision floating-point number.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Computes the arc-cosine of a value.
The value, in radians, whose arc-cosine is to be computed.
The arc-cosine of .
Computes the hyperbolic arc-cosine of a value.
The value, in radians, whose hyperbolic arc-cosine is to be computed.
The hyperbolic arc-cosine of .
Computes the arc-cosine of a value and divides the result by pi.
The value whose arc-cosine is to be computed.
The arc-cosine of , divided by pi.
Computes the arc-sine of a value.
The value, in radians, whose arc-sine is to be computed.
The arc-sine of .
Computes the hyperbolic arc-sine of a value.
The value, in radians, whose hyperbolic arc-sine is to be computed.
The hyperbolic arc-sine of .
Computes the arc-sine of a value and divides the result by pi.
The value whose arc-sine is to be computed.
The arc-sine of , divided by pi.
Computes the arc-tangent of a value.
The value, in radians, whose arc-tangent is to be computed.
The arc-tangent of .
Computes the arc-tangent of the quotient of two values.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by .
Computes the arc-tangent for the quotient of two values and divides the result by pi.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by , divided by pi.
Computes the hyperbolic arc-tangent of a value.
The value, in radians, whose hyperbolic arc-tangent is to be computed.
The hyperbolic arc-tangent of .
Computes the arc-tangent of a value and divides the result by pi.
The value whose arc-tangent is to be computed.
The arc-tangent of , divided by pi.
Decrements a value to the smallest value that compares less than a given value.
The value to be bitwise decremented.
The smallest value that compares less than .
Increments a value to the smallest value that compares greater than a given value.
The value to be bitwise incremented.
The smallest value that compares greater than .
Computes the cube-root of a value.
The value whose cube-root is to be computed.
The cube-root of .
Computes the ceiling of a value.
The value whose ceiling is to be computed.
The ceiling of .
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Clamps a value to an inclusive minimum and maximum value using platform-specific behavior for NaN and NegativeZero.
The value to clamp.
The inclusive minimum to which value should clamp.
The inclusive maximum to which value should clamp.
The result of clamping value to the inclusive range of min and max.
Compares this instance to a specified half-precision floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified half-precision floating-point number.
A half-precision floating-point number to compare.
A value less than zero if this is less than , zero if this is equal to , or a value greater than zero if this is greater than .
Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
An object to compare, or .
is not of type .
A value less than zero if this instance is less than , or this instance is not a number (NaN) and is a number.
-or-
Zero if this instance is equal to , or this instance and are both not a number (NaN), , or .
-or-
A value greater than zero if this instance is greater than , or this instance is a number and is not a number (NaN), or is .
Converts a value to a specified integer type using saturation on overflow
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Converts a value to a specified integer type using platform specific behavior on overflow.
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Computes the cosine of a value.
The value, in radians, whose cosine is to be computed.
The cosine of .
Computes the hyperbolic cosine of a value.
The value, in radians, whose hyperbolic cosine is to be computed.
The hyperbolic cosine of .
Computes the cosine of a value that has been multipled by pi.
The value, in half-revolutions, whose cosine is to be computed.
The cosine of multiplied-by pi.
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Converts a given value from degrees to radians.
The value to convert to radians.
The value of converted to radians.
Compares this instance for equality with .
A half-precision floating point number to compare to this instance.
if the current object is equal to ; otherwise, .
Returns a value that indicates whether this instance is equal to the specified .
The object to compare to this instance.
if is an instance of and equals the value of this instance; otherwise, .
Computes E raised to a given power.
The power to which E is raised.
E raised to the power of .
Computes 10 raised to a given power.
The power to which 10 is raised.
10
Computes 10 raised to a given power and subtracts one.
The power to which 10 is raised.
10 - 1
Computes 2 raised to a given power.
The power to which 2 is raised.
2
Computes 2 raised to a given power and subtracts one.
The power to which 2 is raised.
2 - 1
Computes E raised to a given power and subtracts one.
The power to which E is raised.
E - 1
Computes the floor of a value.
The value whose floor is to be computed.
The floor of .
Computes the fused multiply-add of three values.
The value that multiplies.
The value that multiplies .
The value that is added to the product of and .
The result of times plus computed as one ternary operation.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Computes the hypotenuse given two values representing the lengths of the shorter sides in a right-angled triangle.
The value to square and add to .
The value to square and add to .
The square root of -squared plus -squared.
Computes the remainder of two values as specified by IEEE 754.
The value that divides.
The value that divides .
The remainder of divided-by as specified by IEEE 754.
Computes the integer logarithm of a value.
The value whose integer logarithm is to be computed.
The integer logarithm of .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines whether the specified value is finite (zero, subnormal, or normal).
A floating-point number.
if the specified value is finite (zero, subnormal or normal); otherwise, .
Returns a value indicating whether the specified number evaluates to positive infinity.
A floating-point number.
if evaluates to ; otherwise .
Determines if a value represents an integral value.
The value to be checked.
if is an integer; otherwise, .
Determines whether the specified value is not a number.
A floating-point number.
if evaluates to not a number ; otherwise .
Determines whether the specified value is negative.
A floating-point number.
if negative; otherwise.
Determines whether the specified value is negative infinity.
A floating-point number.
if evaluates to ; otherwise .
Determines whether the specified value is normal.
A floating-point number.
if is normal; otherwise.
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines whether the specified value is positive infinity.
A floating-point number.
if evaluates to ; otherwise .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines whether the specified value is subnormal.
A floating-point number.
if is subnormal; .
Performs a linear interpolation between two values based on the given weight.
The first value, which is intended to be the lower bound.
The second value, which is intended to be the upper bound.
A value, intended to be between 0 and 1, that indicates the weight of the interpolation.
The interpolated value.
Computes the logarithm of a value in the specified base.
The value whose logarithm is to be computed.
The base in which the logarithm is to be computed.
The base- logarithm of .
Computes the natural (base-E logarithm of a value.
The value whose natural logarithm is to be computed.
The natural logarithm of .
Computes the base-10 logarithm of a value.
The value whose base-10 logarithm is to be computed.
The base-10 logarithm of .
Computes the base-10 logarithm of a value plus one.
The value to which one is added before computing the base-10 logarithm.
log10( + 1)
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Computes the base-2 logarithm of a value plus one.
The value to which one is added before computing the base-2 logarithm.
log2( + 1)
Computes the natural (base-E) logarithm of a value plus one.
The value to which one is added before computing the natural logarithm.
loge( + 1)
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater using platform-specific behavior for NaN and NegativeZero.
The value to compare with y.
The value to compare with x.
x if it is greater than y; otherwise, y.
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser using platform-specific behavior for NaN and NegativeZero.
The value to compare with y.
The value to compare with x.
x if it is lesser than y; otherwise, y.
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of (left * right) + addend.
The value to be multiplied with right.
The value to be multiplied with left.
The value to be added to the result of left multiplied by right.
An estimate of (left * right) + addend.
Adds two values together to compute their sum.
The value to which is added.
The value that is added to .
The sum of and .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides two values together to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided-by .
Returns a value that indicates whether two specified values are equal.
The first value to compare.
The second value to compare.
if and are equal; otherwise, .
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
An explicit operator to convert a value to a .
The double-precision floating point value to convert to .
The representation of the specified double-precision floating point .
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
An explicit operator to convert a value to a .
The half-precision floating point value to convert to .
The representation of the specified half-precision floating point .
Explicitly converts a half-precision floating-point value to its nearest representable .
The value to convert.
converted to a 128-bit signed integer.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
An explicit operator to convert a value to a .
The half-precision floating point value to convert to .
The representation of the specified half-precision floating point .
Explicitly converts a half-precision floating-point value to its nearest representable .
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a half-precision floating-point value to its nearest representable value.
The value to convert.
converted to its nearest representable value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
An explicit operator to convert a value to a .
The single-precision floating point value to convert to .
The representation of the specified single-precision floating point .
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Explicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Returns a value that indicates whether a specified value is greater than another specified value.
The first value to compare.
The second value to compare.
if is greater than ; otherwise, .
Returns a value that indicates whether is greater than or equal to .
The first value to compare.
The second value to compare.
if is greater than or equal to ; otherwise, .
Implicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Implicitly converts a value to its nearest representable half-precision floating-point value.
The value to convert.
converted to its nearest representable half-precision floating-point value.
Increments a value.
The value to increment.
The result of incrementing .
Returns a value that indicates whether two specified values are not equal.
The first value to compare.
The second value to compare.
if and are not equal; otherwise, .
Returns a value that indicates whether a specified value is less than another specified value.
The first value to compare.
The second value to compare.
if is less than ; otherwise, .
Returns a value that indicates whether a specified value is less than or equal to another specified value.
The first value to compare.
The second value to compare.
if is less than or equal to ; otherwise, .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided-by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied-by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that is subtracted from .
The difference of subtracted from .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent.
Converts the string representation of a number to its half-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A bitwise combination of enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
does not represent a number in a valid format.
is not a value.
-or-
includes the value.
A half-precision floating-point number equivalent to the numeric value or symbol specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent.
A string that contains a number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
is .
does not represent a number in a valid format.
represents a number less than or greater than .
is not a value.
-or-
includes the value.
A half-precision floating-point number equivalent to the numeric value or symbol specified in .
Converts the string representation of a number in a specified style to its single-precision floating-point number equivalent.
A string that contains a number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in .
is .
does not represent a number in a valid format.
represents a number less than or greater than .
is not a value.
-or-
includes the value.
A half-precision floating-point number equivalent to the numeric value or symbol specified in .
Converts the string representation of a number in a specified culture-specific format to its single-precision floating-point number equivalent.
A string that contains a number to convert.
An object that supplies culture-specific formatting information about .
is .
does not represent a number in a valid format.
represents a number less than or greater than .
A half-precision floating-point number equivalent to the numeric value or symbol specified in .
Converts the string representation of a number to its half-precision floating-point number equivalent.
A string that contains a number to convert.
is .
does not represent a number in a valid format.
represents a number less than or greater than .
A half-precision floating-point number equivalent to the numeric value or symbol specified in .
Computes a value raised to a given power.
The value that is raised to the power of .
The power to which is raised.
raised to the power of .
Converts a given value from radians to degrees.
The value to convert to degrees.
The value of converted to degrees.
Computes an estimate of the reciprocal of a value.
The value whose estimate of the reciprocal is to be computed.
An estimate of the reciprocal of .
Computes an estimate of the reciprocal square root of a value.
The value whose estimate of the reciprocal square root is to be computed.
An estimate of the reciprocal square root of .
Computes the n-th root of a value.
The value whose -th root is to be computed.
The degree of the root to be computed.
The -th root of .
Rounds a value to a specified number of fractional-digits using the default rounding mode ().
The value to round.
The number of fractional digits to which should be rounded.
The mode under which should be rounded.
The result of rounding to fractional-digits using .
Rounds a value to a specified number of fractional-digits using the default rounding mode ().
The value to round.
The number of fractional digits to which should be rounded.
The result of rounding to fractional-digits using the default rounding mode.
Rounds a value to the nearest integer using the specified rounding mode.
The value to round.
The mode under which should be rounded.
The result of rounding to the nearest integer using .
Rounds a value to the nearest integer using the default rounding mode ().
The value to round.
The result of rounding to the nearest integer using the default rounding mode.
Computes the product of a value and its base-radix raised to the specified power.
The value that base-radix raised to the power of multiplies.
The value to which base-radix is raised before multipliying .
The product of and base-radix raised to the power of .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Computes the sine of a value.
The value, in radians, whose sine is to be computed.
The sine of .
Computes the sine and cosine of a value.
The value, in radians, whose sine and cosine are to be computed.
The sine and cosine of .
Computes the sine and cosine of a value that has been multiplied by pi.
The value, in half-revolutions, that is multipled by pi before computing its sine and cosine.
The sine and cosine of multiplied-by pi.
Computes the hyperbolic sine of a value.
The value, in radians, whose hyperbolic sine is to be computed.
The hyperbolic sine of .
Computes the sine of a value that has been multiplied by pi.
The value, in half-revolutions, that is multipled by pi before computing its sine.
The sine of multiplied-by pi.
Computes the square-root of a value.
The value whose square-root is to be computed.
The square-root of .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current exponent.
The length, in bits, of the shortest two's complement representation of the current exponent.
Gets the length, in bits, of the current significand.
The length, in bits, of the current significand.
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Tries to write the current exponent, in big-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current exponent, in little-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current significand, in big-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Tries to write the current significand, in little-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Computes the tangent of a value.
The value, in radians, whose tangent is to be computed.
The tangent of .
Computes the hyperbolic tangent of a value.
The value, in radians, whose hyperbolic tangent is to be computed.
The hyperbolic tangent of .
Computes the tangent of a value that has been multipled by pi.
The value, in half-revolutions, that is multipled by pi before computing its tangent.
The tangent of multiplied-by pi.
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A numeric format string.
is invalid.
The string representation of the value of this instance as specified by .
Truncates a value.
The value to truncate.
The truncation of .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful, otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its half-precision floating-point number equivalent.
A read-only UTF-8 character span that contains the number to convert.
When this method returns, contains a half-precision floating-point number equivalent of the numeric value or symbol contained in if the conversion succeeded or zero if the conversion failed. The conversion fails if the is or is not in a valid format. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the span representation of a number to its half-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A read-only span that contains a number to convert.
A bitwise combination of enumeration values that indicates the permitted format of .
An object that supplies culture-specific formatting information about .
When this method returns, contains the half-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or a default value if the conversion failed. The conversion fails if is not a number in a valid format. If is a valid number less than , contains . If is a valid number greater than , contains . This parameter is treated as uninitialized.
is not a value.
-or-
is the value.
if the conversion was successful; otherwise, .
Converts the span representation of a number to its half-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A read-only span that contains a number to convert.
When this method returns, contains the half-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or a default value if the conversion failed. The conversion fails if the parameter is or or is not a number in a valid format. If is a valid number less than , contains . If is a valid number greater than , contains . This parameter is treated as uninitialized.
if was converted successfully, otherwise.
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its half-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A string that contains a number to convert.
A bitwise combination of enumeration values that indicates the permitted format of .
An object that supplies culture-specific formatting information about .
When this method returns, contains the half-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or a default value if the conversion failed. The conversion fails if is or or is not a number in a valid format. If is a valid number less than , contains . If is a valid number greater than , contains . This parameter is treated as uninitialized.
is not a value.
-or-
is the value.
if the conversion was successful; otherwise, .
Converts the string representation of a number to its half-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A string that contains a number to convert.
When this method returns, contains the half-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or a default value if the conversion failed. The conversion fails if is or or is not a number in a valid format. If is a valid number less than , contains . If is a valid number greater than , contains . This parameter is treated as uninitialized.
if the conversion was successful; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Gets the mathematical constant e.
Represents the smallest positive value that is greater than zero.
5.9604645E-08
Represents the largest possible value of .
65504
Represents the smallest possible value of .
-65504
Gets the multiplicative identity of the current type.
Represents not a number.
NaN.
Represents negative infinity.
-Infinity.
Gets the value -1 for the type.
Gets a value that represents negative zero.
Gets the value 1 for the type.
Gets the mathematical constant pi.
Represents positive infinity.
Infinity.
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the radix, or base, for the type.
Gets the mathematical constant tau.
Gets the value 0 for the type.
Combines the hash code for multiple values into a single hash code.
Adds a single value to the hash code, specifying the type that provides the hash code function.
The value to add to the hash code.
The to use to calculate the hash code.
This value can be a null reference (Nothing in Visual Basic), which will use the default equality comparer for .
The type of the value to add to the hash code.
Adds a single value to the hash code.
The value to add to the hash code.
The type of the value to add to the hash code.
Adds a span of bytes to the hash code.
The span to add.
Diffuses the hash code returned by the specified value.
The value to add to the hash code.
The type of the value to add the hash code.
The hash code that represents the single value.
Combines two values into a hash code.
The first value to combine into the hash code.
The second value to combine into the hash code.
The type of the first value to combine into the hash code.
The type of the second value to combine into the hash code.
The hash code that represents the two values.
Combines three values into a hash code.
The first value to combine into the hash code.
The second value to combine into the hash code.
The third value to combine into the hash code.
The type of the first value to combine into the hash code.
The type of the second value to combine into the hash code.
The type of the third value to combine into the hash code.
The hash code that represents the three values.
Combines four values into a hash code.
The first value to combine into the hash code.
The second value to combine into the hash code.
The third value to combine into the hash code.
The fourth value to combine into the hash code.
The type of the first value to combine into the hash code.
The type of the second value to combine into the hash code.
The type of the third value to combine into the hash code.
The type of the fourth value to combine into the hash code.
The hash code that represents the four values.
Combines five values into a hash code.
The first value to combine into the hash code.
The second value to combine into the hash code.
The third value to combine into the hash code.
The fourth value to combine into the hash code.
The fifth value to combine into the hash code.
The type of the first value to combine into the hash code.
The type of the second value to combine into the hash code.
The type of the third value to combine into the hash code.
The type of the fourth value to combine into the hash code.
The type of the fifth value to combine into the hash code.
The hash code that represents the five values.
Combines six values into a hash code.
The first value to combine into the hash code.
The second value to combine into the hash code.
The third value to combine into the hash code.
The fourth value to combine into the hash code.
The fifth value to combine into the hash code.
The sixth value to combine into the hash code.
The type of the first value to combine into the hash code.
The type of the second value to combine into the hash code.
The type of the third value to combine into the hash code.
The type of the fourth value to combine into the hash code.
The type of the fifth value to combine into the hash code.
The type of the sixth value to combine into the hash code.
The hash code that represents the six values.
Combines seven values into a hash code.
The first value to combine into the hash code.
The second value to combine into the hash code.
The third value to combine into the hash code.
The fourth value to combine into the hash code.
The fifth value to combine into the hash code.
The sixth value to combine into the hash code.
The seventh value to combine into the hash code.
The type of the first value to combine into the hash code.
The type of the second value to combine into the hash code.
The type of the third value to combine into the hash code.
The type of the fourth value to combine into the hash code.
The type of the fifth value to combine into the hash code.
The type of the sixth value to combine into the hash code.
The type of the seventh value to combine into the hash code.
The hash code that represents the seven values.
Combines eight values into a hash code.
The first value to combine into the hash code.
The second value to combine into the hash code.
The third value to combine into the hash code.
The fourth value to combine into the hash code.
The fifth value to combine into the hash code.
The sixth value to combine into the hash code.
The seventh value to combine into the hash code.
The eighth value to combine into the hash code.
The type of the first value to combine into the hash code.
The type of the second value to combine into the hash code.
The type of the third value to combine into the hash code.
The type of the fourth value to combine into the hash code.
The type of the fifth value to combine into the hash code.
The type of the sixth value to combine into the hash code.
The type of the seventh value to combine into the hash code.
The type of the eighth value to combine into the hash code.
The hash code that represents the eight values.
This method is not supported and should not be called.
Ignored.
Always thrown when this method is called.
This method will always throw a .
This method is not supported and should not be called.
Always thrown when this method is called.
This method will always throw a .
Calculates the final hash code after consecutive invocations.
The calculated hash code.
A customizable parser based on the HTTP scheme.
Create a customizable parser based on the HTTP scheme.
Provides a mechanism for releasing unmanaged resources asynchronously.
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources asynchronously.
A task that represents the asynchronous dispose operation.
Represents the status of an asynchronous operation.
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
A user-defined object that qualifies or contains information about an asynchronous operation.
Gets a that is used to wait for an asynchronous operation to complete.
A that is used to wait for an asynchronous operation to complete.
Gets a value that indicates whether the asynchronous operation completed synchronously.
if the asynchronous operation completed synchronously; otherwise, .
Gets a value that indicates whether the asynchronous operation has completed.
if the operation is complete; otherwise, .
Supports cloning, which creates a new instance of a class with the same value as an existing instance.
Creates a new object that is a copy of the current instance.
A new object that is a copy of this instance.
Defines a generalized type-specific comparison method that a value type or class implements to order or sort its instances.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
is not the same type as this instance.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning- Less than zero This instance precedes in the sort order.
- Zero This instance occurs in the same position in the sort order as .
- Greater than zero This instance follows in the sort order.
Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering or sorting its instances.
The type of object to compare.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning- Less than zero This instance precedes in the sort order.
- Zero This instance occurs in the same position in the sort order as .
- Greater than zero This instance follows in the sort order.
Defines methods that convert the value of the implementing reference or value type to a common language runtime type that has an equivalent value.
Returns the for this instance.
The enumerated constant that is the of the class or value type that implements this interface.
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
A Boolean value equivalent to the value of this instance.
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 8-bit unsigned integer equivalent to the value of this instance.
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
A Unicode character equivalent to the value of this instance.
Converts the value of this instance to an equivalent using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
A instance equivalent to the value of this instance.
Converts the value of this instance to an equivalent number using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
A number equivalent to the value of this instance.
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
A double-precision floating-point number equivalent to the value of this instance.
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 16-bit signed integer equivalent to the value of this instance.
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 32-bit signed integer equivalent to the value of this instance.
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 64-bit signed integer equivalent to the value of this instance.
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 8-bit signed integer equivalent to the value of this instance.
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
A single-precision floating-point number equivalent to the value of this instance.
Converts the value of this instance to an equivalent using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
A instance equivalent to the value of this instance.
Converts the value of this instance to an of the specified that has an equivalent value, using the specified culture-specific formatting information.
The to which the value of this instance is converted.
An interface implementation that supplies culture-specific formatting information.
An instance of type whose value is equivalent to the value of this instance.
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 16-bit unsigned integer equivalent to the value of this instance.
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 32-bit unsigned integer equivalent to the value of this instance.
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
An interface implementation that supplies culture-specific formatting information.
An 64-bit unsigned integer equivalent to the value of this instance.
Defines a method that supports custom formatting of the value of an object.
Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.
A format string containing formatting specifications.
An object to format.
An object that supplies format information about the current instance.
The string representation of the value of , formatted as specified by and .
Provides a mechanism for releasing unmanaged resources.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.
The type of objects to compare.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
if the current object is equal to the parameter; otherwise, .
Provides a mechanism for retrieving an object to control formatting.
Returns an object that provides formatting services for the specified type.
An object that specifies the type of format object to return.
An instance of the object specified by , if the implementation can supply that type of object; otherwise, .
Provides functionality to format the value of an object into a string representation.
Formats the value of the current instance using the specified format.
The format to use.
-or-
A null reference ( in Visual Basic) to use the default format defined for the type of the implementation.
The provider to use to format the value.
-or-
A null reference ( in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
The value of the current instance in the specified format.
Represents a type that can be used to index a collection either from the beginning or the end.
Initializes a new with a specified index position and a value that indicates if the index is from the beginning or the end of a collection.
The index value. It has to be greater then or equal to zero.
to index from the end of the collection, or to index from the beginning of the collection.
Returns a value that indicates whether the current object is equal to another object.
The object to compare with this instance.
if the current Index object is equal to ; otherwise.
Indicates whether the current Index object is equal to a specified object.
An object to compare with this instance.
if is of type and is equal to the current instance; otherwise.
Creates an from the end of a collection at a specified index position.
The index value from the end of a collection.
The index value.
Creates an from the specified index at the start of a collection.
The index position from the start of a collection.
The index value.
Returns the hash code for this instance.
The hash code.
Calculates the offset from the start of the collection using the specified collection length.
The length of the collection that the Index will be used with. Must be a positive value.
The offset.
Converts an integer number to an .
The integer to convert.
An index representing the integer.
Returns the string representation of the current instance.
The string representation of the .
Gets an that points beyond the last element.
An index that points beyond the last element.
Gets a value that indicates whether the index is from the start or the end.
if the Index is from the end; otherwise, .
Gets an that points to the first element of a collection.
An instance that points to the first element of a collection.
Gets the index value.
The index value.
The exception that is thrown when an attempt is made to access an element of an array or collection with an index that is outside its bounds.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
The exception that is thrown when there is insufficient execution stack available to allow most methods to execute.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the inner parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
The exception that is thrown when a check for sufficient available memory fails. This class cannot be inherited.
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Represents a 128-bit signed integer.
Initializes a new instance of the struct.
The upper 64-bits of the 128-bit value.
The lower 64-bits of the 128-bit value.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Produces the full product of two unsigned native integers.
The integer to multiply with .
The integer to multiply with .
The lower half of the full product.
The upper half of the full product.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value
Meaning
-
Less than zero
This instance precedes in the sort order.
-
Zero
This instance occurs in the same position in the sort order as .
-
Greater than zero
This instance follows in the sort order.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value
Meaning
-
Less than zero
This instance precedes in the sort order.
-
Zero
This instance occurs in the same position in the sort order as .
-
Greater than zero
This instance follows in the sort order.
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
if the current object is equal to the parameter; otherwise, .
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Serves as the default hash function.
A hash code for the current object.
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Adds two values together to compute their sum.
The value to which is added.
The value that is added to .
The sum of and .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Adds two values together to compute their sum.
The value to which is added.
The value that is added to .
The sum of and .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides two values together to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided-by .
Increments a value.
The value to increment.
The result of incrementing .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied-by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that is subtracted from .
The difference of subtracted from .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides two values together to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided-by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Explicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Explicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit signed integer to a value.
The value to convert.
converted to a .
Explicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Implicitly converts a value to a 128-bit signed integer.
The value to convert.
converted to a 128-bit signed integer.
Increments a value.
The value to increment.
The result of incrementing .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided-by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied-by .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that is subtracted from .
The difference of subtracted from .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of characters into a value.
The span of characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a string into a value.
The string to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a string into a value.
A string containing a number to parse.
A bitwise combination of number styles that can be present in .
The result of parsing .
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a string into a value.
A string containing a number to parse.
The result of parsing .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Returns a string that represents the current object.
A string that represents the current object.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Formats the value of the current instance using the specified format.
The format to use, or a reference to use the default format defined for the type of the implementation.
An object that supplies culture-specific formatting information.
The value of the current instance in the specified format.
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
The format to use, or a reference to use the default format defined for the type of the implementation.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 128-bit signed integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 128-bit signed integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the value -1 for the type.
Gets the value 1 for the type.
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the multiplicative identity of the current type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Represents a 16-bit signed integer.
Represents the largest possible value of an . This field is constant.
Represents the smallest possible value of . This field is constant.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified 16-bit signed integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified 16-bit signed integer.
An integer to compare.
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the object.
An object to compare, or .
is not an .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified value.
An value to compare to this instance.
if has the same value as this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare to this instance.
if is an instance of and equals the value of this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number in a specified style and culture-specific format to its 16-bit signed integer equivalent.
A span containing the characters representing the number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An that supplies culture-specific formatting information about .
A 16-bit signed integer equivalent to the number specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its 16-bit signed integer equivalent.
A string containing a number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An that supplies culture-specific formatting information about .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number less than Int16.MinValue or greater than Int16.MaxValue.
-or-
includes non-zero fractional digits.
A 16-bit signed integer equivalent to the number specified in .
Converts the string representation of a number in a specified style to its 16-bit signed integer equivalent.
A string containing a number to convert.
A bitwise combination of the enumeration values that indicates the style elements that can be present in . A typical value to specify is .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number less than Int16.MinValue or greater than Int16.MaxValue.
-or-
includes non-zero fractional digits.
A 16-bit signed integer equivalent to the number specified in .
Converts the string representation of a number in a specified culture-specific format to its 16-bit signed integer equivalent.
A string containing a number to convert.
An that supplies culture-specific formatting information about .
is .
is not in the correct format.
represents a number less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer equivalent to the number specified in .
Converts the string representation of a number to its 16-bit signed integer equivalent.
A string containing a number to convert.
is .
is not in the correct format.
represents a number less than Int16.MinValue or greater than Int16.MaxValue.
A 16-bit signed integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An implementation that supplies information about the format of the returned value.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance, consisting of a minus sign if the value is negative, and a sequence of digits ranging from 0 to 9 with no leading zeroes.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific formatting information.
A numeric format string.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A numeric format string.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current short number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 16-bit signed integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 16-bit signed integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the span representation of a number in a specified style and culture-specific format to its 16-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters representing the number to convert. The span is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 16-bit signed integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than Int16.MinValue or greater than Int16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the span representation of a number in a culture-specific format to its 16-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters that represent the number to convert.
When this method returns, contains the 16-bit signed integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or or represents a number less than Int16.MinValue or greater than Int16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its 16-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string containing a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 16-bit signed integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than Int16.MinValue or greater than Int16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its 16-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string containing a number to convert.
When this method returns, contains the 16-bit signed integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than Int16.MinValue or greater than Int16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
Represents a 32-bit signed integer.
Represents the largest possible value of an . This field is constant.
Represents the smallest possible value of . This field is constant.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Produces the full product of two 32-bit numbers.
The first number to multiply.
The second number to multiply.
The number containing the product of the specified numbers.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified 32-bit signed integer and returns an indication of their relative values.
An integer to compare.
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not an .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified value.
An value to compare to this instance.
if has the same value as this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if is an instance of and equals the value of this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent.
A span containing the characters representing the number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific information about the format of .
A 32-bit signed integer equivalent to the number specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent.
A string containing a number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific information about the format of .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number less than Int32.MinValue or greater than Int32.MaxValue.
-or-
includes non-zero, fractional digits.
A 32-bit signed integer equivalent to the number specified in .
Converts the string representation of a number in a specified style to its 32-bit signed integer equivalent.
A string containing a number to convert.
A bitwise combination of the enumeration values that indicates the style elements that can be present in . A typical value to specify is .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number less than Int32.MinValue or greater than Int32.MaxValue.
-or-
includes non-zero, fractional digits.
A 32-bit signed integer equivalent to the number specified in .
Converts the string representation of a number in a specified culture-specific format to its 32-bit signed integer equivalent.
A string containing a number to convert.
An object that supplies culture-specific formatting information about .
is .
is not of the correct format.
represents a number less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer equivalent to the number specified in .
Converts the string representation of a number to its 32-bit signed integer equivalent.
A string containing a number to convert.
is .
is not in the correct format.
represents a number less than Int32.MinValue or greater than Int32.MaxValue.
A 32-bit signed integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An object that provides information about the format of the returned value.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance, consisting of a negative sign if the value is negative, and a sequence of digits ranging from 0 to 9 with no leading zeroes.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A standard or custom numeric format string.
An object that supplies culture-specific formatting information.
is invalid or not supported.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A standard or custom numeric format string.
is invalid or not supported.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current integer number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 32-bit signed integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 32-bit signed integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the span representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent. A return value indicates whether the conversion succeeded.
A span containing the characters that represent the number to convert. The span is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 32-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than Int32.MinValue or greater than Int32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the span representation of a number in a culture-specific format to its 32-bit signed integer equivalent. A return value indicates whether the conversion succeeded.
A span containing the characters that represent the number to convert.
When this method returns, contains the 32-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or or represents a number less than Int32.MinValue or greater than Int32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent. A return value indicates whether the conversion succeeded.
A string containing a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 32-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than Int32.MinValue or greater than Int32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its 32-bit signed integer equivalent. A return value indicates whether the conversion succeeded.
A string containing a number to convert.
When this method returns, contains the 32-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than Int32.MinValue or greater than Int32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
Represents a 64-bit signed integer.
Represents the largest possible value of an . This field is constant.
Represents the smallest possible value of an . This field is constant.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Produces the full product of two 64-bit numbers.
The first number to multiply.
The second number to multiply.
The number containing the product of the specified numbers.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified 64-bit signed integer and returns an indication of their relative values.
An integer to compare.
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not an .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified value.
An value to compare to this instance.
if has the same value as this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if is an instance of an and equals the value of this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number in a specified style and culture-specific format to its 64-bit signed integer equivalent.
A span containing the characters representing the number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An that supplies culture-specific formatting information about .
A 64-bit signed integer equivalent to the number specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its 64-bit signed integer equivalent.
A string containing a number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An that supplies culture-specific formatting information about .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number less than Int64.MinValue or greater than Int64.MaxValue.
-or-
supports fractional digits, but includes non-zero fractional digits.
A 64-bit signed integer equivalent to the number specified in .
Converts the string representation of a number in a specified style to its 64-bit signed integer equivalent.
A string containing a number to convert.
A bitwise combination of values that indicates the permitted format of . A typical value to specify is .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number less than Int64.MinValue or greater than Int64.MaxValue.
-or-
supports fractional digits but includes non-zero fractional digits.
A 64-bit signed integer equivalent to the number specified in .
Converts the string representation of a number in a specified culture-specific format to its 64-bit signed integer equivalent.
A string containing a number to convert.
An object that supplies culture-specific formatting information about .
is .
is not in the correct format.
represents a number less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer equivalent to the number specified in .
Converts the string representation of a number to its 64-bit signed integer equivalent.
A string containing a number to convert.
is .
is not in the correct format.
represents a number less than Int64.MinValue or greater than Int64.MaxValue.
A 64-bit signed integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An implementation that provides information about the format of the returned value.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance, consisting of a minus sign if the value is negative, and a sequence of digits ranging from 0 to 9 with no leading zeroes.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information about this instance.
is invalid or not supported.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A numeric format string.
is invalid or not supported.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current long number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit signed integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 64-bit signed integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the span representation of a number in a specified style and culture-specific format to its 64-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters representing the number to convert. The span is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 64-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than Int64.MinValue or greater than Int64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the span representation of a number to its 64-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters representing the number to convert.
When this method returns, contains the 64-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than Int64.MinValue or greater than Int64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its 64-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string containing a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 64-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than Int64.MinValue or greater than Int64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its 64-bit signed integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string containing a number to convert.
When this method returns, contains the 64-bit signed integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than Int64.MinValue or greater than Int64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
Represents a signed integer where the bit-width is the same as a pointer.
A read-only field that represents a signed integer that has been initialized to zero.
Initializes a new instance of using the specified 32-bit signed integer.
A 32-bit signed integer.
Initializes a new instance of using the specified 64-bit signed integer.
A 64-bit signed integer.
In a 32-bit process, is too large or too small to represent as an .
Initializes a new instance of using the specified pointer to an unspecified type.
A pointer to an unspecified type.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Adds an offset to a signed integer.
The signed integer to add the offset to.
The offset to add.
A new signed integer that reflects the addition of to .
Produces the full product of two unsigned native integers.
The integer to multiply with .
The integer to multiply with .
The lower half of the full product.
The upper half of the full product.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
A signed native integer to compare.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning- Less than zero This instance precedes in the sort order.
- Zero This instance occurs in the same position in the sort order as .
- Greater than zero This instance follows in the sort order.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare, or .
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning- Less than zero This instance precedes in the sort order.
- Zero This instance occurs in the same position in the sort order as .
- Greater than zero This instance follows in the sort order.
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
if the current object is equal to ; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance or .
if is an instance of and equals the value of this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Adds an offset to a signed integer.
The signed integer to add the offset to.
The offset to add.
A new signed integer that reflects the addition of to .
Determines whether two specified instances of are equal.
The first signed integer to compare.
The second signed integer to compare.
if equals ; otherwise, .
Converts the value of a 32-bit signed integer to an .
A 32-bit signed integer.
A new instance of initialized to .
Converts the value of a 64-bit signed integer to an .
A 64-bit signed integer.
In a 32-bit process, is too large to represent as an .
A new instance of initialized to .
Converts the value of the specified to a 32-bit signed integer.
The signed integer to convert.
In a 64-bit process, the value of is too large to represent as a 32-bit signed integer.
The contents of .
Converts the value of the specified to a 64-bit signed integer.
The signed integer to convert.
The contents of .
Converts the value of the specified to a pointer to an unspecified type.
This API is not CLS-compliant.
The signed integer to convert.
The contents of .
Converts the specified pointer to an unspecified type to an .
This API is not CLS-compliant.
A pointer to an unspecified type.
A new instance of initialized to .
Determines whether two specified instances of are not equal.
The first signed integer to compare.
The second signed integer to compare.
if does not equal ; otherwise, .
Subtracts an offset from a signed integer.
The signed integer to subtract the offset from.
The offset to subtract.
A new signed integer that reflects the subtraction of from .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the read-only span of characters representation of a number in a specified style and culture-specific format to its signed native integer equivalent.
A read-only span of characters containing a number to convert.
A bitwise combination of the enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
is not a value or is not a combination of and values.
is not in the correct format.
represents a number less than or greater than .
A signed native integer equivalent to the number contained in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its signed native integer equivalent.
A string containing a number to convert.
A bitwise combination of the enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
is .
is not a value or is not a combination of and values.
is not in the correct format.
represents a number less than or greater than .
A signed native integer equivalent to the number contained in .
Converts the string representation of a number in a specified style to its signed native integer equivalent.
A string containing a number to convert.
A bitwise combination of the enumeration values that indicates the style elements that can be present in .
is .
is not a value or is not a combination of and values.
is not in the correct format.
represents a number less than or greater than .
A signed native integer equivalent to the number contained in .
Converts the string representation of a number in a specified culture-specific format to its signed native integer equivalent.
A string containing a number to convert.
An object that supplies culture-specific formatting information about .
is .
is not in the correct format.
represents a number less than or greater than .
A signed native integer equivalent to the number contained in .
Converts the string representation of a number to its signed native integer equivalent.
A string containing a number to convert.
is .
is not in the correct format.
represents a number less than or greater than .
A signed native integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Subtracts an offset from a signed integer.
The signed integer to subtract the offset from.
The offset to subtract.
A new signed integer that reflects the subtraction of from .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Populates a object with the data needed to serialize the current object.
The object to populate with data.
The destination for this serialization. (This parameter is not used; specify .)
is .
Converts the value of this instance to a 32-bit signed integer.
In a 64-bit process, the value of this instance is too large or too small to represent as a 32-bit signed integer.
A 32-bit signed integer equal to the value of this instance.
Converts the value of this instance to a 64-bit signed integer.
A 64-bit signed integer equal to the value of this instance.
Converts the value of this instance to a pointer to an unspecified type.
A pointer to ; that is, a pointer to memory containing data of an unspecified type.
Converts the numeric value of the current object to its equivalent string representation.
The string representation of the value of this instance.
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Formats the value of the current instance using the specified format.
The format to use.
-or-
A reference ( in Visual Basic) to use the default format defined for the type of the implementation.
An object that supplies culture-specific formatting information.
The value of the current instance in the specified format.
Converts the numeric value of the current object to its equivalent string representation.
A format specification that governs how the current object is converted.
is invalid or not supported.
The string representation of the value of the current object.
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance into the provided span of characters.
The span where this instance's value formatted as a span of characters should be written.
When this method returns, contains the number of characters that were written in .
The characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its signed integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the signed integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the read-only span of characters representation of a number in a specified style and culture-specific format to its signed native integer equivalent. A return value indicates whether the conversion succeeded.
A read-only span of characters containing a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
When this method returns, contains the signed native integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
A read-only span of characters containing a number to convert.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was converted successfully; otherwise, .
Converts the read-only span of characters representation of a number to its signed native integer equivalent. A return value indicates whether the conversion succeeded.
A read-only span of characters containing a number to convert.
When this method returns, contains the signed native integer equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its signed native integer equivalent. A return value indicates whether the conversion succeeded.
A string containing a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
When this method returns, contains the signed native integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its signed native integer equivalent. A return value indicates whether the conversion succeeded.
A string containing a number to convert.
When this method returns, contains the signed native integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Gets the largest possible value of .
The largest possible value of .
Gets the smallest possible value of .
The smallest possible value of .
Gets the size of this instance.
The size of a signed integer in the executing process, measured in bytes. The value of this property is 4 in a 32-bit process, and 8 in a 64-bit process. You can define the process type by setting the switch when you compile your code with the C# and Visual Basic compilers.
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
The exception that is thrown for invalid casting or explicit conversion.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified message and error code.
The message that indicates the reason the exception occurred.
The error code (HRESULT) value associated with the exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
The exception that is thrown when a method call is invalid for the object's current state.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. Generally this indicates a bug in the compiler that generated the program. This exception is also thrown when internal runtime implementation limits have been exceeded by the program.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
The exception that is thrown when time zone information is invalid.
Initializes a new instance of the class with a system-supplied message.
Initializes a new instance of the class from serialized data.
The object that contains the serialized data.
The stream that contains the serialized data.
The parameter is .
-or-
The parameter is .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
A string that describes the exception.
The exception that is the cause of the current exception.
Initializes a new instance of the class with the specified message string.
A string that describes the exception.
Reads primitive data types as binary values in a specific encoding.
Initializes a new instance of the class based on the specified stream and character encoding, and optionally leaves the stream open.
The input stream.
The character encoding to use.
to leave the stream open after the object is disposed; otherwise, .
The stream does not support reading, is , or is already closed.
or is .
Initializes a new instance of the class based on the specified stream and character encoding.
The input stream.
The character encoding to use.
The stream does not support reading, is , or is already closed.
is .
Initializes a new instance of the class based on the specified stream and using UTF-8 encoding.
The input stream.
The stream does not support reading, is , or is already closed.
Closes the current reader and the underlying stream.
Releases all resources used by the current instance of the class.
Releases the unmanaged resources used by the class and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Fills the internal buffer with the specified number of bytes read from the stream.
The number of bytes to be read.
The end of the stream is reached before could be read.
An I/O error occurred.
Requested is larger than the internal buffer size.
Returns the next available character and does not advance the byte or character position.
An I/O error occurred.
The current character cannot be decoded into the internal character buffer by using the selected for the stream.
The next available character, or -1 if no more characters are available or the stream does not support seeking.
Reads characters from the underlying stream and advances the current position of the stream in accordance with the used and the specific character being read from the stream.
An I/O error occurred.
The stream is closed.
The next character from the input stream, or -1 if no characters are currently available.
Reads the specified number of bytes from the stream, starting from a specified point in the byte array.
The buffer to read data into.
The starting point in the buffer at which to begin reading into the buffer.
The number of bytes to read.
The buffer length minus is less than .
-or-
The number of decoded characters to read is greater than . This can happen if a Unicode decoder returns fallback characters or a surrogate pair.
is .
or is negative.
The stream is closed.
An I/O error occurred.
The number of bytes read into . This might be less than the number of bytes requested if that many bytes are not available, or it might be zero if the end of the stream is reached.
Reads the specified number of characters from the stream, starting from a specified point in the character array.
The buffer to read data into.
The starting point in the buffer at which to begin reading into the buffer.
The number of characters to read.
The buffer length minus is less than .
-or-
The number of decoded characters to read is greater than . This can happen if a Unicode decoder returns fallback characters or a surrogate pair.
is .
or is negative.
The stream is closed.
An I/O error occurred.
The total number of characters read into the buffer. This might be less than the number of characters requested if that many characters are not currently available, or it might be zero if the end of the stream is reached.
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current source.
The stream is closed.
An I/O error occurred.
The total number of bytes read into the buffer. This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
Reads, from the current stream, the same number of characters as the length of the provided buffer, writes them in the provided buffer, and advances the current position in accordance with the used and the specific character being read from the stream.
A span of characters. When this method returns, the contents of this region are replaced by the characters read from the current source.
The stream is closed.
An I/O error occurred.
The total number of characters read into the buffer. This might be less than the number of characters requested if that many characters are not currently available, or it might be zero if the end of the stream is reached.
Reads in a 32-bit integer in compressed format.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
The stream is corrupted.
A 32-bit integer in compressed format.
Reads a number 7 bits at a time.
The number that is read from this binary reader instance.
Reads a value from the current stream and advances the current position of the stream by one byte.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
if the byte is nonzero; otherwise, .
Reads the next byte from the current stream and advances the current position of the stream by one byte.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
The next byte read from the current stream.
Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.
The number of bytes to read. This value must be 0 or a non-negative number or an exception will occur.
The number of decoded characters to read is greater than . This can happen if a Unicode decoder returns fallback characters or a surrogate pair.
An I/O error occurred.
The stream is closed.
is negative.
A byte array containing data read from the underlying stream. This might be less than the number of bytes requested if the end of the stream is reached.
Reads the next character from the current stream and advances the current position of the stream in accordance with the used and the specific character being read from the stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A surrogate character was read.
A character read from the current stream.
Reads the specified number of characters from the current stream, returns the data in a character array, and advances the current position in accordance with the used and the specific character being read from the stream.
The number of characters to read.
The number of decoded characters to read is greater than . This can happen if a Unicode decoder returns fallback characters or a surrogate pair.
The stream is closed.
An I/O error occurred.
is negative.
A character array containing data read from the underlying stream. This might be less than the number of characters requested if the end of the stream is reached.
Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A decimal value read from the current stream.
Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
An 8-byte floating point value read from the current stream.
Reads bytes from the current stream and advances the position within the stream until the is filled.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current stream.
The stream is closed.
An I/O error occurred.
The end of the stream is reached before filling the .
Reads a 2-byte floating point value from the current stream and advances the current position of the stream by two bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A 2-byte floating point value read from the current stream.
Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A 2-byte signed integer read from the current stream.
Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A 4-byte signed integer read from the current stream.
Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
An 8-byte signed integer read from the current stream.
Reads a signed byte from this stream and advances the current position of the stream by one byte.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A signed byte read from the current stream.
Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A 4-byte floating point value read from the current stream.
Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
The string being read.
Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A 2-byte unsigned integer read from this stream.
Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
A 4-byte unsigned integer read from this stream.
Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.
The end of the stream is reached.
An I/O error occurred.
The stream is closed.
An 8-byte unsigned integer read from this stream.
Exposes access to the underlying stream of the .
The underlying stream associated with the .
Writes primitive types in binary to a stream and supports writing strings in a specific encoding.
Specifies a with no backing store.
Holds the underlying stream.
Initializes a new instance of the class that writes to a stream.
Initializes a new instance of the class based on the specified stream and character encoding, and optionally leaves the stream open.
The output stream.
The character encoding to use.
to leave the stream open after the object is disposed; otherwise, .
The stream does not support writing or is already closed.
or is .
Initializes a new instance of the class based on the specified stream and character encoding.
The output stream.
The character encoding to use.
The stream does not support writing or is already closed.
or is .
Initializes a new instance of the class based on the specified stream and using UTF-8 encoding.
The output stream.
The stream does not support writing or is already closed.
is .
Closes the current and the underlying stream.
Releases all resources used by the current instance of the class.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Asynchronously releases all resources used by the current instance of the class.
A task that represents the asynchronous dispose operation.
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
Sets the position within the current stream.
A byte offset relative to .
A field of indicating the reference point from which the new position is to be obtained.
The file pointer was moved to an invalid location.
The value is invalid.
The position with the current stream.
Writes a one-byte value to the current stream, with 0 representing and 1 representing .
The value to write (0 or 1).
An I/O error occurs.
The stream is closed.
Writes an unsigned byte to the current stream and advances the stream position by one byte.
The unsigned byte to write.
An I/O error occurs.
The stream is closed.
Writes a region of a byte array to the current stream.
A byte array containing the data to write.
The index of the first byte to read from and to write to the stream.
The number of bytes to read from and to write to the stream.
The buffer length minus is less than .
is .
or is negative.
An I/O error occurs.
The stream is closed.
Writes a byte array to the underlying stream.
A byte array containing the data to write.
An I/O error occurs.
The stream is closed.
is .
Writes a Unicode character to the current stream and advances the current position of the stream in accordance with the used and the specific characters being written to the stream.
The non-surrogate, Unicode character to write.
An I/O error occurs.
The stream is closed.
is a single surrogate character.
Writes a section of a character array to the current stream, and advances the current position of the stream in accordance with the used and perhaps the specific characters being written to the stream.
A character array containing the data to write.
The index of the first character to read from and to write to the stream.
The number of characters to read from and to write to the stream.
The buffer length minus is less than .
is .
or is negative.
An I/O error occurs.
The stream is closed.
Writes a character array to the current stream and advances the current position of the stream in accordance with the used and the specific characters being written to the stream.
A character array containing the data to write.
is .
The stream is closed.
An I/O error occurs.
Writes a decimal value to the current stream and advances the stream position by sixteen bytes.
The decimal value to write.
An I/O error occurs.
The stream is closed.
Writes an eight-byte floating-point value to the current stream and advances the stream position by eight bytes.
The eight-byte floating-point value to write.
An I/O error occurs.
The stream is closed.
Writes a two-byte floating-point value to the current stream and advances the stream position by two bytes.
The two-byte floating-point value to write.
An I/O error occurs.
The stream is closed.
Writes a two-byte signed integer to the current stream and advances the stream position by two bytes.
The two-byte signed integer to write.
An I/O error occurs.
The stream is closed.
Writes a four-byte signed integer to the current stream and advances the stream position by four bytes.
The four-byte signed integer to write.
An I/O error occurs.
The stream is closed.
Writes an eight-byte signed integer to the current stream and advances the stream position by eight bytes.
The eight-byte signed integer to write.
An I/O error occurs.
The stream is closed.
Writes a span of bytes to the current stream.
The span of bytes to write.
Writes a span of characters to the current stream, and advances the current position of the stream in accordance with the used and perhaps the specific characters being written to the stream.
A span of chars to write.
Writes a signed byte to the current stream and advances the stream position by one byte.
The signed byte to write.
An I/O error occurs.
The stream is closed.
Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes.
The four-byte floating-point value to write.
An I/O error occurs.
The stream is closed.
Writes a length-prefixed string to this stream in the current encoding of the , and advances the current position of the stream in accordance with the encoding used and the specific characters being written to the stream.
The value to write.
An I/O error occurs.
is .
The stream is closed.
Writes a two-byte unsigned integer to the current stream and advances the stream position by two bytes.
The two-byte unsigned integer to write.
An I/O error occurs.
The stream is closed.
Writes a four-byte unsigned integer to the current stream and advances the stream position by four bytes.
The four-byte unsigned integer to write.
An I/O error occurs.
The stream is closed.
Writes an eight-byte unsigned integer to the current stream and advances the stream position by eight bytes.
The eight-byte unsigned integer to write.
An I/O error occurs.
The stream is closed.
Writes a 32-bit integer in a compressed format.
The 32-bit integer to be written.
The end of the stream is reached.
The stream is closed.
The stream is closed.
Writes out a number 7 bits at a time.
The value to write.
Gets the underlying stream of the .
The underlying stream associated with the .
Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.
Initializes a new instance of the class with the specified buffer size.
The current stream.
The buffer size in bytes.
is .
is negative.
Initializes a new instance of the class with a default buffer size of 4096 bytes.
The current stream.
is .
Begins an asynchronous read operation. (Consider using instead.)
The buffer to read the data into.
The byte offset in at which to begin writing data read from the stream.
The maximum number of bytes to read.
An optional asynchronous callback, to be called when the read is complete.
A user-provided object that distinguishes this particular asynchronous read request from other requests.
is .
or is negative.
Attempted an asynchronous read past the end of the stream.
The buffer length minus is less than .
The current stream does not support the read operation.
An object that represents the asynchronous read, which could still be pending.
Begins an asynchronous write operation. (Consider using instead.)
The buffer containing data to write to the current stream.
The zero-based byte offset in at which to begin copying bytes to the current stream.
The maximum number of bytes to write.
The method to be called when the asynchronous write operation is completed.
A user-provided object that distinguishes this particular asynchronous write request from other requests.
length minus is less than .
is .
or is negative.
The stream does not support writing.
An object that references the asynchronous write, which could still be pending.
Reads the bytes from the current buffered stream and writes them to another stream.
The stream to which the contents of the current buffered stream will be copied.
The size of the buffer. This value must be greater than zero. The default size is 81920.
is .
is negative or zero.
The current stream does not support reading.
-or-
does not support writing.
Either the current stream or was closed before the method was called.
An I/O error occurred.
Asynchronously reads the bytes from the current buffered stream and writes them to another stream, using a specified buffer size and cancellation token.
The stream to which the contents of the current buffered stream will be copied.
The size, in bytes, of the buffer. This value must be greater than zero. The default sizer is 81920.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous copy operation.
Asynchronously releases the unmanaged resources used by the buffered stream.
A task that represents the asynchronous dispose operation.
Waits for the pending asynchronous read operation to complete. (Consider using instead.)
The reference to the pending asynchronous request to wait for.
is .
This object was not created by calling on this class.
The number of bytes read from the stream, between 0 (zero) and the number of bytes you requested. Streams only return 0 only at the end of the stream, otherwise, they should block until at least 1 byte is available.
Ends an asynchronous write operation and blocks until the I/O operation is complete. (Consider using instead.)
The pending asynchronous request.
is .
This object was not created by calling on this class.
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
The stream has been disposed.
The data source or repository is not open.
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.
The token to monitor for cancellation requests.
The stream has been disposed.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous flush operation.
Copies bytes from the current buffered stream to an array.
The byte offset in the buffer at which to begin reading bytes.
The number of bytes to be read.
Length of minus is less than .
is .
or is negative.
The stream is not open or is .
The stream does not support reading.
Methods were called after the stream was closed.
The total number of bytes read into . This can be less than the number of bytes requested if that many bytes are not currently available, or 0 if the end of the stream has been reached before any data can be read.
Copies bytes from the current buffered stream to a byte span and advances the position within the buffered stream by the number of bytes read.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current source.
The total number of bytes read into the buffer. This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.
The buffer to write the data into.
The byte offset in at which to begin writing data from the stream.
The maximum number of bytes to read.
The token to monitor for cancellation requests.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support reading.
The stream has been disposed.
The stream is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The returned task contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current buffered stream and advances the position within the buffered stream by the number of bytes read.
The region of memory to write the data into.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into the buffer. The result value can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or it can be 0 (zero) if the end of the stream has been reached.
Reads a byte from the underlying stream and returns the byte cast to an , or returns -1 if reading from the end of the stream.
An I/O error occurs, such as the stream being closed.
The stream does not support reading.
Methods were called after the stream was closed.
The byte cast to an , or -1 if reading from the end of the stream.
Sets the position within the current buffered stream.
A byte offset relative to .
A value of type indicating the reference point from which to obtain the new position.
The stream is not open or is .
The stream does not support seeking.
Methods were called after the stream was closed.
The new position within the current buffered stream.
Sets the length of the buffered stream.
An integer indicating the desired length of the current buffered stream in bytes.
is negative.
The stream is not open or is .
The stream does not support both writing and seeking.
Methods were called after the stream was closed.
Copies bytes to the buffered stream and advances the current position within the buffered stream by the number of bytes written.
The offset in the buffer at which to begin copying bytes to the current buffered stream.
The number of bytes to be written to the current buffered stream.
Length of minus is less than .
is .
or is negative.
The stream is closed or .
The stream does not support writing.
Methods were called after the stream was closed.
Writes a sequence of bytes to the current buffered stream and advances the current position within this buffered stream by the number of bytes written.
A region of memory. This method copies the contents of this region to the current buffered stream.
Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
The buffer to write data from.
The zero-based byte offset in from which to begin copying bytes to the stream.
The maximum number of bytes to write.
The token to monitor for cancellation requests.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support writing.
The stream has been disposed.
The stream is currently in use by a previous write operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a sequence of bytes to the current buffered stream, advances the current position within this buffered stream by the number of bytes written, and monitors cancellation requests.
The region of memory to write data from.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a byte to the current position in the buffered stream.
A byte to write to the stream.
The stream does not support writing.
is .
Methods were called after the stream was closed.
Gets the buffer size in bytes for this buffered stream.
An integer representing the buffer size in bytes.
Gets a value indicating whether the current stream supports reading.
if the stream supports reading; if the stream is closed or was opened with write-only access.
Gets a value indicating whether the current stream supports seeking.
if the stream supports seeking; if the stream is closed or if the stream was constructed from an operating system handle such as a pipe or output to the console.
Gets a value indicating whether the current stream supports writing.
if the stream supports writing; if the stream is closed or was opened with read-only access.
Gets the stream length in bytes.
The underlying stream is or closed.
The stream does not support seeking.
Methods were called after the stream was closed.
The stream length in bytes.
Gets the position within the current stream.
The value passed to is negative.
An I/O error occurs, such as the stream being closed.
The stream does not support seeking.
Methods were called after the stream was closed.
The position within the current stream.
Gets the underlying instance for this buffered stream.
The underlying stream instance.
Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
Creates all directories and subdirectories in the specified path with the specified permissions unless they already exist.
The directory to create.
A bitwise combination of the enumeration values that specifies the Unix file mode used to create directories.
is a zero-length string, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The file mode is invalid.
The caller does not have the required permission.
The specified path exceeds the system-defined maximum length.
is a file.
A component of the is not a directory.
An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists.
Creates all directories and subdirectories in the specified path unless they already exist.
The directory to create.
The directory specified by is a file.
-or-
The network name is not known.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
is prefixed with, or contains, only a colon character (:).
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
contains a colon character (:) that is not part of a drive label ("C:\").
An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists.
Creates a directory symbolic link identified by that points to .
The path where the symbolic link should be created.
The target directory of the symbolic link.
or is .
or is empty.
-or-
or contains invalid path characters.
A file or directory already exists in the location of .
-or-
An I/O error occurred.
A instance that wraps the newly created directory symbolic link.
Creates a uniquely named, empty directory in the current user's temporary directory.
An optional string to add to the beginning of the subdirectory name.
contains a directory separator.
A new directory cannot be created.
An object that represents the directory that was created.
Deletes the specified directory and, if indicated, any subdirectories and files in the directory.
The name of the directory to remove.
to remove directories, subdirectories, and files in ; otherwise, .
A file with the same name and location specified by exists.
-or-
The directory specified by is read-only, or is and is not an empty directory.
-or-
The directory is the application's current working directory.
-or-
The directory contains a read-only file.
-or-
The directory is being used by another process.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
does not exist or could not be found.
-or-
The specified path is invalid (for example, it is on an unmapped drive).
Deletes an empty directory from a specified path.
The name of the empty directory to remove. This directory must be writable and empty.
A file with the same name and location specified by exists.
-or-
The directory is the application's current working directory.
-or-
The directory specified by is not empty.
-or-
The directory is read-only or contains a read-only file.
-or-
The directory is being used by another process.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
does not exist or could not be found.
-or-
The specified path is invalid (for example, it is on an unmapped drive).
Returns an enumerable collection of the directory full names that match a search pattern in a specified path, and optionally searches subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
or is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified search pattern and enumeration options.
Returns an enumerable collection of directory full names that match a search pattern in a specified path, and optionally searches subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories. The default value is .
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is not a valid value.
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified search pattern and search option.
Returns an enumerable collection of directory full names that match a search pattern in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of directories in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters with the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the directories in the directory specified by and that match the specified search pattern.
Returns an enumerable collection of directory full names in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the directories in the directory specified by .
Returns an enumerable collection of full file names that match a search pattern and enumeration options in a specified path, and optionally searches subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified search pattern and enumeration options.
Returns an enumerable collection of full file names that match a search pattern in a specified path, and optionally searches subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories. The default value is .
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is not a valid value.
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified search pattern and search option.
Returns an enumerable collection of full file names that match a search pattern in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified search pattern.
Returns an enumerable collection of full file names in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of the full names (including paths) for the files in the directory specified by .
Returns an enumerable collection of file names and directory names that match a search pattern and enumeration options in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files and directories in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of file-system entries in the directory specified by , that match the specified search pattern and the specified enumeration options.
Returns an enumerable collection of file names and directory names that match a search pattern in a specified path, and optionally searches subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against file-system entries in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories. The default value is .
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is not a valid value.
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of file-system entries in the directory specified by and that match the specified search pattern and option.
Returns an enumerable collection of file names and directory names that match a search pattern in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of file-system entries in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of file-system entries in the directory specified by and that match the specified search pattern.
Returns an enumerable collection of file names and directory names in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
is .
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An enumerable collection of file-system entries in the directory specified by .
Determines whether the given path refers to an existing directory on disk.
The path to test.
if refers to an existing directory; if the directory does not exist or an error occurs when trying to determine if the specified directory exists.
Gets the creation date and time of a directory.
The path of the directory.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
A structure that is set to the creation date and time for the specified directory. This value is expressed in local time.
Gets the creation date and time, in Coordinated Universal Time (UTC) format, of a directory.
The path of the directory.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
A structure that is set to the creation date and time for the specified directory. This value is expressed in UTC time.
Gets the current working directory of the application.
The caller does not have the required permission.
The operating system is Windows CE, which does not have current directory functionality.
This method is available in the .NET Compact Framework, but is not currently supported.
A string that contains the absolute path of the current working directory, and does not end with a backslash (\).
Returns the names of subdirectories (including their paths) that match the specified search pattern and enumeration options in the specified directory.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of subdirectories in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
doesn't contain a valid pattern.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
-or-
File or directory is corrupted and unreadable (example: invalid first allocation unit of a FAT32 partition).
The specified path is invalid (for example, it is on an unmapped drive).
An array of the full names (including paths) of the subdirectories that match the search pattern and enumeration options in the specified directory, or an empty array if no directories are found.
Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of subdirectories in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
or is .
is not a valid value.
The caller does not have the required permission.
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
-or-
File or directory is corrupted and unreadable (example: invalid first allocation unit of a FAT32 partition).
The specified path is invalid (for example, it is on an unmapped drive).
An array of the full names (including paths) of the subdirectories that match the specified criteria, or an empty array if no directories are found.
Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of subdirectories in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
doesn't contain a valid pattern.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
-or-
File or directory is corrupted and unreadable (example: invalid first allocation unit of a FAT32 partition).
The specified path is invalid (for example, it is on an unmapped drive).
An array of the full names (including paths) of the subdirectories that match the search pattern in the specified directory, or an empty array if no directories are found.
Returns the names of subdirectories (including their paths) in the specified directory.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
-or-
File or directory is corrupted and unreadable (example: invalid first allocation unit of a FAT32 partition).
The specified path is invalid (for example, it is on an unmapped drive).
An array of the full names (including paths) of subdirectories in the specified path, or an empty array if no directories are found.
Returns the volume information, root information, or both for the specified path.
The path of a file or directory.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with .
is .
The specified path, file name, or both exceed the system-defined maximum length.
A string that contains the volume information, root information, or both for the specified path.
Returns the names of files (including their paths) that match the specified search pattern and enumeration options in the specified directory.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
is a file name.
-or-
A network error has occurred.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
doesn't contain a valid pattern.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is not found or is invalid (for example, it is on an unmapped drive).
An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and enumeration options, or an empty array if no files are found.
Returns the names of files (including their paths) that match the specified search pattern in the specified directory, using a value to determine whether to search subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
-or-
does not contain a valid pattern.
or is .
is not a valid value.
The caller does not have the required permission.
The specified path is not found or is invalid (for example, it is on an unmapped drive).
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
-or-
A network error has occurred.
An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and option, or an empty array if no files are found.
Returns the names of files (including their paths) that match the specified search pattern in the specified directory.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
is a file name.
-or-
A network error has occurred.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
doesn't contain a valid pattern.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is not found or is invalid (for example, it is on an unmapped drive).
An array of the full names (including paths) for the files in the specified directory that match the specified search pattern, or an empty array if no files are found.
Returns the names of files (including their paths) in the specified directory.
The relative or absolute path to the directory to search. This string is not case-sensitive.
is a file name.
-or-
A network error has occurred.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is not found or is invalid (for example, it is on an unmapped drive).
An array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found.
Returns an array of file names and directory names that match a search pattern and enumeration options in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files and directories in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
-or-
does not contain a valid pattern.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
The specified path is invalid (for example, it is on an unmapped drive).
An array of file names and directory names that match the specified search pattern and enumeration options, or an empty array if no files or directories are found.
Returns an array of all the file names and directory names that match a search pattern in a specified path, and optionally searches subdirectories.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files and directories in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories. The default value is .
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
does not contain a valid pattern.
is .
-or-
is .
is not a valid value.
is invalid, such as referring to an unmapped drive.
is a file name.
The specified path, file name, or combined exceed the system-defined maximum length.
The caller does not have the required permission.
The caller does not have the required permission.
An array of file the file names and directory names that match the specified search criteria, or an empty array if no files or directories are found.
Returns an array of file names and directory names that match a search pattern in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The search string to match against the names of files and directories in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
-or-
does not contain a valid pattern.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
The specified path is invalid (for example, it is on an unmapped drive).
An array of file names and directory names that match the specified search criteria, or an empty array if no files or directories are found.
Returns the names of all files and subdirectories in a specified path.
The relative or absolute path to the directory to search. This string is not case-sensitive.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with .
is .
The specified path, file name, or both exceed the system-defined maximum length.
is a file name.
The specified path is invalid (for example, it is on an unmapped drive).
An array of the names of files and subdirectories in the specified directory, or an empty array if no files or subdirectories are found.
Returns the date and time the specified file or directory was last accessed.
The file or directory for which to obtain access date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The parameter is in an invalid format.
A structure that is set to the date and time the specified file or directory was last accessed. This value is expressed in local time.
Returns the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last accessed.
The file or directory for which to obtain access date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The parameter is in an invalid format.
A structure that is set to the date and time the specified file or directory was last accessed. This value is expressed in UTC time.
Returns the date and time the specified file or directory was last written to.
The file or directory for which to obtain modification date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
A structure that is set to the date and time the specified file or directory was last written to. This value is expressed in local time.
Returns the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last written to.
The file or directory for which to obtain modification date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
A structure that is set to the date and time the specified file or directory was last written to. This value is expressed in UTC time.
Retrieves the names of the logical drives on this computer.
An I/O error occurred (for example, a disk error).
The caller does not have the required permission.
An array of strings representing the logical drive names.
Retrieves the parent directory of the specified path, including both absolute and relative paths.
The path for which to retrieve the parent directory.
The directory specified by is read-only.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length. For more information, see the topic.
The specified path was not found.
is in an invalid format.
.NET Framework only: The caller does not have the required permissions.
The parent directory, or if is the root directory, including the root of a UNC server or share name.
Moves a file or a directory and its contents to a new location.
The path of the file or directory to move.
The path to the new location for or its contents. If is a file, then must also be a file name.
An attempt was made to move a directory to a different volume.
-or-
already exists. See the note in the Remarks section.
-or-
The and parameters refer to the same file or directory.
-or-
The directory or a file within it is being used by another process.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
The path specified by is invalid (for example, it is on an unmapped drive).
Gets the target of the specified directory link.
The path of the directory link.
to follow links to the final target; to return the immediate next link.
The directory on does not exist.
-or-
There are too many levels of symbolic links.
A instance if exists, independently if the target exists or not. if is not a link.
Sets the creation date and time for the specified file or directory.
The file or directory for which to set the creation date and time information.
The date and time the file or directory was last written to. This value is expressed in local time.
The specified path was not found.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
specifies a value outside the range of dates or times permitted for this operation.
The current operating system is not Windows NT or later.
Sets the creation date and time, in Coordinated Universal Time (UTC) format, for the specified file or directory.
The file or directory for which to set the creation date and time information.
The date and time the directory or file was created. This value is expressed in local time.
The specified path was not found.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
specifies a value outside the range of dates or times permitted for this operation.
The current operating system is not Windows NT or later.
Sets the application's current working directory to the specified directory.
The path to which the current working directory is set.
An I/O error occurred.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission to access unmanaged code.
The specified path was not found.
The specified directory was not found.
Sets the date and time the specified file or directory was last accessed.
The file or directory for which to set the access date and time information.
An object that contains the value to set for the access date and time of . This value is expressed in local time.
The specified path was not found.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
The current operating system is not Windows NT or later.
specifies a value outside the range of dates or times permitted for this operation.
Sets the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last accessed.
The file or directory for which to set the access date and time information.
An object that contains the value to set for the access date and time of . This value is expressed in UTC time.
The specified path was not found.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
The current operating system is not Windows NT or later.
specifies a value outside the range of dates or times permitted for this operation.
Sets the date and time a directory was last written to.
The path of the directory.
The date and time the directory was last written to. This value is expressed in local time.
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
The current operating system is not Windows NT or later.
specifies a value outside the range of dates or times permitted for this operation.
Sets the date and time, in Coordinated Universal Time (UTC) format, that a directory was last written to.
The path of the directory.
The date and time the directory was last written to. This value is expressed in UTC time.
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
The current operating system is not Windows NT or later.
specifies a value outside the range of dates or times permitted for this operation.
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
Initializes a new instance of the class on the specified path.
A string specifying the path on which to create the .
is .
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: contains invalid characters such as ", <, >, or |.
The specified path, file name, or both exceed the system-defined maximum length.
Creates a directory.
The directory cannot be created.
Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the class.
The specified path. This cannot be a different disk volume or Universal Naming Convention (UNC) name.
does not specify a valid file path or contains invalid characters.
is .
The specified path is invalid, such as being on an unmapped drive.
The subdirectory cannot be created.
-or-
A file already has the name specified by .
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have code access permission to create the directory.
-or-
The caller does not have code access permission to read the directory described by the returned object. This can occur when the parameter describes an existing directory.
contains a colon character (:) that is not part of a drive label ("C:\").
The last directory specified in .
Deletes this if it is empty.
The directory contains a read-only file.
The directory described by this object does not exist or could not be found.
The directory is not empty.
-or-
The directory is the application's current working directory.
-or-
There is an open handle on the directory, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories. For more information, see How to: Enumerate Directories and Files.
The caller does not have the required permission.
Deletes this instance of a , specifying whether to delete subdirectories and files.
to delete this directory, its subdirectories, and all files; otherwise, .
The directory contains a read-only file.
The directory described by this object does not exist or could not be found.
The directory is read-only.
-or-
The directory contains one or more files or subdirectories and is .
-or-
The directory is the application's current working directory.
-or-
There is an open handle on the directory or on one of its files, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.
The caller does not have the required permission.
Returns an enumerable collection of directory information in the current directory.
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of directories in the current directory.
Returns an enumerable collection of directory information that matches the specified search pattern and enumeration options.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of directories that matches and .
Returns an enumerable collection of directory information that matches a specified search pattern and search subdirectory option.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is .
is .
is not a valid value.
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of directories that matches and .
Returns an enumerable collection of directory information that matches a specified search pattern.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of directories that matches .
Returns an enumerable collection of file information in the current directory.
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of the files in the current directory.
Returns an enumerable collection of file information that matches the specified search pattern and enumeration options.
The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
is .
The path encapsulated in the object is invalid, (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of files that matches and .
Returns an enumerable collection of file information that matches a specified search pattern and search subdirectory option.
The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is .
is .
is not a valid value.
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of files that matches and .
Returns an enumerable collection of file information that matches a search pattern.
The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
is .
The path encapsulated in the object is invalid, (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of files that matches .
Returns an enumerable collection of file system information in the current directory.
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of file system information in the current directory.
Returns an enumerable collection of file system information that matches the specified search pattern and enumeration options.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of file system information objects that matches and .
Returns an enumerable collection of file system information that matches a specified search pattern and search subdirectory option.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is .
is .
is not a valid value.
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of file system information objects that matches and .
Returns an enumerable collection of file system information that matches a specified search pattern.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An enumerable collection of file system information objects that matches .
Returns the subdirectories of the current directory.
The path encapsulated in the object is invalid, such as being on an unmapped drive.
The caller does not have the required permission.
The caller does not have the required permission.
An array of objects.
Returns an array of directories in the current matching the specified search pattern and enumeration options.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of type matching and .
Returns an array of directories in the current matching the given search criteria and using a value to determine whether to search subdirectories.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
is not a valid value.
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of type matching .
Returns an array of directories in the current matching the given search criteria.
The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of type matching .
Returns a file list from the current directory.
The path is invalid, such as being on an unmapped drive.
An array of type .
Returns a file list from the current directory matching the specified search pattern and enumeration options.
The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of strongly typed objects that match and .
Returns a file list from the current directory matching the given search pattern and using a value to determine whether to search subdirectories.
The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
is not a valid value.
The path is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of type .
Returns a file list from the current directory matching the given search pattern.
The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of type .
Returns an array of strongly typed entries representing all the files and subdirectories in a directory.
The path is invalid (for example, it is on an unmapped drive).
An array of strongly typed entries.
Retrieves an array of strongly typed objects representing the files and subdirectories that match the specified search pattern and enumeration options.
The search string to match against the names of directories and files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
An object that describes the search and enumeration configuration to use.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The specified path is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of strongly typed objects matching and .
Retrieves an array of objects that represent the files and subdirectories matching the specified search criteria.
The search string to match against the names of directories and files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is .
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
is not a valid value.
The specified path is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of file system entries that match the search criteria.
Retrieves an array of strongly typed objects representing the files and subdirectories that match the specified search criteria.
The search string to match against the names of directories and files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
.NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The specified path is invalid (for example, it is on an unmapped drive).
The caller does not have the required permission.
An array of strongly typed objects matching the search criteria.
Moves a instance and its contents to a new path.
The name and path to which to move this directory. The destination cannot be another disk volume or a directory with the identical name. It can be an existing directory to which you want to add this directory as a subdirectory.
is .
is an empty string (''").
An attempt was made to move a directory to a different volume.
-or-
already exists.
-or-
You are not authorized to access this path.
-or-
The directory being moved and the destination directory have the same name.
The caller does not have the required permission.
The destination directory cannot be found.
Gets a value indicating whether the directory exists.
if the directory exists; otherwise, .
Gets the name of this instance.
The directory name.
Gets the parent directory of a specified subdirectory.
The caller does not have the required permission.
The parent directory, or if the path is null or if the file path denotes a root (such as \, C:\, or \\server\share).
Gets the root portion of the directory.
The caller does not have the required permission.
An object that represents the root of the directory.
The exception that is thrown when part of a file or directory cannot be found.
Initializes a new instance of the class with its message string set to a system-supplied message and its HRESULT set to COR_E_DIRECTORYNOTFOUND.
Initializes a new instance of the class with the specified serialization and context information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with its message string set to and its HRESULT set to COR_E_DIRECTORYNOTFOUND.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is thrown when reading is attempted past the end of a stream.
Initializes a new instance of the class with its message string set to a system-supplied message and its HRESULT set to COR_E_ENDOFSTREAM.
Initializes a new instance of the class with the specified serialization and context information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
A string that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with its message string set to and its HRESULT set to COR_E_ENDOFSTREAM.
A string that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Provides a lower level view of to help process and filter find results.
Converts the value of this instance to a .
The value of this instance as a .
Returns the full path of the find result.
A string representing the full path.
Returns the full path for the find results, based on the initially provided path.
A string representing the full path.
Gets the attributes for this entry.
The attributes for this entry.
Gets the creation time for the entry or the oldest available time stamp if the operating system does not support creation time stamps.
The creation time for the entry.
Gets the full path of the directory this entry resides in.
The full path of this entry's directory.
Gets the file name for this entry.
This entry's file name.
Gets a value that indicates whether this entry is a directory.
if the entry is a directory; otherwise, .
Gets a value that indicates whether the file has the hidden attribute.
if the file has the hidden attribute; otherwise, .
Gets a datetime offset that represents the last access time in UTC.
The last access time in UTC.
Gets a datetime offset that represents the last write time in UTC.
The last write time in UTC.
Gets the length of the file, in bytes.
The file length in bytes.
Gets the root directory for the enumeration as specified in the constructor.
The original root directory.
Gets the full path of the root directory used for the enumeration.
The root directory.
Allows utilizing custom filter predicates and transform delegates for enumeration purposes.
The type that this enumerable encapsulates.
Initializes a new instance of the class with specific search and filtering options.
The path of the directory where the enumeration will be performed.
A delegate method for transforming raw find data into a result.
An object describing the enumeration options.
or is .
The path is empty.
-or-
contains a null character "\0".
Retrieves the enumerator for this type of result.
An enumerator.
Gets an enumerator that can be used to iterate.
An enumerator instance.
Gets or sets the predicate that can be used to verify if the TResults should be included.
The include predicate.
Gets or sets the predicate that can be used to verify if the TResults should be recursed.
The recurse predicate.
Encapsulates a method for filtering out find results.
A reference to the file system entry that will be evaluated with the predicate condition.
if the predicate condition is met; otherwise, .
Encapsulates a method for transforming raw find data into a result.
A reference to the file system entry that will be evaluated with the predicate condition.
An instance of the type that this delegate encapsulates.
Enumerates the file system elements of the provided type that are being searched and filtered by a .
The type of the result produced by this file system enumerator.
Encapsulates a find operation.
The directory to search in.
Enumeration options to use.
When overriden in a derived class, returns a value that indicates whether to continue execution or throw the default exception.
The native error code.
to continue; to throw the default exception for the given error.
Releases the resources used by the current instance of the class.
When overridden in a derived class, releases the unmanaged resources used by the class and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Advances the enumerator to the next item of the .
if the enumerator successfully advanced to the next item; if the end of the enumerator has been passed.
When overriden in a derived class, this method is called whenever the end of a directory is reached.
The directory path as a read-only span.
Always throws .
When overridden in a derived class, determines whether the specified file system entry should be included in the results.
A file system entry reference.
if the specified file system entry should be included in the results; otherwise, .
When overridden in a derived class, determines whether the specified file system entry should be recursed.
A file system entry reference.
if the specified directory entry should be recursed into; otherwise, .
When overridden in a derived class, generates the result type from the current entry.
A file system entry reference.
The result type from the current entry.
Gets the currently visited element.
The currently visited element.
Gets the currently visited object.
The currently visited object.
Provides methods for matching file system names.
Verifies if the given expression matches the given name. Supports the following wildcards: '*' and '?'. The backslash character '\' escapes.
The expression to match with.
The name to check against the expression.
to ignore case (default); if the match should be case-sensitive.
if the given expression matches the given name; otherwise, .
Verifies if the given Win32 expression matches the given name. Supports the following wildcards: '*', '?', '<', '>', '"'. The backslash character '\' escapes.
The expression to match with, such as "*.foo".
The name to check against the expression.
to ignore case (default), if the match should be case-sensitive.
if the given expression matches the given name; otherwise, .
Translates the given Win32 expression. Change '*' and '?' to '<', '>' and '"' to match Win32 behavior.
The expression to translate.
A string with the translated Win32 expression.
Provides file and directory enumeration options.
Initializes a new instance of the class with the recommended default options.
Gets or sets the attributes to skip.
The attributes to skip. The default is FileAttributes.Hidden | FileAttributes.System.
Gets or sets the suggested buffer size, in bytes.
The buffer size. The default is 0 (no suggestion).
Gets or sets a value that indicates whether to skip files or directories when access is denied (for example, or ).
to skip innacessible files or directories; otherwise, . The default is .
Gets or sets the case-matching behavior.
One of the enumeration values that indicates the case-matching behavior. The default is .
Gets or sets the match type.
One of the enumeration values that indicates the match type. The default is .
Gets or sets a value that indicates the maximum directory depth to recurse while enumerating, when is set to .
A number that represents the maximum directory depth to recurse while enumerating. The default is Int32.MaxValue.
Gets or sets a value that indicates whether to recurse into subdirectories while enumerating.
to recurse into subdirectories; otherwise, . The default is .
Gets or sets a value that indicates whether to return the special directory entries "." and "..".
to return the special directory entries "." and ".."; otherwise, .
Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of objects.
Appends the specified byte array to the end of the file at the given path.
If the file doesn't exist, this method creates a new file.
The file to append to.
The bytes to append to the file.
or is .
is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
This operation is not supported on the current platform.
is in an invalid format.
Appends the specified byte array to the end of the file at the given path.
If the file doesn't exist, this method creates a new file.
The file to append to.
The bytes to append to the file.
is .
is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
specified a directory.
The caller does not have the required permission.
-or-
This operation is not supported on the current platform.
is in an invalid format.
Asynchronously appends the specified byte array to the end of the file at the given path.
If the file doesn't exist, this method creates a new file. If the operation is canceled, the task will return in a canceled state.
The file to append to.
The bytes to append to the file.
The token to monitor for cancellation requests. The default value is .
or is .
is empty.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Asynchronously appends the specified byte array to the end of the file at the given path.
If the file doesn't exist, this method creates a new file. If the operation is canceled, the task will return in a canceled state.
The file to append to.
The bytes to append to the file.
The token to monitor for cancellation requests. The default value is .
is .
is empty.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Appends lines to a file by using a specified encoding, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file.
The file to append the lines to. The file is created if it doesn't already exist.
The lines to append to the file.
The character encoding to use.
is a zero-length string, contains only white space, or contains one more invalid characters defined by the method.
Either , , or is .
is invalid (for example, the directory doesn't exist or it is on an unmapped drive).
The file specified by was not found.
An I/O error occurred while opening the file.
exceeds the system-defined maximum length.
is in an invalid format.
The caller does not have the required permission.
specifies a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
is a directory.
-or-
The caller does not have the required permission.
Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file.
The file to append the lines to. The file is created if it doesn't already exist.
The lines to append to the file.
is a zero-length string, contains only white space, or contains one more invalid characters defined by the method.
Either or is .
is invalid (for example, the directory doesn't exist or it is on an unmapped drive).
The file specified by was not found.
An I/O error occurred while opening the file.
exceeds the system-defined maximum length.
is in an invalid format.
The caller does not have permission to write to the file.
specifies a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
is a directory.
Asynchronously appends lines to a file by using a specified encoding, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file.
The file to append the lines to. The file is created if it doesn't already exist.
The lines to append to the file.
The character encoding to use.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Asynchronously appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the specified lines to the file, and then closes the file.
The file to append the lines to. The file is created if it doesn't already exist.
The lines to append to the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Appends the specified string to the file, creating the file if it does not already exist.
The file to append to.
The characters to write to the file.
The encoding to apply to the string.
or is .
is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
This operation is not supported on the current platform.
is in an invalid format.
Appends the specified string to the file, creating the file if it does not already exist.
The file to append to.
The characters to write to the file.
is .
is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
This operation is not supported on the current platform.
is in an invalid format.
Appends the specified string to the file using the specified encoding, creating the file if it does not already exist.
The file to append the specified string to.
The string to append to the file.
The character encoding to use.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, the directory doesn't exist or it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
is in an invalid format.
The caller does not have the required permission.
Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file.
The file to append the specified string to.
The string to append to the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, the directory doesn't exist or it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
is in an invalid format.
The caller does not have the required permission.
Asynchronously opens a file or creates the file if it does not already exist, appends the specified string to the file using the specified encoding, and then closes the file.
The file to append the specified string to.
The characters to append to the file.
The character encoding to use.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Asynchronously opens a file or creates a file if it does not already exist, appends the specified string to the file, and then closes the file.
The file to append the specified string to.
The characters to append to the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Asynchronously opens a file or creates the file if it does not already exist, appends the specified string to the file using the specified encoding, and then closes the file.
The file to append the specified string to.
The string to append to the file.
The character encoding to use.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Asynchronously opens a file or creates a file if it does not already exist, appends the specified string to the file, and then closes the file.
The file to append the specified string to.
The string to append to the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous append operation.
Creates a that appends UTF-8 encoded text to an existing file, or to a new file if the specified file does not exist.
The path to the file to append to.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, the directory doesn't exist or it is on an unmapped drive).
is in an invalid format.
A stream writer that appends UTF-8 encoded text to the specified file or to a new file.
Copies an existing file to a new file. Overwriting a file of the same name is allowed.
The file to copy.
The name of the destination file. This cannot be a directory.
if the destination file should be replaced if it already exists; otherwise, .
The caller does not have the required permission.
-or-
is read-only.
-or-
is , exists and is hidden, but is not hidden.
or is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
or specifies a directory.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
The path specified in or is invalid (for example, it is on an unmapped drive).
was not found.
exists and is .
-or-
An I/O error has occurred.
or is in an invalid format.
Copies an existing file to a new file. Overwriting a file of the same name is not allowed.
The file to copy.
The name of the destination file. This cannot be a directory or an existing file.
The caller does not have the required permission.
or is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
or specifies a directory.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
The path specified in or is invalid (for example, it is on an unmapped drive).
was not found.
exists.
-or-
An I/O error has occurred.
or is in an invalid format.
Creates or overwrites a file in the specified path, specifying a buffer size and options that describe how to create or overwrite the file.
The path and name of the file to create.
The number of bytes buffered for reads and writes to the file.
One of the values that describes how to create or overwrite the file.
The caller does not have the required permission.
-or-
specified a file that is read-only.
-or-
specified a file that is hidden.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive.
An I/O error occurred while creating the file.
is in an invalid format.
A new file with the specified buffer size.
Creates, or truncates and overwrites, a file in the specified path, specifying a buffer size.
The path and name of the file to create.
The number of bytes buffered for reads and writes to the file.
The caller does not have the required permission.
-or-
specified a file that is read-only.
-or-
specified a file that is hidden.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while creating the file.
is in an invalid format.
A with the specified buffer size that provides read/write access to the file specified in .
Creates, or truncates and overwrites, a file in the specified path.
The path and name of the file to create.
The caller does not have the required permission.
-or-
specified a file that is read-only.
-or-
specified a file that is hidden.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while creating the file.
is in an invalid format.
A that provides read/write access to the file specified in .
Creates a file symbolic link identified by that points to .
The path where the symbolic link should be created.
The path of the target to which the symbolic link points.
or is .
or is empty.
-or-
or contains a character.
A file or directory already exists in the location of .
-or-
An I/O error occurred.
A instance that wraps the newly created file symbolic link.
Creates or opens a file for writing UTF-8 encoded text. If the file already exists, its contents are replaced.
The file to be opened for writing.
The caller does not have the required permission.
-or-
specified a file that is read-only.
-or-
specified a file that is hidden.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
is in an invalid format.
A that writes to the specified file using UTF-8 encoding.
Decrypts a file that was encrypted by the current account using the method.
A path that describes a file to decrypt.
.NET Framework and .NET Core versions older than 2.1: The parameter is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
The parameter is .
An invalid drive was specified.
The file described by the parameter could not be found.
An I/O error occurred while opening the file. For example, the encrypted file is already open.
-or-
This operation is not supported on the current platform.
The specified path, file name, or both exceed the system-defined maximum length.
The current operating system is not Windows NT or later.
The file system is not NTFS.
The parameter specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
The parameter specified a directory.
-or-
The caller does not have the required permission.
Deletes the specified file.
The name of the file to be deleted. Wildcard characters are not supported.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path is invalid (for example, it is on an unmapped drive).
The specified file is in use.
-or-
There is an open handle on the file, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.
is in an invalid format.
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
-or-
The file is an executable file that is in use.
-or-
is a directory.
-or-
specified a read-only file.
Encrypts a file so that only the account used to encrypt the file can decrypt it.
A path that describes a file to encrypt.
.NET Framework and .NET Core versions older than 2.1: The parameter is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
The parameter is .
An invalid drive was specified.
The file described by the parameter could not be found.
An I/O error occurred while opening the file.
-or-
This operation is not supported on the current platform.
The specified path, file name, or both exceed the system-defined maximum length.
The current operating system is not Windows NT or later.
The file system is not NTFS.
The parameter specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
The parameter specified a directory.
-or-
The caller does not have the required permission.
Determines whether the specified file exists.
The file to check.
if the caller has the required permissions and contains the name of an existing file; otherwise, . This method also returns if is , an invalid path, or a zero-length string. If the caller does not have sufficient permissions to read the specified file, no exception is thrown and the method returns regardless of the existence of .
Gets the specified of the file or directory associated with .
A to the file or directory for which the attributes are to be retrieved.
is .
The caller does not have the required permission.
The of the file or directory.
Gets the of the file on the path.
The path to the file.
.NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
represents a file and is invalid, such as being on an unmapped drive, or the file cannot be found.
represents a directory and is invalid, such as being on an unmapped drive, or the directory cannot be found.
This file is being used by another process.
The caller does not have the required permission.
The of the file on the path.
Returns the creation time of the specified file or directory.
A to the file or directory for which to obtain creation date and time information.
is .
The caller does not have the required permission.
A structure set to the creation date and time for the specified file or directory. This value is expressed in local time.
Returns the creation date and time of the specified file or directory.
The file or directory for which to obtain creation date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
A structure set to the creation date and time for the specified file or directory. This value is expressed in local time.
Returns the creation date and time, in Coordinated Universal Time (UTC), of the specified file or directory.
A to the file or directory for which to obtain creation date and time information.
is .
The caller does not have the required permission.
A structure set to the creation date and time for the specified file or directory. This value is expressed in UTC time.
Returns the creation date and time, in Coordinated Universal Time (UTC), of the specified file or directory.
The file or directory for which to obtain creation date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
A structure set to the creation date and time for the specified file or directory. This value is expressed in UTC time.
Returns the last access date and time of the specified file or directory.
A to the file or directory for which to obtain last access date and time information.
is .
The caller does not have the required permission.
A structure set to the last access date and time for the specified file or directory. This value is expressed in local time.
Returns the date and time the specified file or directory was last accessed.
The file or directory for which to obtain access date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
A structure set to the date and time that the specified file or directory was last accessed. This value is expressed in local time.
Returns the last access date and time, in Coordinated Universal Time (UTC), of the specified file or directory.
A to the file or directory for which to obtain last access date and time information.
is .
The caller does not have the required permission.
A structure set to the last access date and time for the specified file or directory. This value is expressed in UTC time.
Returns the date and time, in Coordinated Universal Time (UTC), that the specified file or directory was last accessed.
The file or directory for which to obtain access date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
A structure set to the date and time that the specified file or directory was last accessed. This value is expressed in UTC time.
Returns the last write date and time of the specified file or directory.
A to the file or directory for which to obtain last write date and time information.
is .
The caller does not have the required permission.
A structure set to the last write date and time for the specified file or directory. This value is expressed in local time.
Returns the date and time the specified file or directory was last written to.
The file or directory for which to obtain write date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
A structure set to the date and time that the specified file or directory was last written to. This value is expressed in local time.
Returns the last write date and time, in Coordinated Universal Time (UTC), of the specified file or directory.
A to the file or directory for which to obtain last write date and time information.
is .
The caller does not have the required permission.
A structure set to the last write date and time for the specified file or directory. This value is expressed in UTC time.
Returns the date and time, in Coordinated Universal Time (UTC), that the specified file or directory was last written to.
The file or directory for which to obtain write date and time information.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
A structure set to the date and time that the specified file or directory was last written to. This value is expressed in UTC time.
Gets the of the specified file handle.
The file handle.
The file is closed.
The of the file handle.
Gets the of the file on the path.
The path to the file.
is a zero-length string, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The caller does not have the required permission.
The specified path exceeds the system-defined maximum length.
A component of the is not a directory.
The file cannot be found.
The of the file on the path.
Moves a specified file to a new location, providing the options to specify a new file name and to replace the destination file if it already exists.
The name of the file to move. Can include a relative or absolute path.
The new path and name for the file.
to replace the destination file if it already exists; otherwise.
already exists and is .
-or-
An I/O error has occurred, e.g. while copying the file across disk volumes.
was not found.
or is .
.NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
The caller does not have the required permission.
-or-
The Operating System has failed to acquire an exclusive access to the destination file.
The specified path, file name, or both exceed the system-defined maximum length.
The path specified in or is invalid, (for example, it is on an unmapped drive).
or is in an invalid format.
Moves a specified file to a new location, providing the option to specify a new file name.
The name of the file to move. Can include a relative or absolute path.
The new path and name for the file.
already exists.
-or-
An I/O error has occurred, e.g. while copying the file across disk volumes.
was not found.
or is .
.NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
The caller does not have the required permission.
The specified path, file name, or both exceed the system-defined maximum length.
The path specified in or is invalid, (for example, it is on an unmapped drive).
or is in an invalid format.
Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option.
The file to open.
A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.
A value that specifies the operations that can be performed on the file.
A value specifying the type of access other threads have to the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
specified and specified , , , or .
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid, (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only and is not .
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
is and the specified file is a hidden file.
, , or specified an invalid value.
The file specified in was not found.
is in an invalid format.
A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option.
Opens a on the specified path, with the specified mode and access with no sharing.
The file to open.
A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.
A value that specifies the operations that can be performed on the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
specified and specified , , , or .
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid, (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only and is not .
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
is and the specified file is a hidden file.
or specified an invalid value.
The file specified in was not found.
is in an invalid format.
An unshared that provides access to the specified file, with the specified mode and access.
Opens a on the specified path with read/write access with no sharing.
The file to open.
A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid, (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
is and the specified file is a hidden file.
specified an invalid value.
The file specified in was not found.
is in an invalid format.
A opened in the specified mode and path, with read/write access and not shared.
Initializes a new instance of the class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, additional file options and the allocation size.
The path of the file to open.
An object that describes optional parameters to use.
A instance that wraps the opened file.
Initializes a new instance of the class with the specified path, creation mode, read/write and sharing permission, the access other SafeFileHandles can have to the same file, additional file options and the allocation size.
A relative or absolute path for the file that the current instance will encapsulate.
One of the enumeration values that determines how to open or create the file. The default value is
A bitwise combination of the enumeration values that determines how the file can be accessed. The default value is
A bitwise combination of the enumeration values that determines how the file will be shared by processes. The default value is .
An object that describes optional parameters to use.
The initial allocation size in bytes for the file. A positive value is effective only when a regular file is being created, overwritten, or replaced.
Negative values are not allowed. In other cases (including the default 0 value), it's ignored.
is .
is an empty string (""), contains only white space, or contains one or more invalid characters.
-or- refers to a non-file device, such as CON:, COM1:, LPT1:, etc. in an NTFS environment.
refers to a non-file device, such as CON:, COM1:, LPT1:, etc. in a non-NTFS environment.
is negative.
-or- , , or contain an invalid value.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or- The disk was full (when was provided and was pointing to a regular file).
-or- The file was too large (when was provided and was pointing to a regular file).
The caller does not have the required permission.
The specified path is invalid, such as being on an unmapped drive.
The requested is not permitted by the operating system for the specified , such as when is or and the file or directory is set for read-only access.
-or- is specified for , but file encryption is not supported on the current platform.
The specified path, file name, or both exceed the system-defined maximum length.
A instance.
Opens an existing file for reading.
The file to be opened for reading.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid, (for example, it is on an unmapped drive).
specified a directory.
-or-
The caller does not have the required permission.
The file specified in was not found.
is in an invalid format.
An I/O error occurred while opening the file.
A read-only on the specified path.
Opens an existing UTF-8 encoded text file for reading.
The file to be opened for reading.
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid, (for example, it is on an unmapped drive).
The file specified in was not found.
is in an invalid format.
A on the specified path.
Opens an existing file or creates a new file for writing.
The file to be opened for writing.
The caller does not have the required permission.
-or-
specified a read-only file or directory.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid, (for example, it is on an unmapped drive).
is in an invalid format.
An unshared object on the specified path with access.
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
The file to open for reading.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
The file specified in was not found.
is in an invalid format.
The caller does not have the required permission.
A byte array containing the contents of the file.
Asynchronously opens a binary file, reads the contents of the file into a byte array, and then closes the file.
The file to open for reading.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation, which wraps the byte array containing the contents of the file.
Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
The file to open for reading.
The encoding applied to the contents of the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
The file specified in was not found.
is in an invalid format.
The caller does not have the required permission.
A string array containing all lines of the file.
Opens a text file, reads all lines of the file, and then closes the file.
The file to open for reading.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
The file specified in was not found.
is in an invalid format.
The caller does not have the required permission.
A string array containing all lines of the file.
Asynchronously opens a text file, reads all lines of the file with the specified encoding, and then closes the file.
The file to open for reading.
The encoding applied to the contents of the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation, which wraps the string array containing all lines of the file.
Asynchronously opens a text file, reads all lines of the file, and then closes the file.
The file to open for reading.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation, which wraps the string array containing all lines of the file.
Opens a file, reads all text in the file with the specified encoding, and then closes the file.
The file to open for reading.
The encoding applied to the contents of the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
The file specified in was not found.
is in an invalid format.
The caller does not have the required permission.
A string containing all text in the file.
Opens a text file, reads all the text in the file, and then closes the file.
The file to open for reading.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
The file specified in was not found.
is in an invalid format.
The caller does not have the required permission.
A string containing all the text in the file.
Asynchronously opens a text file, reads all text in the file with the specified encoding, and then closes the file.
The file to open for reading.
The encoding applied to the contents of the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation, which wraps the string containing all text in the file.
Asynchronously opens a text file, reads all the text in the file, and then closes the file.
The file to open for reading.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation, which wraps the string containing all text in the file.
Read the lines of a file that has a specified encoding.
The file to read.
The encoding that is applied to the contents of the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters as defined by the method.
is .
is invalid (for example, it is on an unmapped drive).
The file specified by was not found.
An I/O error occurred while opening the file.
exceeds the system-defined maximum length.
The caller does not have the required permission.
specifies a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
is a directory.
-or-
The caller does not have the required permission.
All the lines of the file, or the lines that are the result of a query.
Reads the lines of a file.
The file to read.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
is .
is invalid (for example, it is on an unmapped drive).
The file specified by was not found.
An I/O error occurred while opening the file.
exceeds the system-defined maximum length.
The caller does not have the required permission.
specifies a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
is a directory.
-or-
The caller does not have the required permission.
All the lines of the file, or the lines that are the result of a query.
Asynchronously reads the lines of a file that has a specified encoding.
The file to read.
The encoding that is applied to the contents of the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
The async enumerable that represents all the lines of the file, or the lines that are the result of a query.
Asynchronously reads the lines of a file.
The file to read.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
The async enumerable that represents all the lines of the file, or the lines that are the result of a query.
Replaces the contents of a specified file with the contents of another file, deleting the original file and creating a backup of the replaced file, and optionally ignores merge errors.
The name of a file that replaces the file specified by .
The name of the file being replaced.
The name of the backup file.
to ignore merge errors (such as attributes and access control lists (ACLs)) from the replaced file to the replacement file; otherwise, .
The path described by the or parameter is not of a legal form.
The parameter is .
An invalid drive was specified.
The file described by or parameter could not be found.
An I/O error occurred while opening the file.
-or-
and specify the same file.
The specified path, file name, or both exceed the system-defined maximum length.
The or parameter specifies a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
Source or destination parameters specify a directory instead of a file.
-or-
The caller does not have the required permission.
-or
and specify the same existing directory.
Replaces the contents of a specified file with the contents of another file, deleting the original file and creating a backup of the replaced file.
The name of a file that replaces the file specified by .
The name of the file being replaced.
The name of the backup file.
The path described by the or parameter is not of a legal form.
The parameter is .
An invalid drive was specified.
The file described by or parameter could not be found.
An I/O error occurred while opening the file.
-or-
The and parameters specify the same file.
The specified path, file name, or both exceed the system-defined maximum length.
The or parameter specifies a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
Source or destination parameters specify a directory instead of a file.
-or-
The caller does not have the required permission.
-or
and specify the same existing directory.
Gets the target of the specified file link.
The path of the file link.
to follow links to the final target; to return the immediate next link.
The file on does not exist.
-or-
There are too many levels of symbolic links.
A instance if exists, independently of whether the target exists or not. if is not a link.
Sets the specified of the file or directory associated with .
A to the file or directory for which should be set.
A bitwise combination of the enumeration values.
is .
The caller does not have the required permission.
Sets the specified of the file on the specified path.
The path to the file.
A bitwise combination of the enumeration values.
.NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, contains invalid characters, or the file attribute is invalid.
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
The specified path is invalid, (for example, it is on an unmapped drive).
The file cannot be found.
specified a file that is read-only.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
Sets the date and time the file or directory was created.
A to the file or directory for which to set the creation date and time information.
A containing the value to set for the creation date and time of .
This value is expressed in local time.
is .
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
An I/O error occurred while performing the operation.
Sets the date and time the file was created.
The file for which to set the creation date and time information.
A containing the value to set for the creation date and time of . This value is expressed in local time.
The specified path was not found.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
An I/O error occurred while performing the operation.
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
is in an invalid format.
Sets the date and time, in Coordinated Universal Time (UTC), that the file or directory was created.
A to the file or directory for which to set the creation date and time information.
The value to set for the creation date and time of . This value is expressed in UTC time.
is .
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
An I/O error occurred while performing the operation.
Sets the date and time, in Coordinated Universal Time (UTC), that the file was created.
The file for which to set the creation date and time information.
The value to set for the creation date and time of . This value is expressed in UTC time.
The specified path was not found.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
An I/O error occurred while performing the operation.
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
is in an invalid format.
Sets the date and time the specified file or directory was last accessed.
A to the file or directory for which to set the last access date and time information.
A containing the value to set for the last access date and time of .
This value is expressed in local time.
is .
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
An I/O error occurred while performing the operation.
Sets the date and time the specified file was last accessed.
The file for which to set the access date and time information.
A containing the value to set for the last access date and time of . This value is expressed in local time.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path was not found.
The caller does not have the required permission.
is in an invalid format.
specifies a value outside the range of dates or times permitted for this operation.
Sets the date and time, in Coordinated Universal Time (UTC), that the specified file or directory was last accessed.
A to the file or directory for which to set the last access date and time information.
A containing the value to set for the last access date and time of .
This value is expressed in UTC time.
is .
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
An I/O error occurred while performing the operation.
Sets the date and time, in Coordinated Universal Time (UTC), that the specified file was last accessed.
The file for which to set the access date and time information.
A containing the value to set for the last access date and time of . This value is expressed in UTC time.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path was not found.
The caller does not have the required permission.
is in an invalid format.
specifies a value outside the range of dates or times permitted for this operation.
Sets the date and time that the specified file or directory was last written to.
A to the file or directory for which to set the last write date and time information.
A containing the value to set for the last write date and time of .
This value is expressed in local time.
is .
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
An I/O error occurred while performing the operation.
Sets the date and time that the specified file was last written to.
The file for which to set the date and time information.
A containing the value to set for the last write date and time of . This value is expressed in local time.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path was not found.
The caller does not have the required permission.
is in an invalid format.
specifies a value outside the range of dates or times permitted for this operation.
Sets the date and time, in Coordinated Universal Time (UTC), that the specified file or directory was last written to.
A to the file or directory for which to set the last write date and time information.
A containing the value to set for the last write date and time of .
This value is expressed in UTC time.
is .
specifies a value outside the range of dates, times, or both permitted for this operation.
The caller does not have the required permission.
An I/O error occurred while performing the operation.
Sets the date and time, in Coordinated Universal Time (UTC), that the specified file was last written to.
The file for which to set the date and time information.
A containing the value to set for the last write date and time of . This value is expressed in UTC time.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path was not found.
The caller does not have the required permission.
is in an invalid format.
specifies a value outside the range of dates or times permitted for this operation.
Sets the specified of the specified file handle.
The file handle.
The Unix file mode.
The file mode is invalid.
The caller does not have the required permission.
The file is closed.
Sets the specified of the file on the specified path.
The path to the file.
The Unix file mode.
is a zero-length string, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The file mode is invalid.
The caller does not have the required permission.
The specified path exceeds the system-defined maximum length.
A component of the is not a directory.
The file cannot be found.
Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The bytes to write to the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is or the byte array is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
is in an invalid format.
The caller does not have the required permission.
Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The bytes to write to the file.
is .
is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
This operation is not supported on the current platform.
is in an invalid format.
Asynchronously creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The bytes to write to the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The bytes to write to the file.
The token to monitor for cancellation requests. The default value is .
is .
is empty.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file.
The file to write to.
The lines to write to the file.
The character encoding to use.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
Either , , or is .
is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
exceeds the system-defined maximum length.
is in an invalid format.
The caller does not have the required permission.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
This operation is not supported on the current platform.
-or-
is a directory.
-or-
The caller does not have the required permission.
Creates a new file, writes a collection of strings to the file, and then closes the file.
The file to write to.
The lines to write to the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
Either or is .
is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
exceeds the system-defined maximum length.
is in an invalid format.
The caller does not have the required permission.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
This operation is not supported on the current platform.
-or-
is a directory.
-or-
The caller does not have the required permission.
Creates a new file, writes the specified string array to the file by using the specified encoding, and then closes the file.
The file to write to.
The string array to write to the file.
An object that represents the character encoding applied to the string array.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
Either or is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
is in an invalid format.
The caller does not have the required permission.
Creates a new file, write the specified string array to the file, and then closes the file.
The file to write to.
The string array to write to the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
Either or is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
is in an invalid format.
The caller does not have the required permission.
Asynchronously creates a new file, write the specified lines to the file by using the specified encoding, and then closes the file.
The file to write to.
The lines to write to the file.
The character encoding to use.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously creates a new file, writes the specified lines to the file, and then closes the file.
The file to write to.
The lines to write to the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file.
If the target file already exists, it is truncated and overwritten.
The file to write to.
The characters to write to the file.
The encoding to apply to the string.
or is .
is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
specified a directory.
-or-
The caller does not have the required permission.
-or-
This operation is not supported on the current platform.
is in an invalid format.
Creates a new file, writes the specified string to the file, and then closes the file.
If the target file already exists, it is truncated and overwritten.
The file to write to.
The characters to write to the file.
is .
is empty.
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
specified a directory.
-or-
This operation is not supported on the current platform.
The caller does not have the required permission.
is in an invalid format.
Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The string to write to the file.
The encoding to apply to the string.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
is in an invalid format.
The caller does not have the required permission.
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The string to write to the file.
.NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
An I/O error occurred while opening the file.
specified a file that is read-only.
-or-
specified a file that is hidden.
-or-
This operation is not supported on the current platform.
-or-
specified a directory.
-or-
The caller does not have the required permission.
is in an invalid format.
The caller does not have the required permission.
Asynchronously creates a new file, writes the specified string to the file using the specified encoding, and then closes the file.
If the target file already exists, it is truncated and overwritten.
The file to write to.
The characters to write to the file.
The encoding to apply to the string.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously creates a new file, writes the specified string to the file, and then closes the file.
If the target file already exists, it is truncated and overwritten.
The file to write to.
The characters to write to the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The string to write to the file.
The encoding to apply to the string.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is truncated and overwritten.
The file to write to.
The string to write to the file.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Defines constants for read, write, or read/write access to a file.
Read access to the file. Data can be read from the file. Combine with for read/write access.
Read and write access to the file. Data can be written to and read from the file.
Write access to the file. Data can be written to the file. Combine with for read/write access.
Provides attributes for files and directories.
This file is marked to be included in incremental backup operation. Windows sets this attribute whenever the file is modified, and backup software should clear it when processing the file during incremental backup.
The file is compressed.
Reserved for future use.
The file is a directory. is supported on Windows, Linux, and macOS.
The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories.
The file is hidden, and thus is not included in an ordinary directory listing. is supported on Windows, Linux, and macOS.
The file or directory includes data integrity support. When this value is applied to a file, all data streams in the file have integrity support. When this value is applied to a directory, all new files and subdirectories within that directory, by default, include integrity support.
The file is a standard file that has no special attributes. This attribute is valid only if it is used alone. is supported on Windows, Linux, and macOS.
The file or directory is excluded from the data integrity scan. When this value is applied to a directory, by default, all new files and subdirectories within that directory are excluded from data integrity.
The file will not be indexed by the operating system's content indexing service.
The file is offline. The data of the file is not immediately available.
The file is read-only. is supported on Windows, Linux, and macOS. On Linux and macOS, changing the flag is a permissions operation.
The file contains a reparse point, which is a block of user-defined data associated with a file or a directory. is supported on Windows, Linux, and macOS.
The file is a sparse file. Sparse files are typically large files whose data consists of mostly zeros.
The file is a system file. That is, the file is part of the operating system or is used exclusively by the operating system.
The file is temporary. A temporary file contains data that is needed while an application is executing but is not needed after the application is finished. File systems try to keep all the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed.
Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of objects. This class cannot be inherited.
Initializes a new instance of the class, which acts as a wrapper for a file path.
The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character.
is .
The caller does not have the required permission.
.NET Framework and .NET Core versions older than 2.1: The file name is empty, contains only white spaces, or contains invalid characters.
Access to is denied.
The specified path, file name, or both exceed the system-defined maximum length.
contains a colon (:) in the middle of the string.
Creates a that appends text to the file represented by this instance of the .
A new .
Copies an existing file to a new file, allowing the overwriting of an existing file.
The name of the new file to copy to.
to allow an existing file to be overwritten; otherwise, .
.NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
An error occurs, or the destination file already exists and is .
The caller does not have the required permission.
is .
The directory specified in does not exist.
A directory path is passed in, or the file is being moved to a different drive.
The specified path, file name, or both exceed the system-defined maximum length.
contains a colon (:) in the middle of the string.
A new file, or an overwrite of an existing file if is . If the file exists and is , an is thrown.
Copies an existing file to a new file, disallowing the overwriting of an existing file.
The name of the new file to copy to.
.NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
An error occurs, or the destination file already exists.
The caller does not have the required permission.
is .
A directory path is passed in, or the file is being moved to a different drive.
The directory specified in does not exist.
The specified path, file name, or both exceed the system-defined maximum length.
contains a colon (:) within the string but does not specify the volume.
A new file with a fully qualified path.
Creates a file.
A new file.
Creates a that writes a new text file.
The file name is a directory.
The disk is read-only.
The caller does not have the required permission.
A new .
Decrypts a file that was encrypted by the current account using the method.
An invalid drive was specified.
The file described by the current object could not be found.
An I/O error occurred while opening the file.
The file system is not NTFS.
The current operating system is not Microsoft Windows NT or later.
The file described by the current object is read-only.
-or-
This operation is not supported on the current platform.
-or-
The caller does not have the required permission.
Permanently deletes a file.
The target file is open or memory-mapped on a computer running Microsoft Windows NT.
-or-
There is an open handle on the file, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.
The caller does not have the required permission.
The path is a directory.
Encrypts a file so that only the account used to encrypt the file can decrypt it.
An invalid drive was specified.
The file described by the current object could not be found.
An I/O error occurred while opening the file.
The file system is not NTFS.
The current operating system is not Microsoft Windows NT or later.
The file described by the current object is read-only.
-or-
This operation is not supported on the current platform.
-or-
The caller does not have the required permission.
Moves a specified file to a new location, providing the options to specify a new file name and to overwrite the destination file if it already exists.
The path to move the file to, which can specify a different file name.
to overwrite the destination file if it already exists; otherwise.
An I/O error occurred, such as the destination device is not ready.
is .
.NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
The caller does not have the required permission.
is read-only or is a directory.
The file is not found.
The specified path is invalid, such as being on an unmapped drive.
The specified path, file name, or both exceed the system-defined maximum length.
contains a colon (:) in the middle of the string.
Moves a specified file to a new location, providing the option to specify a new file name.
The path to move the file to, which can specify a different file name.
An I/O error occurs, such as the destination file already exists or the destination device is not ready.
is .
.NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
The caller does not have the required permission.
is read-only or is a directory.
The file is not found.
The specified path is invalid, such as being on an unmapped drive.
The specified path, file name, or both exceed the system-defined maximum length.
contains a colon (:) in the middle of the string.
Opens a file in the specified mode with read, write, or read/write access and the specified sharing option.
A constant specifying the mode (for example, or ) in which to open the file.
A constant specifying whether to open the file with , , or file access.
A constant specifying the type of access other objects have to this file.
The caller does not have the required permission.
The file is not found.
is read-only or is a directory.
The specified path is invalid, such as being on an unmapped drive.
The file is already open.
is empty or contains only white spaces.
One or more arguments is null.
A object opened with the specified mode, access, and sharing options.
Opens a file in the specified mode with read, write, or read/write access.
A constant specifying the mode (for example, or ) in which to open the file.
A constant specifying whether to open the file with , , or file access.
The caller does not have the required permission.
The file is not found.
is read-only or is a directory.
The specified path is invalid, such as being on an unmapped drive.
The file is already open.
is empty or contains only white spaces.
One or more arguments is null.
A object opened in the specified mode and access, and unshared.
Opens a file in the specified mode.
A constant specifying the mode (for example, or ) in which to open the file.
The file is not found.
The file is read-only or is a directory.
The specified path is invalid, such as being on an unmapped drive.
The file is already open.
A file opened in the specified mode, with read/write access and unshared.
Initializes a new instance of the class with the specified creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, additional file options and the allocation size.
An object that describes optional parameters to use.
A that wraps the opened file.
Creates a read-only .
is read-only or is a directory.
The specified path is invalid, such as being on an unmapped drive.
The file is already open.
A new read-only object.
Creates a with UTF8 encoding that reads from an existing text file.
The caller does not have the required permission.
The file is not found.
is read-only or is a directory.
The specified path is invalid, such as being on an unmapped drive.
A new with UTF8 encoding.
Creates a write-only .
The path specified when creating an instance of the object is read-only or is a directory.
The path specified when creating an instance of the object is invalid, such as being on an unmapped drive.
A write-only unshared object for a new or existing file.
Replaces the contents of a specified file with the file described by the current object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors.
The name of a file to replace with the current file.
The name of a file with which to create a backup of the file described by the parameter.
to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise .
The path described by the parameter was not of a legal form.
-or-
The path described by the parameter was not of a legal form.
The parameter is .
The file described by the current object could not be found.
-or-
The file described by the parameter could not be found.
The current operating system is not Microsoft Windows NT or later.
A object that encapsulates information about the file described by the parameter.
Replaces the contents of a specified file with the file described by the current object, deleting the original file and creating a backup of the replaced file.
The name of a file to replace with the current file.
The name of a file with which to create a backup of the file described by the parameter.
The path described by the parameter was not of a legal form.
-or-
The path described by the parameter was not of a legal form.
The parameter is .
The file described by the current object could not be found.
-or-
The file described by the parameter could not be found.
The current operating system is not Microsoft Windows NT or later.
A object that encapsulates information about the file described by the parameter.
Gets an instance of the parent directory.
The specified path is invalid, such as being on an unmapped drive.
The caller does not have the required permission.
A object representing the parent directory of this file.
Gets a string representing the directory's full path.
was passed in for the directory name.
The fully qualified path name exceeds the system-defined maximum length.
The caller does not have the required permission.
A string representing the directory's full path.
Gets a value indicating whether a file exists.
if the file exists; if the file does not exist or if the file is a directory.
Gets or sets a value that determines if the current file is read only.
The file described by the current object could not be found when trying to set the IsReadOnly property. (Note that getting this property for a nonexistent file will not throw an exception, but rather returns .)
An I/O error occurred while opening the file.
This operation is not supported on the current platform.
-or-
The caller does not have the required permission.
The user does not have write permission, but attempted to set this property to .
if the current file is read only or could not be found; otherwise, .
Gets the size, in bytes, of the current file.
cannot update the state of the file or directory.
The file does not exist.
-or-
The property is called for a directory.
The size of the current file in bytes.
Gets the name of the file.
The name of the file.
The exception that is thrown when a managed assembly is found but cannot be loaded.
Initializes a new instance of the class, setting the property of the new instance to a system-supplied message that describes the error, such as "Could not load the specified file." This message takes into account the current system culture.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the name of the file that could not be loaded, and a reference to the inner exception that is the cause of this exception.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
A containing the name of the file that was not loaded.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and the name of the file that could not be loaded.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
A containing the name of the file that was not loaded.
Initializes a new instance of the class with the specified error message.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Sets the with the file name and additional exception information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The caller does not have the required permission.
Returns the fully qualified name of the current exception, and possibly the error message, the name of the inner exception, and the stack trace.
A string containing the fully qualified name of this exception, and possibly the error message, the name of the inner exception, and the stack trace, depending on which constructor is used.
Gets the name of the file that causes this exception.
A containing the name of the file with the invalid image, or a null reference if no file name was passed to the constructor for the current instance.
Gets the log file that describes why an assembly load failed.
The caller does not have the required permission.
A string containing errors reported by the assembly cache.
Gets the error message and the name of the file that caused this exception.
A string containing the error message and the name of the file that caused this exception.
Specifies how the operating system should open a file.
Opens the file if it exists and seeks to the end of the file, or creates a new file. This requires permission. can be used only in conjunction with . Trying to seek to a position before the end of the file throws an exception, and any attempt to read fails and throws a exception.
Specifies that the operating system should create a new file. If the file already exists, it will be overwritten. This requires permission. is equivalent to requesting that if the file does not exist, use ; otherwise, use . If the file already exists but is a hidden file, an exception is thrown.
Specifies that the operating system should create a new file. This requires permission. If the file already exists, an exception is thrown.
Specifies that the operating system should open an existing file. The ability to open the file is dependent on the value specified by the enumeration. A exception is thrown if the file does not exist.
Specifies that the operating system should open a file if it exists; otherwise, a new file should be created. If the file is opened with , permission is required. If the file access is , permission is required. If the file is opened with , both and permissions are required.
Specifies that the operating system should open an existing file. When the file is opened, it should be truncated so that its size is zero bytes. This requires permission. Attempts to read from a file opened with cause an exception.
The exception that is thrown when an attempt to access a file that does not exist on disk fails.
Initializes a new instance of the class with its message string set to a system-supplied message.
Initializes a new instance of the class with the specified serialization and context information.
An object that holds the serialized object data about the exception being thrown.
An object that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
A description of the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the file name that cannot be found, and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The full name of the file with the invalid image.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, and the file name that cannot be found.
A description of the error, or to use a system-supplied message with the given . The content of should be understood by humans. The caller of this constructor must ensure that this string has been localized for the current system culture.
The full name of the file with the invalid image.
Initializes a new instance of the class with a specified error message.
A description of the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Sets the object with the file name and additional exception information.
The object that holds the serialized object data about the exception being thrown.
The object that contains contextual information about the source or destination.
Returns the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.
The fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.
Gets the name of the file that cannot be found.
The name of the file, or if no file name was passed to the constructor for this instance.
Gets the log file that describes why loading of an assembly failed.
The caller does not have the required permission.
The errors reported by the assembly cache.
Gets the error message that explains the reason for the exception.
The error message.
Represents advanced options for creating a object.
Indicates that a file can be used for asynchronous reading and writing.
Indicates that a file is automatically deleted when it is no longer in use.
Indicates that a file is encrypted and can be decrypted only by using the same user account used for encryption.
Indicates that no additional options should be used when creating a object.
Indicates that the file is accessed randomly. The system can use this as a hint to optimize file caching.
Indicates that the file is to be accessed sequentially from beginning to end. The system can use this as a hint to optimize file caching. If an application moves the file pointer for random access, optimum caching may not occur; however, correct operation is still guaranteed. Specifying this flag can increase performance in some cases.
Indicates that the system should write through any intermediate cache and go directly to disk.
Contains constants for controlling the kind of access other operations can have to the same file.
Allows subsequent deleting of a file.
Makes the file handle inheritable by child processes. This is not directly supported by Win32.
Declines sharing of the current file. Any request to open the file (by this process or another process) will fail until the file is closed.
Allows subsequent opening of the file for reading. If this flag is not specified, any request to open the file for reading (by this process or another process) will fail until the file is closed. However, even if this flag is specified, additional permissions might still be needed to access the file.
Allows subsequent opening of the file for reading or writing. If this flag is not specified, any request to open the file for reading or writing (by this process or another process) will fail until the file is closed. However, even if this flag is specified, additional permissions might still be needed to access the file.
Allows subsequent opening of the file for writing. If this flag is not specified, any request to open the file for writing (by this process or another process) will fail until the file is closed. However, even if this flag is specified, additional permissions might still be needed to access the file.
Provides a for a file, supporting both synchronous and asynchronous read and write operations.
Initializes a new instance of the class for the specified file handle, with the specified read/write permission, buffer size, and synchronous or asynchronous state.
A file handle for the file that this object will encapsulate.
A bitwise combination of the enumeration values that sets the and properties of the object.
A positive value greater than 0 indicating the buffer size. The default buffer size is 4096.
if the handle was opened asynchronously (that is, in overlapped I/O mode); otherwise, .
The parameter is an invalid handle.
-or-
The parameter is a synchronous handle and it was used asynchronously.
The parameter is negative.
An I/O error, such as a disk error, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The requested is not permitted by the operating system for the specified file handle, such as when is or and the file handle is set for read-only access.
Initializes a new instance of the class for the specified file handle, with the specified read/write permission, and buffer size.
A file handle for the file that the current object will encapsulate.
A constant that sets the and properties of the object.
A positive value greater than 0 indicating the buffer size. The default buffer size is 4096.
The parameter is an invalid handle.
-or-
The parameter is a synchronous handle and it was used asynchronously.
The parameter is negative.
An I/O error, such as a disk error, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The requested is not permitted by the operating system for the specified file handle, such as when is or and the file handle is set for read-only access.
Initializes a new instance of the class for the specified file handle, with the specified read/write permission.
A file handle for the file that the current object will encapsulate.
A bitwise combination of the enumeration values that sets the and properties of the object.
is not a field of .
The caller does not have the required permission.
An I/O error, such as a disk error, occurred.
-or-
The stream has been closed.
The requested is not permitted by the operating system for the specified file handle, such as when is or and the file handle is set for read-only access.
Initializes a new instance of the class for the specified file handle, with the specified read/write permission, instance ownership, buffer size, and synchronous or asynchronous state.
A file handle for the file that this object will encapsulate.
A bitwise combination of the enumeration values that sets the and properties of the object.
if the file handle will be owned by this instance; otherwise, .
A positive value greater than 0 indicating the buffer size. The default buffer size is 4096.
if the handle was opened asynchronously (that is, in overlapped I/O mode); otherwise, .
is less than or greater than or is less than or equal to 0.
The handle is invalid.
An I/O error, such as a disk error, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The requested is not permitted by the operating system for the specified file handle, such as when is or and the file handle is set for read-only access.
Initializes a new instance of the class for the specified file handle, with the specified read/write permission, instance ownership, and buffer size.
A file handle for the file that this object will encapsulate.
A bitwise combination of the enumeration values that sets the and properties of the object.
if the file handle will be owned by this instance; otherwise, .
A positive value greater than 0 indicating the buffer size. The default buffer size is 4096.
is negative.
An I/O error, such as a disk error, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The requested is not permitted by the operating system for the specified file handle, such as when is or and the file handle is set for read-only access.
Initializes a new instance of the class for the specified file handle, with the specified read/write permission and instance ownership.
A file handle for the file that the current object will encapsulate.
A bitwise combination of the enumeration values that sets the and properties of the object.
if the file handle will be owned by this instance; otherwise, .
is not a field of .
The caller does not have the required permission.
An I/O error, such as a disk error, occurred.
-or-
The stream has been closed.
The requested is not permitted by the operating system for the specified file handle, such as when is or and the file handle is set for read-only access.
Initializes a new instance of the class for the specified file handle, with the specified read/write permission.
A file handle for the file that the current object will encapsulate.
A bitwise combination of the enumeration values that sets the and properties of the object.
is not a field of .
The caller does not have the required permission.
An I/O error, such as a disk error, occurred.
-or-
The stream has been closed.
The requested is not permitted by the operating system for the specified file handle, such as when is or and the file handle is set for read-only access.
Initializes a new instance of the class with the specified path, creation mode, read/write and sharing permission, buffer size, and synchronous or asynchronous state.
A relative or absolute path for the file that the current object will encapsulate.
One of the enumeration values that determines how to open or create the file.
A bitwise combination of the enumeration values that determines how the file can be accessed by the object. This also determines the values returned by the and properties of the object. is if specifies a disk file.
A bitwise combination of the enumeration values that determines how the file will be shared by processes.
A positive value greater than 0 indicating the buffer size. The default buffer size is 4096.
Specifies whether to use asynchronous I/O or synchronous I/O. However, note that the underlying operating system might not support asynchronous I/O, so when specifying , the handle might be opened synchronously depending on the platform. When opened asynchronously, the and methods perform better on large reads or writes, but they might be much slower for small reads or writes. If the application is designed to take advantage of asynchronous I/O, set the parameter to . Using asynchronous I/O correctly can speed up applications by as much as a factor of 10, but using it without redesigning the application for asynchronous I/O can decrease performance by as much as a factor of 10.
is .
.NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.
is negative or zero.
-or-
, , or contain an invalid value.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The specified path is invalid, such as being on an unmapped drive.
The requested is not permitted by the operating system for the specified , such as when is or and the file or directory is set for read-only access.
The specified path, file name, or both exceed the system-defined maximum length.
Initializes a new instance of the class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options.
A relative or absolute path for the file that the current object will encapsulate.
One of the enumeration values that determines how to open or create the file.
A bitwise combination of the enumeration values that determines how the file can be accessed by the object. This also determines the values returned by the and properties of the object. is if specifies a disk file.
A bitwise combination of the enumeration values that determines how the file will be shared by processes.
A positive value greater than 0 indicating the buffer size. The default buffer size is 4096.
A bitwise combination of the enumeration values that specifies additional file options.
is .
.NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.
is negative or zero.
-or-
, , or contain an invalid value.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The specified path is invalid, such as being on an unmapped drive.
The requested is not permitted by the operating system for the specified , such as when is or and the file or directory is set for read-only access.
-or-
is specified for , but file encryption is not supported on the current platform.
The specified path, file name, or both exceed the system-defined maximum length.
Initializes a new instance of the class with the specified path, creation mode, read/write and sharing permission, and buffer size.
A relative or absolute path for the file that the current object will encapsulate.
One of the enumeration values that determines how to open or create the file.
A bitwise combination of the enumeration values that determines how the file can be accessed by the object. This also determines the values returned by the and properties of the object. is if specifies a disk file.
A bitwise combination of the enumeration values that determines how the file will be shared by processes.
A positive value greater than 0 indicating the buffer size. The default buffer size is 4096.
is .
.NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.
is negative or zero.
-or-
, , or contain an invalid value.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The specified path is invalid, such as being on an unmapped drive.
The requested is not permitted by the operating system for the specified , such as when is or and the file or directory is set for read-only access.
The specified path, file name, or both exceed the system-defined maximum length.
Initializes a new instance of the class with the specified path, creation mode, read/write permission, and sharing permission.
A relative or absolute path for the file that the current object will encapsulate.
One of the enumeration values that determines how to open or create the file.
A bitwise combination of the enumeration values that determines how the file can be accessed by the object. This also determines the values returned by the and properties of the object. is if specifies a disk file.
A bitwise combination of the enumeration values that determines how the file will be shared by processes.
is .
.NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The specified path is invalid, such as being on an unmapped drive.
The requested is not permitted by the operating system for the specified , such as when is or and the file or directory is set for read-only access.
The specified path, file name, or both exceed the system-defined maximum length.
contains an invalid value.
Initializes a new instance of the class with the specified path, creation mode, and read/write permission.
A relative or absolute path for the file that the current object will encapsulate.
One of the enumeration values that determines how to open or create the file.
A bitwise combination of the enumeration values that determines how the file can be accessed by the object. This also determines the values returned by the and properties of the object. is if specifies a disk file.
is .
.NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or-
The stream has been closed.
The caller does not have the required permission.
The specified path is invalid, such as being on an unmapped drive.
The requested is not permitted by the operating system for the specified , such as when is or and the file or directory is set for read-only access.
The specified path, file name, or both exceed the system-defined maximum length.
contains an invalid value.
Initializes a new instance of the class with the specified path and creation mode.
A relative or absolute path for the file that the current object will encapsulate.
One of the enumeration values that determines how to open or create the file.
.NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.
refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.
is .
The caller does not have the required permission.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
specifies a file that is read-only.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or-
The stream has been closed.
The specified path is invalid, such as being on an unmapped drive.
The specified path, file name, or both exceed the system-defined maximum length.
contains an invalid value.
Initializes a new instance of the class with the specified path, creation mode, read/write and sharing permission, buffer size, additional file options, preallocation size, and the access other FileStreams can have to the same file.
A relative or absolute path for the file that the current instance will encapsulate.
An object that describes optional parameters to use.
or is .
is an empty string, contains only white space, or contains one or more invalid characters.
-or-
refers to a non-file device, such as CON:, COM1:, or LPT1:, in an NTFS environment.
refers to a non-file device, such as CON:, COM1:, LPT1:, etc. in a non-NTFS environment.
The file cannot be found, such as when is or , and the file specified by does not exist. The file must already exist in these modes.
An I/O error, such as specifying when the file specified by already exists, occurred.
-or-
The stream has been closed.
-or-
The disk was full (when was provided and was pointing to a regular file).
-or-
The file was too large (when was provided and was pointing to a regular file).
The caller does not have the required permission.
The specified path is invalid, such as being on an unmapped drive.
The requested is not permitted by the operating system for the specified , such as when is or and the file or directory is set for read-only access.
-or-
is specified for , but file encryption is not supported on the current platform.
The specified path, file name, or both exceed the system-defined maximum length.
Begins an asynchronous read operation. Consider using instead.
The buffer to read data into.
The byte offset in at which to begin reading.
The maximum number of bytes to read.
The method to be called when the asynchronous read operation is completed.
A user-provided object that distinguishes this particular asynchronous read request from other requests.
The array length minus is less than .
is .
or is negative.
An asynchronous read was attempted past the end of the file.
An object that references the asynchronous read.
Begins an asynchronous write operation. Consider using instead.
The buffer containing data to write to the current stream.
The zero-based byte offset in at which to begin copying bytes to the current stream.
The maximum number of bytes to write.
The method to be called when the asynchronous write operation is completed.
A user-provided object that distinguishes this particular asynchronous write request from other requests.
length minus is less than .
is .
or is negative.
The stream does not support writing.
The stream is closed.
An I/O error occurred.
An object that references the asynchronous write.
Reads the bytes from the current stream and writes them to another stream, using a specified buffer size. Both streams positions are advanced by the number of bytes copied.
The stream to which the contents of the current stream will be copied.
The size of the buffer. This value must be greater than zero.
Asynchronously reads the bytes from the current file stream and writes them to another stream, using a specified buffer size and cancellation token.
The stream to which the contents of the current file stream will be copied.
The size, in bytes, of the buffer. This value must be greater than zero.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous copy operation.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Asynchronously releases the unmanaged resources used by the .
A task that represents the asynchronous dispose operation.
Waits for the pending asynchronous read operation to complete. (Consider using instead.)
The reference to the pending asynchronous request to wait for.
is .
This object was not created by calling on this class.
is called multiple times.
The stream is closed or an internal error has occurred.
The number of bytes read from the stream, between 0 and the number of bytes you requested. Streams only return 0 at the end of the stream, otherwise, they should block until at least 1 byte is available.
Ends an asynchronous write operation and blocks until the I/O operation is complete. (Consider using instead.)
The pending asynchronous I/O request.
is .
This object was not created by calling on this class.
is called multiple times.
The stream is closed or an internal error has occurred.
Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the .
Clears buffers for this stream and causes any buffered data to be written to the file.
An I/O error occurred.
The stream is closed.
Clears buffers for this stream and causes any buffered data to be written to the file, and also clears all intermediate file buffers.
to flush all intermediate file buffers; otherwise, .
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the file, and monitors cancellation requests.
The token to monitor for cancellation requests.
The stream has been disposed.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous flush operation.
Prevents other processes from reading from or writing to the .
The beginning of the range to lock. The value of this parameter must be equal to or greater than zero (0).
The range to be locked.
or is negative.
The file is closed.
The process cannot access the file because another process has locked a portion of the file.
Reads a block of bytes from the stream and writes the data in a given buffer.
The byte offset in at which the read bytes will be placed.
The maximum number of bytes to read.
is .
or is negative.
The stream does not support reading.
An I/O error occurred.
and describe an invalid range in .
Methods were called after the stream was closed.
The total number of bytes read into the buffer. This might be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached.
Reads a sequence of bytes from the current file stream and advances the position within the file stream by the number of bytes read.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current file stream.
The total number of bytes read into the buffer. This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current file stream and writes them to a byte array beginning at a specified offset, advances the position within the file stream by the number of bytes read, and monitors cancellation requests.
The buffer to write the data into.
The byte offset in at which to begin writing data from the stream.
The maximum number of bytes to read.
The token to monitor for cancellation requests.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support reading.
The stream has been disposed.
The stream is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation and wraps the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current file stream and writes them to a memory region, advances the position within the file stream by the number of bytes read, and monitors cancellation requests.
The buffer to write the data into.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation and wraps the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Reads a byte from the file and advances the read position one byte.
The current stream does not support reading.
The current stream is closed.
The byte, cast to an , or -1 if the end of the stream has been reached.
Sets the current position of this stream to the given value.
The point relative to from which to begin seeking.
Specifies the beginning, the end, or the current position as a reference point for , using a value of type .
An I/O error occurred.
The stream does not support seeking, such as if the is constructed from a pipe or console output.
Seeking is attempted before the beginning of the stream.
Methods were called after the stream was closed.
The new position in the stream.
Sets the length of this stream to the given value.
The new length of the stream.
An I/O error has occurred.
The stream does not support both writing and seeking.
Attempted to set the parameter to less than 0.
Allows access by other processes to all or part of a file that was previously locked.
The beginning of the range to unlock.
The range to be unlocked.
or is negative.
Writes a block of bytes to the file stream.
The zero-based byte offset in from which to begin copying bytes to the stream.
The maximum number of bytes to write.
is .
and describe an invalid range in .
or is negative.
An I/O error occurred.
-or-
Another thread may have caused an unexpected change in the position of the operating system's file handle.
-or-
.NET 8 and later versions: The underlying pipe is closed or disconnected.
The stream is closed.
The current stream instance does not support writing.
Writes a sequence of bytes from a read-only span to the current file stream and advances the current position within this file stream by the number of bytes written.
A region of memory. This method copies the contents of this region to the current file stream.
.NET 8 and later versions: The underlying pipe is closed or disconnected.
Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
The buffer to write data from.
The zero-based byte offset in from which to begin copying bytes to the stream.
The maximum number of bytes to write.
The token to monitor for cancellation requests.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support writing.
The stream has been disposed.
The stream is currently in use by a previous write operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a sequence of bytes from a memory region to the current file stream, advances the current position within this file stream by the number of bytes written, and monitors cancellation requests.
The region of memory to write data from.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a byte to the current position in the file stream.
A byte to write to the stream.
The stream is closed.
The stream does not support writing.
.NET 8 and later versions: The underlying pipe is closed or disconnected.
Gets a value that indicates whether the current stream supports reading.
if the stream supports reading; if the stream is closed or was opened with write-only access.
Gets a value that indicates whether the current stream supports seeking.
if the stream supports seeking; if the stream is closed or if the was constructed from an operating-system handle such as a pipe or output to the console.
Gets a value that indicates whether the current stream supports writing.
if the stream supports writing; if the stream is closed or was opened with read-only access.
Gets the operating system file handle for the file that the current object encapsulates.
The caller does not have the required permission.
The operating system file handle for the file encapsulated by this object, or -1 if the has been closed.
Gets a value that indicates whether the was opened asynchronously or synchronously.
if the was opened asynchronously; otherwise, .
Gets the length in bytes of the stream.
for this stream is .
An I/O error, such as the file being closed, occurred.
A long value representing the length of the stream in bytes.
Gets the absolute path of the file opened in the .
A string that is the absolute path of the file.
Gets or sets the current position of this stream.
The stream does not support seeking.
An I/O error occurred.
Attempted to set the position to a negative value.
Attempted seeking past the end of a stream that does not support this.
The current position of this stream.
Gets a object that represents the operating system file handle for the file that the current object encapsulates.
An object that represents the operating system file handle for the file that the current object encapsulates.
Defines a variety of configuration options for .
Initializes a instance with default values.
A bitwise combination of the enumeration values that determines how the file can be accessed by the object. This also determines the values returned by the and properties of the object.
contains an invalid value.
A bitwise combination of the enum flags.
The size of the buffer used by for buffering. The default buffer size is 4096.
0 or 1 means that buffering should be disabled. Negative values are not allowed.
is negative.
A non-negative number that represents the buffer size used by for buffering.
One of the enumeration values that determines how to open or create the file.
contains an invalid value.
One of the enumeration values of the enum.
A bitwise combination of the enumeration values that specifies additional file options. The default value is , which indicates synchronous IO.
contains an invalid value.
A bitwise combination of the enum flags.
The initial allocation size in bytes for the file. A positive value is effective only when a regular file is being created or overwritten ( or ). Negative values are not allowed. In other cases (including the default 0 value), it's ignored. This value is a hint and is not a strong guarantee. It is not supported on Web Assembly (WASM) and FreeBSD (the value is ignored). For Windows, Linux and macOS we will try to preallocate the disk space to fill the requested allocation size. If that turns out to be impossible, the operation is going to throw an exception. The final file length (EOF) will be determined by the number of bytes written to the file.
is negative.
A non-negative number that represents the initial allocation size in bytes for the file.
A bitwise combination of the enumeration values that determines how the file will be shared by processes. The default value is .
contains an invalid value.
A bitwise combination of the enum flags.
Gets or sets the Unix file mode used when a new file is created.
is an invalid file mode.
Provides the base class for both and objects.
Represents the fully qualified path of the directory or file.
The fully qualified path exceeds the system-defined maximum length.
The path originally specified by the user, whether relative or absolute.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The specified is null.
Creates a symbolic link located in that points to the specified .
The path of the symbolic link target.
is .
is empty.
-or-
contains invalid path characters.
A file or directory already exists in the location of .
-or-
An I/O error occurred.
Deletes a file or directory.
The specified path is invalid; for example, it is on an unmapped drive.
There is an open handle on the file or directory, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.
Sets the object with the file name and additional exception information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Refreshes the state of the object.
A device such as a disk drive is not ready.
Gets the target of the specified link.
to follow links to the final target; to return the immediate next link.
The file or directory does not exist.
-or-
There are too many levels of symbolic links.
A instance if the link exists, independently if the target exists or not; if this file or directory is not a link.
Returns the original path. Use the or properties for the full path or file/directory name.
A string with the original path.
Gets or sets the attributes for the current file or directory.
The specified file doesn't exist. Only thrown when setting the property value.
The specified path is invalid. For example, it's on an unmapped drive. Only thrown when setting the property value.
The caller doesn't have the required permission.
.NET Core and .NET 5+ only: The user attempts to set an attribute value but doesn't have write permission.
The specified path, file name, or both exceed the system-defined maximum length.
The caller attempts to set an invalid file attribute.
-or-
.NET Framework only: The user attempts to set an attribute value but doesn't have write permission.
cannot initialize the data.
of the current .
Gets or sets the creation time of the current file or directory.
cannot initialize the data.
The specified path is invalid; for example, it is on an unmapped drive.
The current operating system is not Windows NT or later.
The caller attempts to set an invalid creation time.
The creation date and time of the current object.
Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory.
cannot initialize the data.
The specified path is invalid; for example, it is on an unmapped drive.
The current operating system is not Windows NT or later.
The caller attempts to set an invalid creation time.
The creation date and time in UTC format of the current object.
Gets a value indicating whether the file or directory exists.
if the file or directory exists; otherwise, .
Gets the extension part of the file name, including the leading dot . even if it is the entire file name, or an empty string if no extension is present.
A string containing the extension.
Gets the full path of the directory or file.
The fully qualified path and file name exceed the system-defined maximum length.
The caller does not have the required permission.
A string containing the full path.
Gets or sets the time the current file or directory was last accessed.
cannot initialize the data.
The current operating system is not Windows NT or later.
The caller attempts to set an invalid access time
The time that the current file or directory was last accessed.
Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.
cannot initialize the data.
The current operating system is not Windows NT or later.
The caller attempts to set an invalid access time.
The UTC time that the current file or directory was last accessed.
Gets or sets the time when the current file or directory was last written to.
cannot initialize the data.
The current operating system is not Windows NT or later.
The caller attempts to set an invalid write time.
The time the current file was last written.
Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.
cannot initialize the data.
The current operating system is not Windows NT or later.
The caller attempts to set an invalid write time.
The UTC time when the current file was last written to.
Gets the target path of the link located in , or if this instance doesn't represent a link.
The target path of the link located in , or if this instance doesn't represent a link.
For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the property gets the name of the directory.
A string that is the name of the parent directory, the name of the last directory in the hierarchy, or the name of a file, including the file name extension.
Gets or sets the Unix file mode for the current file or directory.
The file mode is invalid.
The caller does not have the required permission.
The specified path exceeds the system-defined maximum length.
The specified path is invalid. Only thrown when setting the property value.
The specified file doesn't exist. Only thrown when setting the property value.
cannot initialize the data.
of the current .
Specifies whether the underlying handle is inheritable by child processes.
Specifies that the handle is inheritable by child processes.
Specifies that the handle is not inheritable by child processes.
The exception that is thrown when a data stream is in an invalid format.
Initializes a new instance of the class.
Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
The exception that is thrown when an I/O error occurs.
Initializes a new instance of the class with its message string set to the empty string (""), its HRESULT set to COR_E_IO, and its inner exception set to a null reference.
Initializes a new instance of the class with the specified serialization and context information.
The data for serializing or deserializing the object.
The source and destination for the object.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with its message string set to and its HRESULT user-defined.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
An integer identifying the error that has occurred.
Initializes a new instance of the class with its message string set to , its HRESULT set to COR_E_IO, and its inner exception set to .
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Specifies the type of character casing to match.
Matches ignoring character casing.
Matches respecting character casing.
Matches using the default casing for the given platform.
Specifies the type of wildcard matching to use.
Matches using '*' and '?' wildcards.
* matches from zero to any amount of characters. ? matches exactly one character. *.* matches any name with a period in it (with , this would match all items).
Match using Win32 DOS style matching semantics.
'*', '?', '<', '>', and '"' are all considered wildcards. Matches in a traditional DOS / Windows command prompt way. *.* matches all files. ? matches collapse to periods. file.??t will match file.t, file.at, and file.txt.
Creates a stream whose backing store is memory.
Initializes a new instance of the class with an expandable capacity initialized to zero.
Initializes a new non-resizable instance of the class based on the specified byte array with the property set as specified.
The array of unsigned bytes from which to create this stream.
The setting of the property, which determines whether the stream supports writing.
is .
Initializes a new instance of the class based on the specified region of a byte array, with the property set as specified, and the ability to call set as specified.
The array of unsigned bytes from which to create this stream.
The index into at which the stream begins.
The length of the stream in bytes.
The setting of the property, which determines whether the stream supports writing.
to enable , which returns the unsigned byte array from which the stream was created; otherwise, .
is .
or is negative.
The buffer length minus is less than .
Initializes a new non-resizable instance of the class based on the specified region of a byte array, with the property set as specified.
The array of unsigned bytes from which to create this stream.
The index in at which the stream begins.
The length of the stream in bytes.
The setting of the property, which determines whether the stream supports writing.
is .
or are negative.
The buffer length minus is less than .
Initializes a new non-resizable instance of the class based on the specified region (index) of a byte array.
The array of unsigned bytes from which to create this stream.
The index into at which the stream begins.
The length of the stream in bytes.
is .
or is less than zero.
The buffer length minus is less than .
Initializes a new non-resizable instance of the class based on the specified byte array.
The array of unsigned bytes from which to create the current stream.
is .
Initializes a new instance of the class with an expandable capacity initialized as specified.
The initial size of the internal array in bytes.
is negative.
Begins an asynchronous read operation. (Consider using instead.)
The buffer to read the data into.
The byte offset in at which to begin writing data read from the memory stream.
The maximum number of bytes to read.
An optional asynchronous callback, to be called when the read is complete.
A user-provided object that distinguishes this particular asynchronous read request from other requests.
Attempted an asynchronous read past the end of the memory stream, or a disk error occurred.
One or more of the arguments is invalid.
Methods were called after the memory stream was closed.
The current memory stream implementation does not support the read operation.
An that represents the asynchronous read, which could still be pending.
Begins an asynchronous write operation. (Consider using instead.)
The buffer to write data from.
The byte offset in from which to begin writing.
The maximum number of bytes to write.
An optional asynchronous callback, to be called when the write is complete.
A user-provided object that distinguishes this particular asynchronous write request from other requests.
Attempted an asynchronous write past the end of the memory stream, or a disk error occurred.
One or more of the arguments is invalid.
Methods were called after the memory stream was closed.
The current memory stream implementation does not support the write operation.
An that represents the asynchronous write, which could still be pending.
Reads the bytes from the current memory stream and writes them to another stream, using a specified buffer size.
The stream to which the contents of the current memory stream will be copied.
The size of the buffer. This value must be greater than zero. The default size is 81920.
is .
is not a positive number.
Either the underlying memory stream or the stream is closed.
The underlying memory stream is unreadable.
-or-
The stream is unwritable.
Asynchronously reads all the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token.
The stream to which the contents of the current stream will be copied.
The size, in bytes, of the buffer. This value must be greater than zero.
The token to monitor for cancellation requests.
is .
is negative or zero.
Either the current stream or the destination stream is disposed.
The current stream does not support reading, or the destination stream does not support writing.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous copy operation.
Releases the unmanaged resources used by the class and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Waits for the pending asynchronous read to complete. (Consider using instead.)
The reference to the pending asynchronous request to finish.
is .
A handle to the pending read operation is not available.
-or-
The pending operation does not support reading.
did not originate from a method on the current memory stream.
The stream is closed or an internal error has occurred.
The number of bytes read from the memory stream, between zero (0) and the number of bytes you requested. Returns zero (0) only at the end of the memory stream, otherwise, it should block until at least one byte is available.
Ends an asynchronous write operation. (Consider using instead.)
A reference to the outstanding asynchronous I/O request.
is .
A handle to the pending write operation is not available.
-or-
The pending operation does not support writing.
did not originate from a method on the current stream.
The stream is closed or an internal error has occurred.
Overrides the method so that no action is performed.
Asynchronously clears all buffers for this stream, and monitors cancellation requests.
The token to monitor for cancellation requests.
The stream has been disposed.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous flush operation.
Returns the array of unsigned bytes from which this stream was created.
The instance was not created with a publicly visible buffer.
The byte array from which this stream was created, or the underlying array if a byte array was not provided to the constructor during construction of the current instance.
Reads a block of bytes from the current stream and writes the data to a buffer.
When this method returns, contains the specified byte array with the values between and ( + - 1) replaced by the characters read from the current stream.
The zero-based byte offset in at which to begin storing data from the current stream.
The maximum number of bytes to read.
is .
or is negative.
subtracted from the buffer length is less than .
The current stream instance is closed.
The total number of bytes written into the buffer. This can be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached before any bytes are read.
Reads a sequence of bytes from the current memory stream and advances the position within the memory stream by the number of bytes read.
The total number of bytes read into the buffer. This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or zero (0) if the end of the memory stream has been reached.
Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.
The buffer to write the data into.
The byte offset in at which to begin writing data from the stream.
The maximum number of bytes to read.
The token to monitor for cancellation requests. The default value is .
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support reading.
The stream has been disposed.
The stream is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current memory stream, writes the sequence into , advances the position within the memory stream by the number of bytes read, and monitors cancellation requests.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into the . The result value can be less than the number of bytes allocated in if that many bytes are not currently available, or it can be 0 (zero) if the end of the memory stream has been reached.
Reads a byte from the current stream.
The current stream instance is closed.
The byte cast to a , or -1 if the end of the stream has been reached.
Sets the position within the current stream to the specified value.
The new position within the stream. This is relative to the parameter, and can be positive or negative.
A value of type , which acts as the seek reference point.
Seeking is attempted before the beginning of the stream.
is greater than Int32.MaxValue.
There is an invalid .
-or-
caused an arithmetic overflow.
The current stream instance is closed.
The new position within the stream, calculated by combining the initial reference point and the offset.
Sets the length of the current stream to the specified value.
The value at which to set the length.
The current stream is not resizable and is larger than the current capacity.
-or-
The current stream does not support writing.
is negative or is greater than the maximum length of the , where the maximum length is (Int32.MaxValue - origin), and origin is the index into the underlying buffer at which the stream starts.
Writes the stream contents to a byte array, regardless of the property.
A new byte array.
Returns the array of unsigned bytes from which this stream was created. The return value indicates whether the conversion succeeded.
When this method returns , the byte array segment from which this stream was created; when this method returns , this parameter is set to .
if the buffer is exposable; otherwise, .
Writes a block of bytes to the current stream using data read from a buffer.
The buffer to write data from.
The zero-based byte offset in at which to begin copying bytes to the current stream.
The maximum number of bytes to write.
is .
The stream does not support writing. For additional information see .
-or-
The current position is closer than bytes to the end of the stream, and the capacity cannot be modified.
subtracted from the buffer length is less than .
or are negative.
An I/O error occurs.
The current stream instance is closed.
Writes the sequence of bytes contained in into the current memory stream and advances the current position within this memory stream by the number of bytes written.
Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
The buffer to write data from.
The zero-based byte offset in from which to begin copying bytes to the stream.
The maximum number of bytes to write.
The token to monitor for cancellation requests. The default value is .
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support writing.
The stream has been disposed.
The stream is currently in use by a previous write operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes the sequence of bytes contained in into the current memory stream, advances the current position within this memory stream by the number of bytes written, and monitors cancellation requests.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a byte to the current stream at the current position.
The byte to write.
The stream does not support writing. For additional information see .
-or-
The current position is at the end of the stream, and the capacity cannot be modified.
The current stream is closed.
Writes the entire contents of this memory stream to another stream.
The stream to write this memory stream to.
is .
The current or target stream is closed.
Gets a value indicating whether the current stream supports reading.
if the stream is open.
Gets a value indicating whether the current stream supports seeking.
if the stream is open.
Gets a value indicating whether the current stream supports writing.
if the stream supports writing; otherwise, .
Gets or sets the number of bytes allocated for this stream.
A capacity is set that is negative or less than the current length of the stream.
The current stream is closed.
is invoked on a stream whose capacity cannot be modified.
The length of the usable portion of the buffer for the stream.
Gets the length of the stream in bytes.
The stream is closed.
The length of the stream in bytes.
Gets or sets the current position within the stream.
The position is set to a negative value or a value greater than Int32.MaxValue.
The stream is closed.
The current position within the stream.
Performs operations on instances that contain file or directory path information. These operations are performed in a cross-platform manner.
Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Provides a platform-specific array of characters that cannot be specified in path string arguments passed to members of the class.
A platform-specific separator character used to separate path strings in environment variables.
Provides a platform-specific volume separator character.
Changes the extension of a path string.
The path information to modify.
The new extension (with or without a leading period). Specify to remove an existing extension from .
.NET Framework and .NET Core versions older than 2.1: contains one or more of the invalid characters defined in .
The modified path information.
On Windows-based desktop platforms, if is or an empty string (""), the path information is returned unmodified. If is , the returned string contains the specified path with its extension removed. If has no extension, and is not , the returned path string contains appended to the end of .
Combines a span of strings into a path.
A span of parts of the path.
The combined paths.
Combines four strings into a path.
The first path to combine.
The second path to combine.
The third path to combine.
The fourth path to combine.
.NET Framework and .NET Core versions older than 2.1: , , , or contains one or more of the invalid characters defined in .
, , , or is .
The combined paths.
Combines three strings into a path.
The first path to combine.
The second path to combine.
The third path to combine.
.NET Framework and .NET Core versions older than 2.1: , , or contains one or more of the invalid characters defined in .
, , or is .
The combined paths.
Combines two strings into a path.
The first path to combine.
The second path to combine.
.NET Framework and .NET Core versions older than 2.1: or contains one or more of the invalid characters defined in .
or is .
The combined paths. If one of the specified paths is a zero-length string, this method returns the other path. If contains an absolute path, this method returns .
Combines an array of strings into a path.
An array of parts of the path.
.NET Framework and .NET Core versions older than 2.1: One of the strings in the array contains one or more of the invalid characters defined in .
One of the strings in the array is .
The combined paths.
Returns a value that indicates whether the path, specified as a read-only span, ends in a directory separator.
The path to analyze.
if the path ends in a directory separator; otherwise, .
Returns a value that indicates whether the specified path ends in a directory separator.
The path to analyze.
if the path ends in a directory separator; otherwise, .
Determines whether the specified file or directory exists.
The path to check
if the caller has the required permissions and contains the name of an existing file or directory; otherwise, .
This method also returns if is , an invalid path, or a zero-length string. If the caller does not have sufficient permissions to read the specified path, no exception is thrown and the method returns regardless of the existence of .
Returns the directory information for the specified path represented by a character span.
The path to retrieve the directory information from.
Directory information for , or an empty span if is , an empty span, or a root (such as \, C:, or \\server\share).
Returns the directory information for the specified path.
The path of a file or directory.
.NET Framework and .NET Core versions older than 2.1: The parameter contains invalid characters, is empty, or contains only white spaces.
The parameter is longer than the system-defined maximum length.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
Directory information for , or if denotes a root directory or is null. Returns if does not contain directory information.
Returns the extension of a file path that is represented by a read-only character span.
The file path from which to get the extension.
The extension of the specified path (including the period, "."), or if does not have extension information.
Returns the extension (including the period ".") of the specified path string.
The path string from which to get the extension.
.NET Framework and .NET Core versions older than 2.1: contains one or more of the invalid characters defined in .
The extension of the specified path (including the period "."), or , or . If is , returns . If does not have extension information, returns .
Returns the file name and extension of a file path that is represented by a read-only character span.
A read-only span that contains the path from which to obtain the file name and extension.
The characters after the last directory separator character in .
Returns the file name and extension of the specified path string.
The path string from which to obtain the file name and extension.
.NET Framework and .NET Core versions older than 2.1: contains one or more of the invalid characters defined in .
The characters after the last directory separator character in . If the last character of is a directory or volume separator character, this method returns . If is , this method returns .
Returns the file name without the extension of a file path that is represented by a read-only character span.
A read-only span that contains the path from which to obtain the file name without the extension.
The characters in the read-only span returned by , minus the last period (.) and all characters following it.
Returns the file name of the specified path string without the extension.
The path of the file.
.NET Framework and .NET Core versions older than 2.1: contains one or more of the invalid characters defined in .
The string returned by , minus the last period (.) and all characters following it.
Returns an absolute path from a relative path and a fully qualified base path.
A relative path to concatenate to .
The beginning of a fully qualified path.
or is .
is not a fully qualified path.
-or-
or contains one or more of the invalid characters defined in .
The absolute path.
Returns the absolute path for the specified path string.
The file or directory for which to obtain absolute path information.
is a zero-length string, contains only white space on Windows systems, or contains one or more of the invalid characters defined in .
-or-
The system could not retrieve the absolute path.
The caller does not have the required permissions.
is .
.NET Framework only: contains a colon (":") that is not part of a volume identifier (for example, "c:\").
The specified path, file name, or both exceed the system-defined maximum length.
The fully qualified location of , such as "C:\MyFile.txt".
Gets an array containing the characters that are not allowed in file names.
An array containing the characters that are not allowed in file names.
Gets an array containing the characters that are not allowed in path names.
An array containing the characters that are not allowed in path names.
Gets the root directory information from the path contained in the specified character span.
A read-only span of characters containing the path from which to obtain root directory information.
A read-only span of characters containing the root directory of .
Gets the root directory information from the path contained in the specified string.
A string containing the path from which to obtain root directory information.
.NET Framework and .NET Core versions older than 2.1: contains one or more of the invalid characters defined in .
-or-
.NET Framework only: was passed to .
The root directory of if it is rooted.
-or-
if does not contain root directory information.
-or-
if is or is effectively empty.
Returns a random folder name or file name.
A random folder name or file name.
Returns a relative path from one path to another.
The source path the result should be relative to. This path is always considered to be a directory.
The destination path.
or is .
or is effectively empty.
The relative path, or if the paths don't share the same root.
Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file.
An I/O error occurs, such as no unique temporary file name is available.
-or-
This method was unable to create a temporary file.
The full path of the temporary file.
Returns the path of the current user's temporary folder.
The caller does not have the required permissions.
The path to the temporary folder, ending with a .
Determines whether the path represented by the specified character span includes a file name extension.
The path to search for an extension.
if the characters that follow the last directory separator character or volume separator in the path include a period (".") followed by one or more characters; otherwise, .
Determines whether a path includes a file name extension.
The path to search for an extension.
.NET Framework and .NET Core versions older than 2.1: contains one or more of the invalid characters defined in .
if the characters that follow the last directory separator (\ or /) or volume separator (:) in the path include a period (.) followed by one or more characters; otherwise, .
Returns a value that indicates whether the file path represented by the specified character span is fixed to a specific drive or UNC path.
A file path.
if the path is fixed to a specific drive or UNC path; if the path is relative to the current drive or working directory.
Returns a value that indicates whether the specified file path is fixed to a specific drive or UNC path.
A file path.
is .
if the path is fixed to a specific drive or UNC path; if the path is relative to the current drive or working directory.
Returns a value that indicates whether the specified character span that represents a file path contains a root.
The path to test.
if contains a root; otherwise, .
Returns a value indicating whether the specified path string contains a root.
The path to test.
.NET Framework and .NET Core versions older than 2.1: contains one or more of the invalid characters defined in .
if contains a root; otherwise, .
Concatenates four path components into a single path.
A character span that contains the first path to join.
A character span that contains the second path to join.
A character span that contains the third path to join.
A character span that contains the fourth path to join.
The concatenated path.
Concatenates three path components into a single path.
A character span that contains the first path to join.
A character span that contains the second path to join.
A character span that contains the third path to join.
The concatenated path.
Concatenates two path components into a single path.
A character span that contains the first path to join.
A character span that contains the second path to join.
The combined paths.
Concatenates a span of paths into a single path.
A span of paths.
The concatenated path.
Concatenates four paths into a single path.
The first path to join.
The second path to join.
The third path to join.
The fourth path to join.
The concatenated path.
Concatenates three paths into a single path.
The first path to join.
The second path to join.
The third path to join.
The concatenated path.
Concatenates two paths into a single path.
The first path to join.
The second path to join.
The concatenated path.
Concatenates an array of paths into a single path.
An array of paths.
The concatenated path.
Trims one trailing directory separator beyond the root of the specified path.
The path to trim.
The without any trailing directory separators.
Trims one trailing directory separator beyond the root of the specified path.
The path to trim.
The without any trailing directory separators.
Attempts to concatenate three path components to a single preallocated character span, and returns a value that indicates whether the operation succeeded.
A character span that contains the first path to join.
A character span that contains the second path to join.
A character span that contains the third path to join.
A character span to hold the concatenated path.
When the method returns, a value that indicates the number of characters written to the .
if the concatenation operation is successful; otherwise, .
Attempts to concatenate two path components to a single preallocated character span, and returns a value that indicates whether the operation succeeded.
A character span that contains the first path to join.
A character span that contains the second path to join.
A character span to hold the concatenated path.
When the method returns, a value that indicates the number of characters written to the .
if the concatenation operation is successful; otherwise, .
The exception that's thrown when a path or fully qualified file name is longer than the system-defined maximum length.
Initializes a new instance of the class with its HRESULT set to COR_E_PATHTOOLONG.
Initializes a new instance of the class with the specified serialization and context information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with its message string set to and its HRESULT set to COR_E_PATHTOOLONG.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Provides offset-based APIs for reading and writing files in a thread-safe manner.
Flushes the operating system buffers for the given file to disk.
The file handle.
is .
is invalid.
The file is closed.
An I/O error occurred.
Gets the length of the file in bytes.
The file handle.
is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
A long value representing the length of the file in bytes.
Reads a sequence of bytes from given file at given offset.
The file handle.
A list of memory buffers. When this method returns, the contents of the buffers are replaced by the bytes read from the file.
The file position to read from.
or is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for reading.
An I/O error occurred.
The total number of bytes read into the buffers. This can be less than the number of bytes allocated in the buffers if that many bytes are not currently available, or zero (0) if the end of the file has been reached.
Reads a sequence of bytes from given file at given offset.
The file handle.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the file.
The file position to read from.
is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for reading.
An I/O error occurred.
The total number of bytes read into the buffer. This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or zero (0) if the end of the file has been reached.
Reads a sequence of bytes from given file at given offset.
The file handle.
A list of memory buffers. When this method returns, the contents of these buffers are replaced by the bytes read from the file.
The file position to read from.
The token to monitor for cancellation requests. The default value is .
or is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for reading.
An I/O error occurred.
The cancellation token was canceled. This exception is stored into the returned task.
The total number of bytes read into the buffers. This can be less than the number of bytes allocated in the buffers if that many bytes are not currently available, or zero (0) if the end of the file has been reached.
Reads a sequence of bytes from given file at given offset.
The file handle.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the file.
The file position to read from.
The token to monitor for cancellation requests. The default value is .
is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for reading.
An I/O error occurred.
The cancellation token was canceled. This exception is stored into the returned task.
The total number of bytes read into the buffer. This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or zero (0) if the end of the file has been reached.
Sets the length of the file to the given value.
The file handle.
The length of the file in bytes.
is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
Writes a sequence of bytes from given buffers to given file at given offset.
The file handle.
A list of memory buffers. This method copies the contents of these buffers to the file.
The file position to write to.
or is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for writing.
An I/O error occurred.
Writes a sequence of bytes from given buffer to given file at given offset.
The file handle.
A region of memory. This method copies the contents of this region to the file.
The file position to write to.
is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for writing.
An I/O error occurred.
Writes a sequence of bytes from given buffers to given file at given offset.
The file handle.
A list of memory buffers. This method copies the contents of these buffers to the file.
The file position to write to.
The token to monitor for cancellation requests. The default value is .
or is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for writing.
An I/O error occurred.
The cancellation token was canceled. This exception is stored into the returned task.
A task representing the asynchronous completion of the write operation.
Writes a sequence of bytes from given buffer to given file at given offset.
The file handle.
A region of memory. This method copies the contents of this region to the file.
The file position to write to.
The token to monitor for cancellation requests. The default value is .
is .
is invalid.
The file is closed.
The file does not support seeking (pipe or socket).
is negative.
was not opened for writing.
An I/O error occurred.
The cancellation token was canceled. This exception is stored into the returned task.
A task representing the asynchronous completion of the write operation.
Specifies whether to search the current directory, or the current directory and all subdirectories.
Includes the current directory and all its subdirectories in a search operation. This option includes reparse points such as mounted drives and symbolic links in the search.
Includes only the current directory in a search operation.
Specifies the position in a stream to use for seeking.
Specifies the beginning of a stream.
Specifies the current position within a stream.
Specifies the end of a stream.
Provides a generic view of a sequence of bytes. This is an abstract class.
A with no backing store.
Initializes a new instance of the class.
Begins an asynchronous read operation. (Consider using instead.)
The buffer to read the data into.
The byte offset in at which to begin writing data read from the stream.
The maximum number of bytes to read.
An optional asynchronous callback, to be called when the read is complete.
A user-provided object that distinguishes this particular asynchronous read request from other requests.
Attempted an asynchronous read past the end of the stream, or a disk error occurs.
One or more of the arguments is invalid.
Methods were called after the stream was closed.
The current implementation does not support the read operation.
An that represents the asynchronous read, which could still be pending.
Begins an asynchronous write operation. (Consider using instead.)
The buffer to write data from.
The byte offset in from which to begin writing.
The maximum number of bytes to write.
An optional asynchronous callback, to be called when the write is complete.
A user-provided object that distinguishes this particular asynchronous write request from other requests.
Attempted an asynchronous write past the end of the stream, or a disk error occurs.
One or more of the arguments is invalid.
Methods were called after the stream was closed.
The current implementation does not support the write operation.
An that represents the asynchronous write, which could still be pending.
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.
Reads the bytes from the current stream and writes them to another stream, using a specified buffer size. Both streams positions are advanced by the number of bytes copied.
The stream to which the contents of the current stream will be copied.
The size of the buffer. This value must be greater than zero. The default size is 81920.
is .
is negative or zero.
The current stream does not support reading.
-or-
does not support writing.
Either the current stream or were closed before the method was called.
An I/O error occurred.
Reads the bytes from the current stream and writes them to another stream. Both streams positions are advanced by the number of bytes copied.
The stream to which the contents of the current stream will be copied.
is .
The current stream does not support reading.
-or-
does not support writing.
Either the current stream or were closed before the method was called.
An I/O error occurred.
Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. Both streams positions are advanced by the number of bytes copied.
The stream to which the contents of the current stream will be copied.
The size, in bytes, of the buffer. This value must be greater than zero. The default size is 81920.
The token to monitor for cancellation requests. The default value is .
is .
is negative or zero.
Either the current stream or the destination stream is disposed.
The current stream does not support reading, or the destination stream does not support writing.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous copy operation.
Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size. Both streams positions are advanced by the number of bytes copied.
The stream to which the contents of the current stream will be copied.
The size, in bytes, of the buffer. This value must be greater than zero. The default size is 81920.
is .
is negative or zero.
Either the current stream or the destination stream is disposed.
The current stream does not support reading, or the destination stream does not support writing.
A task that represents the asynchronous copy operation.
Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified cancellation token. Both streams positions are advanced by the number of bytes copied.
The stream to which the contents of the current stream will be copied.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous copy operation.
Asynchronously reads the bytes from the current stream and writes them to another stream. Both streams positions are advanced by the number of bytes copied.
The stream to which the contents of the current stream will be copied.
is .
Either the current stream or the destination stream is disposed.
The current stream does not support reading, or the destination stream does not support writing.
A task that represents the asynchronous copy operation.
Allocates a object.
A reference to the allocated .
Releases all resources used by the .
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Asynchronously releases the unmanaged resources used by the .
A task that represents the asynchronous dispose operation.
Waits for the pending asynchronous read to complete. (Consider using instead.)
The reference to the pending asynchronous request to finish.
is .
A handle to the pending read operation is not available.
-or-
The pending operation does not support reading.
did not originate from a method on the current stream.
The stream is closed or an internal error has occurred.
The number of bytes read from the stream, between zero (0) and the number of bytes requested. ReadAsync returns zero (0) only if zero bytes were requested or if no more bytes will be available because it's at the end of the stream; otherwise, read operations do not complete until at least one byte is available. If zero bytes are requested, read operations may complete immediately or may not complete until at least one byte is available (but without consuming any data).
Ends an asynchronous write operation. (Consider using instead.)
A reference to the outstanding asynchronous I/O request.
is .
A handle to the pending write operation is not available.
-or-
The pending operation does not support writing.
did not originate from a method on the current stream.
The stream is closed or an internal error has occurred.
When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.
An I/O error occurs.
Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device.
The stream has been disposed.
A task that represents the asynchronous flush operation.
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.
The token to monitor for cancellation requests. The default value is .
The stream has been disposed.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous flush operation.
Provides support for a .
When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source.
The zero-based byte offset in at which to begin storing the data read from the current stream.
The maximum number of bytes to be read from the current stream.
The sum of and is larger than the buffer length.
is .
or is negative.
An I/O error occurs.
The stream does not support reading.
Methods were called after the stream was closed.
The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if is 0 or the end of the stream has been reached.
When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current source.
The total number of bytes read into the buffer. This can be less than the size of the buffer if that many bytes are not currently available, or zero (0) if the buffer's length is zero or the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.
The buffer to write the data into.
The byte offset in at which to begin writing data from the stream.
The maximum number of bytes to read.
The token to monitor for cancellation requests. The default value is .
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support reading.
The stream has been disposed.
The stream is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if is 0 or if the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
The buffer to write the data into.
The byte offset in at which to begin writing data from the stream.
The maximum number of bytes to read.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support reading.
The stream has been disposed.
The stream is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if is 0 or if the end of the stream has been reached.
Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.
The region of memory to write the data into.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into the buffer. The result value can be less than the length of the buffer if that many bytes are not currently available, or it can be 0 (zero) if the length of the buffer is 0 or if the end of the stream has been reached.
Reads at least a minimum number of bytes from the current stream and advances the position within the stream by the number of bytes read.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current stream.
The minimum number of bytes to read into the buffer.
to throw an exception if the end of the stream is reached before reading of bytes; to return less than when the end of the stream is reached.
The default is .
is negative, or is greater than the length of .
is and the end of the stream is reached before reading
bytes of data.
The total number of bytes read into the buffer. This is guaranteed to be greater than or equal to when is . This will be less than when the end of the stream is reached and is . This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available.
Asynchronously reads at least a minimum number of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.
The region of memory to write the data into.
The minimum number of bytes to read into the buffer.
to throw an exception if the end of the stream is reached before reading of bytes; to return less than when the end of the stream is reached.
The default is .
The token to monitor for cancellation requests.
is negative, or is greater than the length of .
is and the end of the stream is reached before reading
bytes of data.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of its property contains the total number of bytes read into the buffer. This is guaranteed to be greater than or equal to when is . This will be less than when the end of the stream is reached and is . This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available.
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
The stream does not support reading.
Methods were called after the stream was closed.
The unsigned byte cast to an , or -1 if at the end of the stream.
Reads number of bytes from the current stream and advances the position within the stream.
An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current stream.
The byte offset in at which to begin storing the data read from the current stream.
The number of bytes to be read from the current stream.
is .
is outside the bounds of .
-or-
is negative.
-or-
The range specified by the combination of and exceeds the
length of .
The end of the stream is reached before reading number of bytes.
Reads bytes from the current stream and advances the position within the stream until the is filled.
A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current stream.
The end of the stream is reached before filling the .
Asynchronously reads number of bytes from the current stream, advances the position within the stream, and monitors cancellation requests.
The buffer to write the data into.
The byte offset in at which to begin writing data from the stream.
The number of bytes to be read from the current stream.
The token to monitor for cancellation requests.
is .
is outside the bounds of .
-or-
is negative.
-or-
The range specified by the combination of and exceeds the
length of .
The end of the stream is reached before reading number of bytes.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation.
Asynchronously reads bytes from the current stream, advances the position within the stream until the is filled, and monitors cancellation requests.
The buffer to write the data into.
The token to monitor for cancellation requests.
The end of the stream is reached before filling the .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation.
When overridden in a derived class, sets the position within the current stream.
A byte offset relative to the parameter.
A value of type indicating the reference point used to obtain the new position.
An I/O error occurs.
The stream does not support seeking, such as if the stream is constructed from a pipe or console output.
Methods were called after the stream was closed.
The new position within the current stream.
When overridden in a derived class, sets the length of the current stream.
The desired length of the current stream in bytes.
An I/O error occurs.
The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output.
Methods were called after the stream was closed.
Creates a thread-safe (synchronized) wrapper around the specified object.
The object to synchronize.
is .
A thread-safe object.
Validates arguments provided to reading and writing methods on .
The array "buffer" argument passed to the reading or writing method.
The integer "offset" argument passed to the reading or writing method.
The integer "count" argument passed to the reading or writing method.
was .
was outside the bounds of , or was negative, or the range specified by the combination of and exceed the length of .
Validates arguments provided to the or methods.
The "destination" argument passed to the copy method.
The integer "bufferSize" argument passed to the copy method.
was .
was not a positive value.
does not support writing.
does not support writing or reading.
When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
An array of bytes. This method copies bytes from to the current stream.
The zero-based byte offset in at which to begin copying bytes to the current stream.
The number of bytes to be written to the current stream.
The sum of and is greater than the buffer length.
is .
or is negative.
An I/O error occurred, such as the specified file cannot be found.
The stream does not support writing.
was called after the stream was closed.
When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
A region of memory. This method copies the contents of this region to the current stream.
Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
The buffer to write data from.
The zero-based byte offset in from which to begin copying bytes to the stream.
The maximum number of bytes to write.
The token to monitor for cancellation requests. The default value is .
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support writing.
The stream has been disposed.
The stream is currently in use by a previous write operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
The buffer to write data from.
The zero-based byte offset in from which to begin copying bytes to the stream.
The maximum number of bytes to write.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream does not support writing.
The stream has been disposed.
The stream is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
The region of memory to write data from.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
The byte to write to the stream.
An I/O error occurs.
The stream does not support writing, or the stream is already closed.
Methods were called after the stream was closed.
When overridden in a derived class, gets a value indicating whether the current stream supports reading.
if the stream supports reading; otherwise, .
When overridden in a derived class, gets a value indicating whether the current stream supports seeking.
if the stream supports seeking; otherwise, .
Gets a value that determines whether the current stream can time out.
A value that determines whether the current stream can time out.
When overridden in a derived class, gets a value indicating whether the current stream supports writing.
if the stream supports writing; otherwise, .
When overridden in a derived class, gets the length in bytes of the stream.
A class derived from does not support seeking and the length is unknown.
Methods were called after the stream was closed.
A long value representing the length of the stream in bytes.
When overridden in a derived class, gets or sets the position within the current stream.
An I/O error occurs.
The stream does not support seeking.
Methods were called after the stream was closed.
The current position within the stream.
Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.
The method always throws an .
A value, in milliseconds, that determines how long the stream will attempt to read before timing out.
Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
The method always throws an .
A value, in milliseconds, that determines how long the stream will attempt to write before timing out.
Implements a that reads characters from a byte stream in a particular encoding.
A object around an empty stream.
Initializes a new instance of the class for the specified stream, with the specified byte order mark detection option.
The stream to be read.
Indicates whether to look for byte order marks at the beginning of the file.
does not support reading.
is .
Initializes a new instance of the class for the specified stream based on the specified character encoding, byte order mark detection option, and buffer size, and optionally leaves the stream open.
The stream to read.
The character encoding to use.
to look for byte order marks at the beginning of the file; otherwise, .
The minimum buffer size, in bytes.
to leave the stream open after the object is disposed; otherwise, .
Initializes a new instance of the class for the specified stream, with the specified character encoding, byte order mark detection option, and buffer size.
The stream to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
The minimum buffer size, in bytes.
The stream does not support reading.
or is .
is less than or equal to zero, except for -1, which is allowed to indicate the default buffer size.
Initializes a new instance of the class for the specified stream, with the specified character encoding and byte order mark detection option.
The stream to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
does not support reading.
or is .
Initializes a new instance of the class for the specified stream, with the specified character encoding.
The stream to be read.
The character encoding to use.
does not support reading.
or is .
Initializes a new instance of the class for the specified stream.
The stream to be read.
does not support reading.
is .
Initializes a new instance of the class for the specified file name, with the specified byte order mark detection option.
The complete file path to be read.
Indicates whether to look for byte order marks at the beginning of the file.
is an empty string ("").
is .
The file cannot be found.
The specified path is invalid, such as being on an unmapped drive.
includes an incorrect or invalid syntax for file name, directory name, or volume label.
Initializes a new instance of the class for the specified file path, using the default encoding, enabling detection of byte order marks at the beginning of the file, and configured with the specified object.
The complete file path to be read.
An object that specifies the configuration options for the underlying .
is not readable.
-or-
is an empty string ("").
or is .
The file cannot be found.
The specified path is invalid, such as being on an unmapped drive.
includes an incorrect or invalid syntax for file name, directory name, or volume label.
Initializes a new instance of the class for the specified file name, with the specified character encoding, byte order mark detection option, and buffer size.
The complete file path to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
The minimum buffer size, in bytes.
is an empty string ("").
or is .
The file cannot be found.
The specified path is invalid, such as being on an unmapped drive.
includes an incorrect or invalid syntax for file name, directory name, or volume label.
is less than or equal to zero, except for -1, which is allowed to indicate the default buffer size.
Initializes a new instance of the class for the specified file path, with the specified character encoding, byte order mark detection option, and configured with the specified object.
The complete file path to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
An object that specifies the configuration options for the underlying .
is not readable.
-or-
is an empty string ("").
or or is .
The file cannot be found.
The specified path is invalid, such as being on an unmapped drive.
includes an incorrect or invalid syntax for file name, directory name, or volume label.
Initializes a new instance of the class for the specified file name, with the specified character encoding and byte order mark detection option.
The complete file path to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
is an empty string ("").
or is .
The file cannot be found.
The specified path is invalid, such as being on an unmapped drive.
includes an incorrect or invalid syntax for file name, directory name, or volume label.
Initializes a new instance of the class for the specified file name, with the specified character encoding.
The complete file path to be read.
The character encoding to use.
is an empty string ("").
or is .
The file cannot be found.
The specified path is invalid, such as being on an unmapped drive.
includes an incorrect or invalid syntax for file name, directory name, or volume label.
Initializes a new instance of the class for the specified file name.
The complete file path to be read.
is an empty string ("").
is .
The file cannot be found.
The specified path is invalid, such as being on an unmapped drive.
includes an incorrect or invalid syntax for file name, directory name, or volume label.
Closes the object and the underlying stream, and releases any system resources associated with the reader.
Clears the internal buffer.
Closes the underlying stream, releases the unmanaged resources used by the , and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Returns the next available character but does not consume it.
An I/O error occurs.
An integer representing the next character to be read, or -1 if there are no characters to be read or if the stream does not support seeking.
Reads the next character from the input stream and advances the character position by one character.
An I/O error occurs.
The next character from the input stream represented as an object, or -1 if no more characters are available.
Reads a specified maximum of characters from the current stream into a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and (index + count - 1) replaced by the characters read from the current source.
The index of at which to begin writing.
The maximum number of characters to read.
The buffer length minus is less than .
is .
or is negative.
An I/O error occurs, such as the stream is closed.
The number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the parameter, depending on whether the data is available within the stream.
Reads the characters from the current stream into a span.
When this method returns, contains the specified span of characters replaced by the characters read from the current source.
The number of characters read from the stream is larger than the length.
is .
The number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the length, depending on whether the data is available within the stream.
Reads a specified maximum number of characters from the current stream asynchronously and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read. If the end of the stream is reached before the specified number of characters is written into the buffer, the current method returns.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of characters read into the buffer. The result value can be less than the number of characters requested if the number of characters currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Asynchronously reads the characters from the current stream into a memory block.
When this method returns, contains the specified memory block of characters replaced by the characters read from the current source.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A value task that represents the asynchronous read operation. The value of the type parameter of the value task contains the number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the length, depending on whether the data is available within the stream.
Reads a specified maximum number of characters from the current stream and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and (index + count - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read.
is .
The buffer length minus is less than .
or is negative.
The is closed.
An I/O error occurred.
The number of characters that have been read. The number will be less than or equal to , depending on whether all input characters have been read.
Reads the characters from the current stream and writes the data to a buffer.
When this method returns, contains the specified span of characters replaced by the characters read from the current source.
is .
The is closed.
An I/O error occurred.
The number of characters that have been read. The number will be less than or equal to the length, depending on whether all input characters have been read.
Reads a specified maximum number of characters from the current stream asynchronously and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read. If the end of the stream is reached before the specified number of characters is written into the buffer, the method returns.
is .
or is negative.
The sum of and is larger than the buffer length.
The stream has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of characters read into the buffer. The result value can be less than the number of characters requested if the number of characters currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Asynchronously reads the characters from the current stream and writes the data to a buffer.
When this method returns, contains the specified memory block of characters replaced by the characters read from the current source.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A value task that represents the asynchronous read operation. The value of the type parameter of the value task contains the total number of characters read into the buffer. The result value can be less than the number of characters requested if the number of characters currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Reads a line of characters from the current stream and returns the data as a string.
There is insufficient memory to allocate a buffer for the returned string.
An I/O error occurs.
The next line from the input stream, or if the end of the input stream is reached.
Reads a line of characters asynchronously from the current stream and returns the data as a string.
The number of characters in the next line is larger than Int32.MaxValue.
The stream has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the next line from the stream, or is if all the characters have been read.
Reads a line of characters asynchronously from the current stream and returns the data as a string.
The token to monitor for cancellation requests.
The number of characters in the next line is larger than Int32.MaxValue.
The stream reader has been disposed.
The reader is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A value task that represents the asynchronous read operation. The value of the TResult parameter contains the next line from the stream, or is if all of the characters have been read.
Reads all characters from the current position to the end of the stream.
There is insufficient memory to allocate a buffer for the returned string.
An I/O error occurs.
The rest of the stream as a string, from the current position to the end. If the current position is at the end of the stream, returns an empty string ("").
Reads all characters from the current position to the end of the stream asynchronously and returns them as one string.
The number of characters is larger than Int32.MaxValue.
The stream has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains a string with the characters from the current position to the end of the stream.
Reads all characters from the current position to the end of the stream asynchronously and returns them as one string.
The token to monitor for cancellation requests.
The number of characters is larger than Int32.MaxValue.
The stream reader has been disposed.
The reader is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of the TResult parameter contains a string with the characters from the current position to the end of the stream.
Returns the underlying stream.
The underlying stream.
Gets the current character encoding that the current object is using.
The current character encoding used by the current reader. The value can be different after the first call to any method of , since encoding autodetection is not done until the first call to a method.
Gets a value that indicates whether the current stream position is at the end of the stream.
The underlying stream has been disposed.
if the current stream position is at the end of the stream; otherwise .
Implements a for writing characters to a stream in a particular encoding.
Provides a with no backing store that can be written to, but not read from.
Initializes a new instance of the class for the specified stream by using the specified encoding and buffer size, and optionally leaves the stream open.
The stream to write to.
The character encoding to use.
The buffer size, in characters.
to leave the stream open after the object is disposed; otherwise, .
or is .
is less than or equal to zero, except for -1, which is allowed to indicate the default buffer size.
is not writable.
Initializes a new instance of the class for the specified stream by using the specified encoding and buffer size.
The stream to write to.
The character encoding to use.
The buffer size, in characters.
or is .
is less than or equal to zero, except for -1, which is allowed to indicate the default buffer size.
is not writable.
Initializes a new instance of the class for the specified stream by using the specified encoding and the default buffer size.
The stream to write to.
The character encoding to use.
or is .
is not writable.
Initializes a new instance of the class for the specified stream by using UTF-8 encoding and the default buffer size.
The stream to write to.
is not writable.
is .
Initializes a new instance of the class for the specified file on the specified path, using the specified encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
The complete file path to write to.
to append data to the file; to overwrite the file. If the specified file does not exist, this parameter has no effect, and the constructor creates a new file.
The character encoding to use.
The buffer size, in characters.
is an empty string ("").
-or-
contains the name of a system device (com1, com2, and so on).
or is .
is less than or equal to zero, except for -1, which is allowed to indicate the default buffer size.
includes an incorrect or invalid syntax for file name, directory name, or volume label syntax.
The caller does not have the required permission.
Access is denied.
The specified path is invalid (for example, it is on an unmapped drive).
The specified path, file name, or both exceed the system-defined maximum length.
Initializes a new instance of the class for the specified file by using the specified encoding and default buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
The complete file path to write to.
to append data to the file; to overwrite the file. If the specified file does not exist, this parameter has no effect, and the constructor creates a new file.
The character encoding to use.
Access is denied.
is empty.
-or-
contains the name of a system device (com1, com2, and so on).
is .
The specified path is invalid (for example, it is on an unmapped drive).
includes an incorrect or invalid syntax for file name, directory name, or volume label syntax.
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
Initializes a new instance of the class for the specified file by using the default encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
The complete file path to write to.
to append data to the file; to overwrite the file. If the specified file does not exist, this parameter has no effect, and the constructor creates a new file.
Access is denied.
is empty.
-or-
contains the name of a system device (com1, com2, and so on).
is .
The specified path is invalid (for example, it is on an unmapped drive).
includes an incorrect or invalid syntax for file name, directory name, or volume label syntax.
The specified path, file name, or both exceed the system-defined maximum length.
The caller does not have the required permission.
Initializes a new instance of the class for the specified file, using the default encoding, and configured with the specified object.
The complete file path to write to.
An object that specifies the configuration options for the underlying .
is
.
is not writable.
Initializes a new instance of the class for the specified file, using the specified encoding, and configured with the specified object.
The complete file path to write to.
The character encoding to use.
An object that specifies the configuration options for the underlying .
is
.
is not writable.
Initializes a new instance of the class for the specified file by using the default encoding and buffer size.
The complete file path to write to. can be a file name.
Access is denied.
is an empty string ("").
-or-
contains the name of a system device (com1, com2, and so on).
is .
The specified path is invalid (for example, it is on an unmapped drive).
The specified path, file name, or both exceed the system-defined maximum length.
includes an incorrect or invalid syntax for file name, directory name, or volume label syntax.
The caller does not have the required permission.
Closes the current object and the underlying stream.
The current encoding does not support displaying half of a Unicode surrogate pair.
Causes any buffered data to be written to the underlying stream, releases the unmanaged resources used by the , and optionally the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
The current encoding does not support displaying half of a Unicode surrogate pair.
Asynchronously writes any buffered data to the underlying stream and releases the unmanaged resources used by the .
A task that represents the asynchronous dispose operation.
Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.
The current writer is closed.
An I/O error has occurred.
The current encoding does not support displaying half of a Unicode surrogate pair.
Clears all buffers for this stream asynchronously and causes any buffered data to be written to the underlying device.
The stream has been disposed.
A task that represents the asynchronous flush operation.
Clears all buffers for this stream asynchronously and causes any buffered data to be written to the underlying device.
The to monitor for cancellation requests.
The cancellation token was canceled. This exception is stored into the returned task.
A that represents the asynchronous flush operation.
Writes a character to the stream.
The character to write to the stream.
An I/O error occurs.
is true or the buffer is full, and current writer is closed.
is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
Writes a subarray of characters to the stream.
A character array that contains the data to write.
The character position in the buffer at which to start reading data.
The maximum number of characters to write.
is .
The buffer length minus is less than .
or is negative.
An I/O error occurs.
is true or the buffer is full, and current writer is closed.
is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
Writes a character array to the stream.
A character array containing the data to write. If is , nothing is written.
An I/O error occurs.
is true or the buffer is full, and current writer is closed.
is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
Writes a character span to the stream.
The character span to write.
Writes a formatted string to the stream, using the same semantics as the method.
A composite format string.
The first object to format and write.
The second object to format and write.
The third object to format and write.
Writes a formatted string to the stream using the same semantics as the method.
A composite format string.
The first object to format and write.
The second object to format and write.
Writes a formatted string to the stream, using the same semantics as the method.
A composite format string.
The object to format and write.
Writes a formatted string to the stream, using the same semantics as the method.
A composite format string.
An object array that contains zero or more objects to format and write.
Writes a formatted string to the stream, using the same semantics as .
A composite format string.
An object span that contains zero or more objects to format and write.
Writes a string to the stream.
The string to write to the stream. If is null, nothing is written.
is true or the buffer is full, and current writer is closed.
is true or the buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the is at the end the stream.
An I/O error occurs.
Asynchronously writes a character to the stream.
The character to write to the stream.
The stream writer is disposed.
The stream writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a subarray of characters to the stream.
A character array that contains the data to write.
The character position in the buffer at which to begin reading data.
The maximum number of characters to write.
is .
The plus is greater than the buffer length.
or is negative.
The stream writer is disposed.
The stream writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a character memory region to the stream.
The character memory region to write to the stream.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a string to the stream.
The string to write to the stream. If is , nothing is written.
The stream writer is disposed.
The stream writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Writes the text representation of a character span to the stream, followed by a line terminator.
The character span to write to the stream.
Writes out a formatted string and a new line to the stream, using the same semantics as .
A composite format string.
The first object to format and write.
The second object to format and write.
The third object to format and write.
Writes a formatted string and a new line to the stream, using the same semantics as the method.
A composite format string.
The first object to format and write.
The second object to format and write.
Writes a formatted string and a new line to the stream, using the same semantics as the method.
A composite format string.
The object to format and write.
Writes out a formatted string and a new line to the stream, using the same semantics as .
A composite format string.
An object array that contains zero or more objects to format and write.
Writes out a formatted string and a new line to the stream, using the same semantics as .
A composite format string.
An object span that contains zero or more objects to format and write.
Writes a string to the stream, followed by a line terminator.
The string to write. If is , only the line terminator is written.
Asynchronously writes a line terminator to the stream.
The stream writer is disposed.
The stream writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a character to the stream, followed by a line terminator.
The character to write to the stream.
The stream writer is disposed.
The stream writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a subarray of characters to the stream, followed by a line terminator.
The character array to write data from.
The character position in the buffer at which to start reading data.
The maximum number of characters to write.
is .
The plus is greater than the buffer length.
or is negative.
The stream writer is disposed.
The stream writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes the text representation of a character memory region to the stream, followed by a line terminator.
The character memory region to write to the stream.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a string to the stream, followed by a line terminator.
The string to write. If the value is , only a line terminator is written.
The stream writer is disposed.
The stream writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Gets or sets a value indicating whether the will flush its buffer to the underlying stream after every call to .
to force to flush its buffer; otherwise, .
Gets the underlying stream that interfaces with a backing store.
The stream this is writing to.
Gets the in which the output is written.
The specified in the constructor for the current instance, or if an encoding was not specified.
Implements a that reads from a string.
Initializes a new instance of the class that reads from the specified string.
The string to which the should be initialized.
The parameter is .
Closes the .
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Returns the next available character but does not consume it.
The current reader is closed.
An integer representing the next character to be read, or -1 if no more characters are available or the stream does not support seeking.
Reads the next character from the input string and advances the character position by one character.
The current reader is closed.
The next character from the underlying string, or -1 if no more characters are available.
Reads a block of characters from the input string and advances the character position by .
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The starting index in the buffer.
The number of characters to read.
is .
The buffer length minus is less than .
or is negative.
The current reader is closed.
The total number of characters read into the buffer. This can be less than the number of characters requested if that many characters are not currently available, or zero if the end of the underlying string has been reached.
Reads all the characters from the input string, starting at the current position, and advances the current position to the end of the input string.
When this method returns, contains the characters read from the current source. If the total number of characters read is zero, the span remains unmodified.
The current string reader instance is closed.
The total number of characters read into the buffer.
Reads a specified maximum number of characters from the current string asynchronously and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read. If the end of the string is reached before the specified number of characters is written into the buffer, the method returns.
is .
or is negative.
The sum of and is larger than the buffer length.
The string reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the string has been reached.
Asynchronously reads all the characters from the input string, starting at the current position, and advances the current position to the end of the input string.
When this method returns, contains the characters read from the current source.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of characters read into the buffer.
Reads all the characters from the input string starting at the current position and advances the current position to the end of the input string.
When this method returns, contains the characters read from the current source. If the total number of characters read is zero, the span remains unmodified.
The current string reader instance is closed.
The total number of characters read into the buffer.
Reads a specified maximum number of characters from the current string asynchronously and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read. If the end of the string is reached before the specified number of characters is written into the buffer, the method returns.
is .
or is negative.
The sum of and is larger than the buffer length.
The string reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the string has been reached.
Asynchronously reads all the characters from the input string starting at the current position and advances the current position to the end of the input string.
When this method returns, contains the characters read from the current source. If the total number of characters read is zero, the span remains unmodified.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task representing the asynchronous read operation. The value of the parameter contains the total number of characters read into the buffer.
Reads a line of characters from the current string and returns the data as a string.
The current reader is closed.
There is insufficient memory to allocate a buffer for the returned string.
The next line from the current string, or if the end of the string is reached.
Reads a line of characters asynchronously from the current string and returns the data as a string.
The number of characters in the next line is larger than Int32.MaxValue.
The string reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the next line from the string reader, or is if all the characters have been read.
Reads a line of characters asynchronously from the current string and returns the data as a string.
The token to monitor for cancellation requests.
The number of characters in the next line is larger than Int32.MaxValue.
The string reader has been disposed.
The reader is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A value task that represents the asynchronous read operation. The value of the TResult parameter contains the next line from the string reader, or is if all of the characters have been read.
Reads all characters from the current position to the end of the string and returns them as a single string.
There is insufficient memory to allocate a buffer for the returned string.
The current reader is closed.
The content from the current position to the end of the underlying string.
Reads all characters from the current position to the end of the string asynchronously and returns them as a single string.
The number of characters is larger than Int32.MaxValue.
The string reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains a string with the characters from the current position to the end of the string.
Reads all characters from the current position to the end of the string asynchronously and returns them as a single string.
The token to monitor for cancellation requests.
The number of characters is larger than Int32.MaxValue.
The string reader has been disposed.
The reader is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of the TResult parameter contains a string with the characters from the current position to the end of the string.
Implements a for writing information to a string. The information is stored in an underlying .
Initializes a new instance of the class.
Initializes a new instance of the class with the specified format control.
An object that controls formatting.
Initializes a new instance of the class that writes to the specified and has the specified format provider.
The object to write to.
An object that controls formatting.
is .
Initializes a new instance of the class that writes to the specified .
The object to write to.
is .
Closes the current and the underlying stream.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
A task that represents the asynchronous flush operation.
Returns the underlying .
The underlying .
Returns a string containing the characters written to the current so far.
The string containing the characters written to the current .
Writes a character to the string.
The character to write.
The writer is closed.
Writes a subarray of characters to the string.
The character array to write data from.
The position in the buffer at which to start reading data.
The maximum number of characters to write.
is .
or is negative.
( + )> . .
The writer is closed.
Writes the string representation of a span of chars to the current string.
A span of chars to write to the string.
Writes a string to the current string.
The string to write.
The writer is closed.
Writes the string representation of a string builder to the current string.
The string builder to write to the string.
Writes a character to the string asynchronously.
The character to write to the string.
The string writer is disposed.
The string writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Writes a subarray of characters to the string asynchronously.
The character array to write data from.
The position in the buffer at which to start reading data.
The maximum number of characters to write.
is .
The plus is greater than the buffer length.
or is negative.
The string writer is disposed.
The string writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a memory region of characters to the string.
The character memory region to write to the string.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a string to the current string asynchronously.
The string to write. If is , nothing is written to the text stream.
The string writer is disposed.
The string writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes the text representation of a string builder to the string.
The string builder to write to the string.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes the text representation a span of characters to the string, followed by a line terminator.
The span of characters to write to the string.
Writes the text representation of a string builder to the string, followed by a line terminator.
The string, as a string builder, to write to the string.
Asynchronously writes a character to the string, followed by a line terminator.
The character to write to the string.
The string writer is disposed.
The string writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
asynchronously writes a subarray of characters to the string, followed by a line terminator.
The character array to write data from.
The position in the buffer at which to start reading data.
The maximum number of characters to write.
is .
The plus is greater than the buffer length.
or is negative.
The string writer is disposed.
The string writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes the string representation of the memory region of characters to the current string, followed by a line terminator.
A memory region of characters to write to the string.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a string to the current string, followed by a line terminator.
The string to write. If the value is , only a line terminator is written.
The string writer is disposed.
The string writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes the string representation of the string builder to the current string, followed by a line terminator.
The string builder to write to the string.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Gets the in which the output is written.
The in which the output is written.
Represents a reader that can read a sequential series of characters.
Provides a with no data to read from.
Initializes a new instance of the class.
Closes the and releases any system resources associated with the .
Releases all resources used by the object.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the reader.
The is closed.
An I/O error occurs.
An integer representing the next character to be read, or -1 if no more characters are available or the reader does not support seeking.
Reads the next character from the text reader and advances the character position by one character.
The is closed.
An I/O error occurs.
The next character from the text reader, or -1 if no more characters are available. The default implementation returns -1.
Reads a specified maximum number of characters from the current reader and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read. If the end of the reader is reached before the specified number of characters is read into the buffer, the method returns.
is .
The buffer length minus is less than .
or is negative.
The is closed.
An I/O error occurs.
The number of characters that have been read. The number will be less than or equal to , depending on whether the data is available within the reader. This method returns 0 (zero) if it is called when no more characters are left to read.
Reads the characters from the current reader and writes the data to the specified buffer.
When this method returns, contains the specified span of characters replaced by the characters read from the current source.
is .
The number of characters read from the stream is larger than the length of the .
The number of characters that have been read. The number will be less than or equal to the length, depending on whether the data is available within the reader. This method returns 0 (zero) if it is called when no more characters are left to read.
Reads a specified maximum number of characters from the current text reader asynchronously and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read. If the end of the text is reached before the specified number of characters is read into the buffer, the current method returns.
is .
or is negative.
The sum of and is larger than the buffer length.
The text reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the text has been reached.
Asynchronously reads the characters from the current stream into a memory block.
When this method returns, contains the specified memory block of characters replaced by the characters read from the current source.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A value task that represents the asynchronous read operation. The value of the type parameter contains the number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the length, depending on whether the data is available within the stream.
Reads a specified maximum number of characters from the current text reader and writes the data to a buffer, beginning at the specified index.
When this method returns, this parameter contains the specified character array with the values between and ( + -1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read.
is .
The buffer length minus is less than .
or is negative.
The is closed.
An I/O error occurs.
The number of characters that have been read. The number will be less than or equal to , depending on whether all input characters have been read.
Reads the characters from the current stream and writes the data to a buffer.
When this method returns, contains the specified span of characters replaced by the characters read from the current source.
is .
The is closed.
An I/O error occurred.
The number of characters that have been read. The number will be less than or equal to the length, depending on whether all input characters have been read.
Reads a specified maximum number of characters from the current text reader asynchronously and writes the data to a buffer, beginning at the specified index.
When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source.
The position in at which to begin writing.
The maximum number of characters to read. If the end of the text is reached before the specified number of characters is read into the buffer, the current method returns.
is .
or is negative.
The sum of and is larger than the buffer length.
The text reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the text has been reached.
Asynchronously reads the characters from the current stream and writes the data to a buffer.
When this method returns, contains the specified memory block of characters replaced by the characters read from the current source.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A value task that represents the asynchronous read operation. The value of the type parameter contains the total number of characters read into the buffer. The result value can be less than the number of characters requested if the number of characters currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Reads a line of characters from the text reader and returns the data as a string.
An I/O error occurs.
There is insufficient memory to allocate a buffer for the returned string.
The is closed.
The number of characters in the next line is larger than Int32.MaxValue
The next line from the reader, or if all characters have been read.
Reads a line of characters asynchronously and returns the data as a string.
The number of characters in the next line is larger than Int32.MaxValue.
The text reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains the next line from the text reader, or is if all of the characters have been read.
Reads a line of characters asynchronously and returns the data as a string.
The token to monitor for cancellation requests.
The number of characters in the next line is larger than Int32.MaxValue.
The text reader has been disposed.
The reader is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A value task that represents the asynchronous read operation. The value of the TResult parameter contains the next line from the text reader, or is if all of the characters have been read.
Reads all characters from the current position to the end of the text reader and returns them as one string.
An I/O error occurs.
The is closed.
There is insufficient memory to allocate a buffer for the returned string.
The number of characters in the next line is larger than Int32.MaxValue
A string that contains all characters from the current position to the end of the text reader.
Reads all characters from the current position to the end of the text reader asynchronously and returns them as one string.
The number of characters is larger than Int32.MaxValue.
The text reader has been disposed.
The reader is currently in use by a previous read operation.
A task that represents the asynchronous read operation. The value of the parameter contains a string with the characters from the current position to the end of the text reader.
Reads all characters from the current position to the end of the text reader asynchronously and returns them as one string.
The token to monitor for cancellation requests.
The number of characters is larger than Int32.MaxValue.
The text reader has been disposed.
The reader is currently in use by a previous read operation.
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of the TResult parameter contains a string with the characters from the current position to the end of the text reader.
Creates a thread-safe wrapper around the specified .
The to synchronize.
is .
A thread-safe .
Represents a writer that can write a sequential series of characters. This class is abstract.
Stores the newline characters used for this .
Provides a with no backing store that can be written to, but not read from.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified format provider.
An object that controls formatting.
Closes the current writer and releases any system resources associated with the writer.
Creates an instance of that writes supplied inputs to each of the writers in .
The instances to which all operations should be broadcast (multiplexed).
is or it contains a .
An instance of that writes supplied inputs to each of the writers in
Releases all resources used by the object.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Asynchronously releases all resources used by the object.
A task that represents the asynchronous dispose operation.
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
The text writer is disposed.
The writer is currently in use by a previous write operation.
A task that represents the asynchronous flush operation.
Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
The to monitor for cancellation requests.
The text writer is disposed.
The writer is currently in use by a previous write operation.
The cancellation token was canceled. This exception is stored into the returned task.
A that represents the asynchronous flush operation.
Creates a thread-safe wrapper around the specified .
The to synchronize.
is .
A thread-safe wrapper.
Writes the text representation of a value to the text stream.
The value to write.
The is closed.
An I/O error occurs.
Writes a character to the text stream.
The character to write to the text stream.
The is closed.
An I/O error occurs.
Writes a subarray of characters to the text stream.
The character array to write data from.
The character position in the buffer at which to start retrieving data.
The number of characters to write.
The buffer length minus is less than .
The parameter is .
or is negative.
The is closed.
An I/O error occurs.
Writes a character array to the text stream.
The character array to write to the text stream.
The is closed.
An I/O error occurs.
Writes the text representation of a decimal value to the text stream.
The decimal value to write.
The is closed.
An I/O error occurs.
Writes the text representation of an 8-byte floating-point value to the text stream.
The 8-byte floating-point value to write.
The is closed.
An I/O error occurs.
Writes the text representation of a 4-byte signed integer to the text stream.
The 4-byte signed integer to write.
The is closed.
An I/O error occurs.
Writes the text representation of an 8-byte signed integer to the text stream.
The 8-byte signed integer to write.
The is closed.
An I/O error occurs.
Writes the text representation of an object to the text stream by calling the method on that object.
The object to write.
The is closed.
An I/O error occurs.
Writes a character span to the text stream.
The character span to write.
Writes the text representation of a 4-byte floating-point value to the text stream.
The 4-byte floating-point value to write.
The is closed.
An I/O error occurs.
Writes a formatted string to the text stream, using the same semantics as the method.
A composite format string.
The first object to format and write.
The second object to format and write.
The third object to format and write.
is .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is three).
Writes a formatted string to the text stream using the same semantics as the method.
A composite format string.
The first object to format and write.
The second object to format and write.
is .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero) or greater than or equal to the number of objects to be formatted (which, for this method overload, is two).
Writes a formatted string to the text stream, using the same semantics as the method.
A composite format string.
The object to format and write.
is .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is one).
Writes a formatted string to the text stream, using the same semantics as the method.
A composite format string.
An object array that contains zero or more objects to format and write.
or is .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the length of the array.
Writes a formatted string to the text stream, using the same semantics as .
A composite format string.
An object span that contains zero or more objects to format and write.
Writes a string to the text stream.
The string to write.
The is closed.
An I/O error occurs.
Writes a string builder to the text stream.
The string, as a string builder, to write to the text stream.
Writes the text representation of a 4-byte unsigned integer to the text stream.
The 4-byte unsigned integer to write.
The is closed.
An I/O error occurs.
Writes the text representation of an 8-byte unsigned integer to the text stream.
The 8-byte unsigned integer to write.
The is closed.
An I/O error occurs.
Writes a character to the text stream asynchronously.
The character to write to the text stream.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Writes a subarray of characters to the text stream asynchronously.
The character array to write data from.
The character position in the buffer at which to start retrieving data.
The number of characters to write.
is .
The plus is greater than the buffer length.
or is negative.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Writes a character array to the text stream asynchronously.
The character array to write to the text stream. If is , nothing is written.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a character memory region to the text stream.
The character memory region to write to the text stream.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a string to the text stream asynchronously.
The string to write. If is , nothing is written to the text stream.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a string builder to the text stream.
The string, as a string builder, to write to the text stream.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a line terminator to the text stream.
The is closed.
An I/O error occurs.
Writes the text representation of a value to the text stream, followed by a line terminator.
The value to write.
The is closed.
An I/O error occurs.
Writes a character to the text stream, followed by a line terminator.
The character to write to the text stream.
The is closed.
An I/O error occurs.
Writes a subarray of characters to the text stream, followed by a line terminator.
The character array from which data is read.
The character position in at which to start reading data.
The maximum number of characters to write.
The buffer length minus is less than .
The parameter is .
or is negative.
The is closed.
An I/O error occurs.
Writes an array of characters to the text stream, followed by a line terminator.
The character array from which data is read.
The is closed.
An I/O error occurs.
Writes the text representation of a decimal value to the text stream, followed by a line terminator.
The decimal value to write.
The is closed.
An I/O error occurs.
Writes the text representation of a 8-byte floating-point value to the text stream, followed by a line terminator.
The 8-byte floating-point value to write.
The is closed.
An I/O error occurs.
Writes the text representation of a 4-byte signed integer to the text stream, followed by a line terminator.
The 4-byte signed integer to write.
The is closed.
An I/O error occurs.
Writes the text representation of an 8-byte signed integer to the text stream, followed by a line terminator.
The 8-byte signed integer to write.
The is closed.
An I/O error occurs.
Writes the text representation of an object to the text stream, by calling the method on that object, followed by a line terminator.
The object to write. If is , only the line terminator is written.
The is closed.
An I/O error occurs.
Writes the text representation of a character span to the text stream, followed by a line terminator.
The char span value to write to the text stream.
Writes the text representation of a 4-byte floating-point value to the text stream, followed by a line terminator.
The 4-byte floating-point value to write.
The is closed.
An I/O error occurs.
Writes out a formatted string and a new line to the text stream, using the same semantics as .
A composite format string.
The first object to format and write.
The second object to format and write.
The third object to format and write.
is .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is three).
Writes a formatted string and a new line to the text stream, using the same semantics as the method.
A composite format string.
The first object to format and write.
The second object to format and write.
is .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is two).
Writes a formatted string and a new line to the text stream, using the same semantics as the method.
A composite format string.
The object to format and write.
is .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is one).
Writes out a formatted string and a new line to the text stream, using the same semantics as .
A composite format string.
An object array that contains zero or more objects to format and write.
A string or object is passed in as .
The is closed.
An I/O error occurs.
is not a valid composite format string.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the length of the array.
Writes out a formatted string and a new line to the text stream, using the same semantics as .
A composite format string.
An object span that contains zero or more objects to format and write.
Writes a string to the text stream, followed by a line terminator.
The string to write. If is , only the line terminator is written.
The is closed.
An I/O error occurs.
Writes the text representation of a string builder to the text stream, followed by a line terminator.
The string, as a string builder, to write to the text stream.
Writes the text representation of a 4-byte unsigned integer to the text stream, followed by a line terminator.
The 4-byte unsigned integer to write.
The is closed.
An I/O error occurs.
Writes the text representation of an 8-byte unsigned integer to the text stream, followed by a line terminator.
The 8-byte unsigned integer to write.
The is closed.
An I/O error occurs.
Asynchronously writes a line terminator to the text stream.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a character to the text stream, followed by a line terminator.
The character to write to the text stream.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes a subarray of characters to the text stream, followed by a line terminator.
The character array to write data from.
The character position in the buffer at which to start retrieving data.
The number of characters to write.
is .
The plus is greater than the buffer length.
or is negative.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes an array of characters to the text stream, followed by a line terminator.
The character array to write to the text stream. If the character array is , only the line terminator is written.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes the text representation of a character memory region to the text stream, followed by a line terminator.
The character memory region to write to the text stream.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a string to the text stream, followed by a line terminator.
The string to write. If the value is , only a line terminator is written.
The text writer is disposed.
The text writer is currently in use by a previous write operation.
A task that represents the asynchronous write operation.
Asynchronously writes the text representation of a string builder to the text stream, followed by a line terminator.
The string, as a string builder, to write to the text stream.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
When overridden in a derived class, returns the character encoding in which the output is written.
The character encoding in which the output is written.
Gets an object that controls formatting.
An object for a specific culture, or the formatting of the current culture if no other culture is specified.
Gets or sets the line terminator string used by the current .
The line terminator string for the current .
Represents the Unix filesystem permissions.
This enumeration supports a bitwise combination of its member values.
Execute permission for group.
Read permission for group.
Write permission for group.
No permissions.
Execute permission for others.
Read permission for others.
Write permission for others.
Set group permission.
Set user permission.
Sticky bit permission.
Execute permission for owner.
Read permission for owner.
Write permission for owner.
Provides access to unmanaged blocks of memory from managed code.
Initializes a new instance of the class.
The user does not have the required permission.
Initializes a new instance of the class using the specified location, memory length, total amount of memory, and file access values.
A pointer to an unmanaged memory location.
The length of the memory to use.
The total amount of memory assigned to the stream.
One of the values.
The user does not have the required permission.
The value is .
The value is less than zero.
-or-
The value is less than zero.
-or-
The value is greater than the value.
Initializes a new instance of the class using the specified location and memory length.
A pointer to an unmanaged memory location.
The length of the memory to use.
The user does not have the required permission.
The value is .
The value is less than zero.
-or-
The is large enough to cause an overflow.
Initializes a new instance of the class in a safe buffer with a specified offset, length, and file access.
The buffer to contain the unmanaged memory stream.
The byte position in the buffer at which to start the unmanaged memory stream.
The length of the unmanaged memory stream.
The mode of file access to the unmanaged memory stream.
Initializes a new instance of the class in a safe buffer with a specified offset and length.
The buffer to contain the unmanaged memory stream.
The byte position in the buffer at which to start the unmanaged memory stream.
The length of the unmanaged memory stream.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Overrides the method so that no action is performed.
The stream is closed.
Overrides the method so that the operation is cancelled if specified, but no other action is performed.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous flush operation.
Initializes a new instance of the class by using a pointer to an unmanaged memory location.
A pointer to an unmanaged memory location.
The length of the memory to use.
The total amount of memory assigned to the stream.
One of the values.
The user does not have the required permission.
The value is .
The value is less than zero.
-or-
The value is less than zero.
-or-
The value is large enough to cause an overflow.
Initializes a new instance of the class in a safe buffer with a specified offset, length, and file access.
The buffer to contain the unmanaged memory stream.
The byte position in the buffer at which to start the unmanaged memory stream.
The length of the unmanaged memory stream.
The mode of file access to the unmanaged memory stream.
Reads the specified number of bytes into the specified array.
When this method returns, contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. This parameter is passed uninitialized.
The zero-based byte offset in at which to begin storing the data read from the current stream.
The maximum number of bytes to read from the current stream.
The stream is closed.
The underlying memory does not support reading.
-or-
The property is set to .
The parameter is set to .
The parameter is less than zero.
-or-
The parameter is less than zero.
The length of the buffer array minus the parameter is less than the parameter.
The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
Reads all the bytes of this unmanaged memory stream into the specified span of bytes.
The total number of bytes read into the destination.
Asynchronously reads the specified number of bytes into the specified array.
The buffer to write the data into.
The byte offset in at which to begin writing data from the stream.
The maximum number of bytes to read.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.
Asynchronously reads the unmanaged memory stream bytes into the memory region.
When the asynchronous method finishes, this memory region contains all the bytes read from the unmanaged memory stream.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous read operation, and wraps the total number of bytes read into the buffer.
Reads a byte from a stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
The stream is closed.
The underlying memory does not support reading.
-or-
The current position is at the end of the stream.
The unsigned byte cast to an object, or -1 if at the end of the stream.
Sets the current position of the current stream to the given value.
The point relative to origin to begin seeking from.
Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type .
An attempt was made to seek before the beginning of the stream.
The value is larger than the maximum size of the stream.
is invalid.
The stream is closed.
The new position in the stream.
Sets the length of a stream to a specified value.
The length of the stream.
An I/O error has occurred.
The stream is closed.
The underlying memory does not support writing.
-or-
An attempt is made to write to the stream and the property is .
The specified exceeds the capacity of the stream.
-or-
The specified is negative.
Writes a block of bytes to the current stream using data from a buffer.
The byte array from which to copy bytes to the current stream.
The offset in the buffer at which to begin copying bytes to the current stream.
The number of bytes to write to the current stream.
The stream is closed.
The underlying memory does not support writing.
-or-
An attempt is made to write to the stream and the property is .
-or-
The value is greater than the capacity of the stream.
-or-
The position is at the end of the stream capacity.
An I/O error occurs.
One of the specified parameters is less than zero.
The parameter minus the length of the parameter is less than the parameter.
The parameter is .
Writes a block of bytes to the current unmanaged memory stream using data from the provided span of bytes.
Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
The buffer to write data from.
The zero-based byte offset in from which to begin copying bytes to the stream.
The maximum number of bytes to write.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Asynchronously writes a span of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
The buffer to write data from.
The token to monitor for cancellation requests. The default value is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the asynchronous write operation.
Writes a byte to the current position in the file stream.
A byte value written to the stream.
The stream is closed.
The underlying memory does not support writing.
-or-
An attempt is made to write to the stream and the property is .
-or-
The current position is at the end of the capacity of the stream.
The supplied causes the stream exceed its maximum capacity.
Gets a value indicating whether a stream supports reading.
if the object was created by a constructor with an parameter that did not include reading the stream and if the stream is closed; otherwise, .
Gets a value indicating whether a stream supports seeking.
if the stream is closed; otherwise, .
Gets a value indicating whether a stream supports writing.
if the object was created by a constructor with an parameter value that supports writing or was created by a constructor that had no parameters, or if the stream is closed; otherwise, .
Gets the stream length (size) or the total amount of memory assigned to a stream (capacity).
The stream is closed.
The size or capacity of the stream.
Gets the length of the data in a stream.
The stream is closed.
The length of the data in the stream.
Gets or sets the current position in a stream.
The stream is closed.
The position is set to a value that is less than zero, or the position is larger than Int32.MaxValue or results in overflow when added to the current pointer.
The current position in the stream.
Gets or sets a byte pointer to a stream based on the current position in the stream.
The current position is larger than the capacity of the stream.
The position is being set is not a valid position in the current stream.
The pointer is being set to a lower value than the starting position of the stream.
The stream was initialized for use with a . The property is valid only for streams that are initialized with a pointer.
A byte pointer.
Defines a provider for push-based notification.
The object that provides notification information.
Notifies the provider that an observer is to receive notifications.
The object that is to receive notifications.
A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.
Provides a mechanism for receiving push-based notifications.
The object that provides notification information.
Notifies the observer that the provider has finished sending push-based notifications.
Notifies the observer that the provider has experienced an error condition.
An object that provides additional information about the error.
Provides the observer with new data.
The current notification information.
Defines a mechanism for parsing a string to a value.
The type that implements this interface.
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
is .
is not in the correct format.
is not representable by .
The result of parsing .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Defines a provider for progress updates.
The type of progress update value.
Reports a progress update.
The value of the updated progress.
Provides functionality to format the string representation of an object into a span.
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Defines a mechanism for parsing a span of characters to a value.
The type that implements this interface.
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
is not in the correct format.
is not representable by .
The result of parsing .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Provides functionality to format the string representation of an object into a span as UTF-8.
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Defines a mechanism for parsing a span of UTF-8 characters to a value.
The type that implements this interface.
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
is not in the correct format.
is not representable by .
The result of parsing .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Provides support for lazy initialization.
The type of object that is being lazily initialized.
Initializes a new instance of the class. When lazy initialization occurs, the parameterless constructor of the target type is used.
Initializes a new instance of the class that uses a preinitialized specified value.
The preinitialized value to be used.
Initializes a new instance of the class. When lazy initialization occurs, the parameterless constructor of the target type and the specified initialization mode are used.
to make this instance usable concurrently by multiple threads; to make the instance usable by only one thread at a time.
Initializes a new instance of the class. When lazy initialization occurs, the specified initialization function and initialization mode are used.
The delegate that is invoked to produce the lazily initialized value when it is needed.
to make this instance usable concurrently by multiple threads; to make this instance usable by only one thread at a time.
is .
Initializes a new instance of the class that uses the specified initialization function and thread-safety mode.
The delegate that is invoked to produce the lazily initialized value when it is needed.
One of the enumeration values that specifies the thread safety mode.
contains an invalid value.
is .
Initializes a new instance of the class. When lazy initialization occurs, the specified initialization function is used.
The delegate that is invoked to produce the lazily initialized value when it is needed.
is .
Initializes a new instance of the class that uses the parameterless constructor of and the specified thread-safety mode.
One of the enumeration values that specifies the thread safety mode.
contains an invalid value.
Creates and returns a string representation of the property for this instance.
The property is .
The result of calling the method on the property for this instance, if the value has been created (that is, if the property returns ). Otherwise, a string indicating that the value has not been created.
Gets a value that indicates whether a value has been created for this instance.
if a value has been created for this instance; otherwise, .
Gets the lazily initialized value of the current instance.
The instance is initialized to use the parameterless constructor of the type that is being lazily initialized, and permissions to access the constructor are missing.
The instance is initialized to use the parameterless constructor of the type that is being lazily initialized, and that type does not have a public, parameterless constructor.
The initialization function tries to access on this instance.
The lazily initialized value of the current instance.
Provides a lazy indirect reference to an object and its associated metadata for use by the Managed Extensibility Framework.
The type of the object referenced.
The type of the metadata.
Initializes a new instance of the class with the specified metadata and thread safety value.
The metadata associated with the referenced object.
Indicates whether the object that is created will be thread-safe.
Initializes a new instance of the class with the specified metadata and thread synchronization mode.
The metadata associated with the referenced object.
The thread synchronization mode.
Initializes a new instance of the class with the specified metadata.
The metadata associated with the referenced object.
Initializes a new instance of the class with the specified metadata and thread safety value that uses the specified function to get the referenced object.
A function that returns the referenced object.
The metadata associated with the referenced object.
Indicates whether the object that is created will be thread-safe.
Initializes a new instance of the class with the specified metadata and thread synchronization mode that uses the specified function to get the referenced object.
A function that returns the referenced object.
The metadata associated with the referenced object.
The thread synchronization mode.
Initializes a new instance of the class with the specified metadata that uses the specified function to get the referenced object.
A function that returns the referenced object.
The metadata associated with the referenced object.
Gets the metadata associated with the referenced object.
The metadata associated with the referenced object.
A customizable parser based on the Lightweight Directory Access Protocol (LDAP) scheme.
Creates a customizable parser based on the Lightweight Directory Access Protocol (LDAP) scheme.
An enumeration used with the class to specify loader optimizations for an executable.
Ignored by the common language runtime.
Do not use. This mask selects the domain-related values, screening out the unused flag.
Indicates that the application will probably have many domains that use the same code, and the loader must share maximal internal resources across application domains.
Indicates that the application will probably host unique code in multiple domains, and the loader must share resources across application domains only for globally available (strong-named) assemblies that have been added to the global assembly cache.
Indicates that no optimizations for sharing internal resources are specified. If the default domain or hosting interface specified an optimization, then the loader uses that; otherwise, the loader uses .
Indicates that the application will probably have a single domain, and loader must not share internal resources across application domains.
Used to set the default loader optimization policy for the main method of an executable application.
Initializes a new instance of the class to the specified value.
A value equivalent to a constant.
Initializes a new instance of the class to the specified value.
A constant.
Gets the current value for this instance.
A constant.
Enables access to objects across application domain boundaries in applications that support remoting.
Initializes a new instance of the class.
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
The immediate caller does not have infrastructure permission.
.NET Core and .NET 5+ only: In all cases.
An object of type used to control the lifetime policy for this instance.
Obtains a lifetime service object to control the lifetime policy for this instance.
The immediate caller does not have infrastructure permission.
.NET Core and .NET 5+ only: In all cases.
An object of type used to control the lifetime policy for this instance. This is the current lifetime service object for this instance if one exists; otherwise, a new lifetime service object initialized to the value of the property.
Creates a shallow copy of the current object.
to delete the current object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of is usually appropriate. to copy the current object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.
A shallow copy of the current object.
Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.
Represents the natural logarithmic base, specified by the constant, .
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.
Represents the number of radians in one turn, specified by the constant, τ.
Returns the absolute value of a number.
A number that is greater than or equal to Decimal.MinValue, but less than or equal to Decimal.MaxValue.
A decimal number, x, such that 0 ≤ x ≤ Decimal.MaxValue.
Returns the absolute value of a double-precision floating-point number.
A number that is greater than or equal to Double.MinValue, but less than or equal to Double.MaxValue.
A double-precision floating-point number, x, such that 0 ≤ x ≤ Double.MaxValue.
Returns the absolute value of a 16-bit signed integer.
A number that is greater than Int16.MinValue, but less than or equal to Int16.MaxValue.
equals Int16.MinValue.
A 16-bit signed integer, x, such that 0 ≤ x ≤ Int16.MaxValue.
Returns the absolute value of a 32-bit signed integer.
A number that is greater than Int32.MinValue, but less than or equal to Int32.MaxValue.
equals Int32.MinValue.
A 32-bit signed integer, x, such that 0 ≤ x ≤ Int32.MaxValue.
Returns the absolute value of a 64-bit signed integer.
A number that is greater than Int64.MinValue, but less than or equal to Int64.MaxValue.
equals Int64.MinValue.
A 64-bit signed integer, x, such that 0 ≤ x ≤ Int64.MaxValue.
Returns the absolute value of a native signed integer.
A number that is greater than , but less than or equal to .
A native signed integer, x, such that 0 ≤ x ≤ .
Returns the absolute value of an 8-bit signed integer.
A number that is greater than SByte.MinValue, but less than or equal to SByte.MaxValue.
equals SByte.MinValue.
An 8-bit signed integer, x, such that 0 ≤ x ≤ SByte.MaxValue.
Returns the absolute value of a single-precision floating-point number.
A number that is greater than or equal to Single.MinValue, but less than or equal to Single.MaxValue.
A single-precision floating-point number, x, such that 0 ≤ x ≤ Single.MaxValue.
Returns the angle whose cosine is the specified number.
A number representing a cosine, where must be greater than or equal to -1, but less than or equal to 1.
An angle, θ, measured in radians, such that 0 ≤ θ ≤ π.
-or-
if < -1 or > 1 or equals .
Returns the angle whose hyperbolic cosine is the specified number.
A number representing a hyperbolic cosine, where must be greater than or equal to 1, but less than or equal to .
An angle, θ, measured in radians, such that 0 ≤ θ ≤ ∞.
-or-
if < 1 or equals .
Returns the angle whose sine is the specified number.
A number representing a sine, where must be greater than or equal to -1, but less than or equal to 1.
An angle, θ, measured in radians, such that -π/2 ≤ θ ≤ π/2.
-or-
if < -1 or > 1 or equals .
Returns the angle whose hyperbolic sine is the specified number.
A number representing a hyperbolic sine, where must be greater than or equal to , but less than or equal to .
An angle, θ, measured in radians.
-or-
if equals .
Returns the angle whose tangent is the specified number.
A number representing a tangent.
An angle, θ, measured in radians, such that -π/2 ≤ θ ≤ π/2.
-or-
if equals , -π/2 rounded to double precision (-1.5707963267949) if equals , or π/2 rounded to double precision (1.5707963267949) if equals .
Returns the angle whose tangent is the quotient of two specified numbers.
The y coordinate of a point.
The x coordinate of a point.
An angle, θ, measured in radians, such that tan(θ) = / , where (, ) is a point in the Cartesian plane. Observe the following:
- For (, ) in quadrant 1, 0 < θ < π/2.
- For (, ) in quadrant 2, π/2 < θ ≤ π.
- For (, ) in quadrant 3, -π ≤ θ < -π/2.
- For (, ) in quadrant 4, -π/2 < θ < 0.
For points on the boundaries of the quadrants, the return value is the following:
- If y is 0 and x is not negative, θ = 0.
- If y is 0 and x is negative, θ = π.
- If y is positive and x is 0, θ = π/2.
- If y is negative and x is 0, θ = -π/2.
- If y is 0 and x is 0, θ = 0.
If or is , or if and are either or , the method returns .
Returns the angle whose hyperbolic tangent is the specified number.
A number representing a hyperbolic tangent, where must be greater than or equal to -1, but less than or equal to 1.
An angle, θ, measured in radians, such that -∞ < θ < -1, or 1 < θ < ∞.
-or-
if < -1 or > 1 or equals .
Produces the full product of two 32-bit numbers.
The first number to multiply.
The second number to multiply.
The number containing the product of the specified numbers.
Produces the full product of two 64-bit numbers.
The first number to multiply.
The second number to multiply.
When this method returns, contains the low 64-bit of the product of the specified numbers.
The high 64-bit of the product of the specified numbers.
Produces the full product of two 64-bit numbers.
The first number to multiply.
The second number to multiply.
The full product of the specified numbers.
Produces the full product of two unsigned 32-bit numbers.
The first number to multiply.
The second number to multiply.
The number containing the product of the specified numbers.
Produces the full product of two unsigned 64-bit numbers.
The first number to multiply.
The second number to multiply.
When this method returns, contains the low 64-bit of the product of the specified numbers.
The high 64-bit of the product of the specified numbers.
Produces the full product of two unsigned 64-bit numbers.
The first number to multiply.
The second number to multiply.
The full product of the specified numbers.
Returns the largest value that compares less than a specified value.
The value to decrement.
The largest value that compares less than .
-or-
if equals .
-or-
if equals .
Returns the smallest value that compares greater than a specified value.
The value to increment.
The smallest value that compares greater than .
-or-
if equals .
-or-
if equals .
Returns the cube root of a specified number.
The number whose cube root is to be found.
The cube root of .
-or-
if equals .
Returns the smallest integral value that is greater than or equal to the specified decimal number.
A decimal number.
The smallest integral value that is greater than or equal to . Note that this method returns a instead of an integral type.
Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point number.
A double-precision floating-point number.
The smallest integral value that is greater than or equal to . If is equal to , , or , that value is returned. Note that this method returns a instead of an integral type.
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if <.
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
-or-
if equals .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
-or-
if equals .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns clamped to the inclusive range of and .
The value to be clamped.
The lower bound of the result.
The upper bound of the result.
is less than .
if ≤ ≤ .
-or-
if < .
-or-
if < .
Returns a value with the magnitude of and the sign of .
A number whose magnitude is used in the result.
A number whose sign is the used in the result.
A value with the magnitude of and the sign of .
Returns the cosine of the specified angle.
An angle, measured in radians.
The cosine of . If is equal to , , or , this method returns .
Returns the hyperbolic cosine of the specified angle.
An angle, measured in radians.
The hyperbolic cosine of . If is equal to or , is returned. If is equal to , is returned.
Produces the quotient and the remainder of two unsigned 8-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Produces the quotient and the remainder of two signed 16-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Calculates the quotient of two 32-bit signed integers and also returns the remainder in an output parameter.
The dividend.
The divisor.
When this method returns, contains the remainder.
is zero.
The quotient of the specified numbers.
Produces the quotient and the remainder of two signed 32-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter.
The dividend.
The divisor.
When this method returns, contains the remainder.
is zero.
The quotient of the specified numbers.
Produces the quotient and the remainder of two signed 64-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Produces the quotient and the remainder of two signed native-size numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Produces the quotient and the remainder of two signed 8-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Produces the quotient and the remainder of two unsigned 16-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Produces the quotient and the remainder of two unsigned 32-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Produces the quotient and the remainder of two unsigned 64-bit numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Produces the quotient and the remainder of two unsigned native-size numbers.
The dividend.
The divisor.
The quotient and the remainder of the specified numbers.
Returns raised to the specified power.
A number specifying a power.
The number raised to the power . If equals or , that value is returned. If equals , 0 is returned.
Returns the largest integral value less than or equal to the specified decimal number.
A decimal number.
The largest integral value less than or equal to . Note that the method returns an integral value of type .
Returns the largest integral value less than or equal to the specified double-precision floating-point number.
A double-precision floating-point number.
The largest integral value less than or equal to . If is equal to , , or , that value is returned.
Returns (x * y) + z, rounded as one ternary operation.
The number to be multiplied with .
The number to be multiplied with .
The number to be added to the result of multiplied by .
(x * y) + z, rounded as one ternary operation.
Returns the remainder resulting from the division of a specified number by another specified number.
A dividend.
A divisor.
A number equal to - ( Q), where Q is the quotient of / rounded to the nearest integer (if / falls halfway between two integers, the even integer is returned).
If - ( Q) is zero, the value +0 is returned if is positive, or -0 if is negative.
If = 0, is returned.
Returns the base 2 integer logarithm of a specified number.
The number whose logarithm is to be found.
One of the values in the following table.
parameter Return value- Default The base 2 integer log of ; that is, (int)log2().
- ZeroInt32.MinValue
- Equal to or or Int32.MaxValue
Returns the logarithm of a specified number in a specified base.
The number whose logarithm is to be found.
The base of the logarithm.
One of the values in the following table. (+Infinity denotes , -Infinity denotes , and NaN denotes .)
Return value- > 0 (0 << 1) -or- (> 1) lognewBase(a)
- < 0 (any value) NaN
- (any value)< 0 NaN
- != 1 = 0 NaN
- != 1 = +Infinity NaN
- = NaN (any value) NaN
- (any value) = NaN NaN
- (any value) = 1 NaN
- = 0 0 << 1 +Infinity
- = 0> 1 -Infinity
- = +Infinity 0 << 1 -Infinity
- = +Infinity> 1 +Infinity
- = 1 = 0 0
- = 1 = +Infinity 0
Returns the natural (base ) logarithm of a specified number.
The number whose logarithm is to be found.
One of the values in the following table.
parameter Return value- Positive The natural logarithm of ; that is, ln , or log e
- Zero
- Negative
- Equal to
- Equal to
Returns the base 10 logarithm of a specified number.
A number whose logarithm is to be found.
One of the values in the following table.
parameter Return value- Positive The base 10 log of ; that is, log 10.
- Zero
- Negative
- Equal to
- Equal to
Returns the base 2 logarithm of a specified number.
A number whose logarithm is to be found.
One of the values in the following table.
parameter Return value- Positive The base 2 log of ; that is, log 2.
- Zero
- Negative
- Equal to
- Equal to
Returns the larger of two 8-bit unsigned integers.
The first of two 8-bit unsigned integers to compare.
The second of two 8-bit unsigned integers to compare.
Parameter or , whichever is larger.
Returns the larger of two decimal numbers.
The first of two decimal numbers to compare.
The second of two decimal numbers to compare.
Parameter or , whichever is larger.
Returns the larger of two double-precision floating-point numbers.
The first of two double-precision floating-point numbers to compare.
The second of two double-precision floating-point numbers to compare.
Parameter or , whichever is larger. If , , or both and are equal to , is returned.
Returns the larger of two 16-bit signed integers.
The first of two 16-bit signed integers to compare.
The second of two 16-bit signed integers to compare.
Parameter or , whichever is larger.
Returns the larger of two 32-bit signed integers.
The first of two 32-bit signed integers to compare.
The second of two 32-bit signed integers to compare.
Parameter or , whichever is larger.
Returns the larger of two 64-bit signed integers.
The first of two 64-bit signed integers to compare.
The second of two 64-bit signed integers to compare.
Parameter or , whichever is larger.
Returns the larger of two native signed integers.
The first of two native signed integers to compare.
The second of two native signed integers to compare.
Parameter or , whichever is larger.
Returns the larger of two 8-bit signed integers.
The first of two 8-bit signed integers to compare.
The second of two 8-bit signed integers to compare.
Parameter or , whichever is larger.
Returns the larger of two single-precision floating-point numbers.
The first of two single-precision floating-point numbers to compare.
The second of two single-precision floating-point numbers to compare.
Parameter or , whichever is larger. If , or , or both and are equal to , is returned.
Returns the larger of two 16-bit unsigned integers.
The first of two 16-bit unsigned integers to compare.
The second of two 16-bit unsigned integers to compare.
Parameter or , whichever is larger.
Returns the larger of two 32-bit unsigned integers.
The first of two 32-bit unsigned integers to compare.
The second of two 32-bit unsigned integers to compare.
Parameter or , whichever is larger.
Returns the larger of two 64-bit unsigned integers.
The first of two 64-bit unsigned integers to compare.
The second of two 64-bit unsigned integers to compare.
Parameter or , whichever is larger.
Returns the larger of two native unsigned integers.
The first of two native unsigned integers to compare.
The second of two native unsigned integers to compare.
Parameter or , whichever is larger.
Returns the larger magnitude of two double-precision floating-point numbers.
The first of two double-precision floating-point numbers to compare.
The second of two double-precision floating-point numbers to compare.
Parameter or , whichever has the larger magnitude. If , or , or both and are equal to , is returned.
Returns the smaller of two 8-bit unsigned integers.
The first of two 8-bit unsigned integers to compare.
The second of two 8-bit unsigned integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two decimal numbers.
The first of two decimal numbers to compare.
The second of two decimal numbers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two double-precision floating-point numbers.
The first of two double-precision floating-point numbers to compare.
The second of two double-precision floating-point numbers to compare.
Parameter or , whichever is smaller. If , , or both and are equal to , is returned.
Returns the smaller of two 16-bit signed integers.
The first of two 16-bit signed integers to compare.
The second of two 16-bit signed integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two 32-bit signed integers.
The first of two 32-bit signed integers to compare.
The second of two 32-bit signed integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two 64-bit signed integers.
The first of two 64-bit signed integers to compare.
The second of two 64-bit signed integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two native signed integers.
The first of two native signed integers to compare.
The second of two native signed integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two 8-bit signed integers.
The first of two 8-bit signed integers to compare.
The second of two 8-bit signed integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two single-precision floating-point numbers.
The first of two single-precision floating-point numbers to compare.
The second of two single-precision floating-point numbers to compare.
Parameter or , whichever is smaller. If , , or both and are equal to , is returned.
Returns the smaller of two 16-bit unsigned integers.
The first of two 16-bit unsigned integers to compare.
The second of two 16-bit unsigned integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two 32-bit unsigned integers.
The first of two 32-bit unsigned integers to compare.
The second of two 32-bit unsigned integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two 64-bit unsigned integers.
The first of two 64-bit unsigned integers to compare.
The second of two 64-bit unsigned integers to compare.
Parameter or , whichever is smaller.
Returns the smaller of two native unsigned integers.
The first of two native unsigned integers to compare.
The second of two native unsigned integers to compare.
Parameter or , whichever is smaller.
Returns the smaller magnitude of two double-precision floating-point numbers.
The first of two double-precision floating-point numbers to compare.
The second of two double-precision floating-point numbers to compare.
Parameter or , whichever has the smaller magnitude. If , or , or both and are equal to , is returned.
Returns a specified number raised to the specified power.
A double-precision floating-point number to be raised to a power.
A double-precision floating-point number that specifies a power.
The number raised to the power .
Returns an estimate of the reciprocal of a specified number.
The number whose reciprocal is to be estimated.
An estimate of the reciprocal of .
Returns an estimate of the reciprocal square root of a specified number.
The number whose reciprocal square root is to be estimated.
An estimate of the reciprocal square root .
Rounds a decimal value to a specified number of fractional digits using the specified rounding convention.
A decimal number to be rounded.
The number of decimal places in the return value.
One of the enumeration values that specifies which rounding strategy to use.
is less than 0 or greater than 28.
is not a valid value of .
The result is outside the range of a .
The number with fractional digits that is rounded to. If has fewer fractional digits than , is returned unchanged.
Rounds a decimal value to a specified number of fractional digits, and rounds midpoint values to the nearest even number.
A decimal number to be rounded.
The number of decimal places in the return value.
is less than 0 or greater than 28.
The result is outside the range of a .
The number nearest to that contains a number of fractional digits equal to .
Rounds a decimal value an integer using the specified rounding convention.
A decimal number to be rounded.
One of the enumeration values that specifies which rounding strategy to use.
is not a valid value of .
The result is outside the range of a .
The integer that is rounded to. This method returns a instead of an integral type.
Rounds a decimal value to the nearest integral value, and rounds midpoint values to the nearest even number.
A decimal number to be rounded.
The result is outside the range of a .
The integer nearest the parameter. If the fractional component of is halfway between two integers, one of which is even and the other odd, the even number is returned. Note that this method returns a instead of an integral type.
Rounds a double-precision floating-point value to a specified number of fractional digits using the specified rounding convention.
A double-precision floating-point number to be rounded.
The number of fractional digits in the return value.
One of the enumeration values that specifies which rounding strategy to use.
is less than 0 or greater than 15.
is not a valid value of .
The number that has fractional digits that is rounded to. If has fewer fractional digits than , is returned unchanged.
Rounds a double-precision floating-point value to a specified number of fractional digits, and rounds midpoint values to the nearest even number.
A double-precision floating-point number to be rounded.
The number of fractional digits in the return value.
is less than 0 or greater than 15.
The number nearest to that contains a number of fractional digits equal to .
Rounds a double-precision floating-point value to an integer using the specified rounding convention.
A double-precision floating-point number to be rounded.
One of the enumeration values that specifies which rounding strategy to use.
is not a valid value of .
The integer that is rounded to. This method returns a instead of an integral type.
Rounds a double-precision floating-point value to the nearest integral value, and rounds midpoint values to the nearest even number.
A double-precision floating-point number to be rounded.
The integer nearest . If the fractional component of is halfway between two integers, one of which is even and the other odd, then the even number is returned. Note that this method returns a instead of an integral type.
Returns x * 2^n computed efficiently.
A double-precision floating-point number that specifies the base value.
A 32-bit integer that specifies the power.
x * 2^n computed efficiently.
Returns an integer that indicates the sign of a decimal number.
A signed decimal number.
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns an integer that indicates the sign of a double-precision floating-point number.
A signed number.
is equal to .
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns an integer that indicates the sign of a 16-bit signed integer.
A signed number.
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns an integer that indicates the sign of a 32-bit signed integer.
A signed number.
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns an integer that indicates the sign of a 64-bit signed integer.
A signed number.
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns an integer that indicates the sign of a native-sized signed integer.
A signed number.
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns an integer that indicates the sign of an 8-bit signed integer.
A signed number.
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns an integer that indicates the sign of a single-precision floating-point number.
A signed number.
is equal to .
A number that indicates the sign of , as shown in the following table.
Return value Meaning- -1 is less than zero.
- 0 is equal to zero.
- 1 is greater than zero.
Returns the sine of the specified angle.
An angle, measured in radians.
The sine of . If is equal to , , or , this method returns .
Returns the sine and cosine of the specified angle.
An angle, measured in radians.
The sine and cosine of . If is equal to , , or , this method returns .
Returns the hyperbolic sine of the specified angle.
An angle, measured in radians.
The hyperbolic sine of . If is equal to , , or , this method returns a equal to .
Returns the square root of a specified number.
The number whose square root is to be found.
One of the values in the following table.
parameter Return value- Zero or positive The positive square root of .
- Negative
- Equals
- Equals
Returns the tangent of the specified angle.
An angle, measured in radians.
The tangent of . If is equal to , , or , this method returns .
Returns the hyperbolic tangent of the specified angle.
An angle, measured in radians.
The hyperbolic tangent of . If is equal to , this method returns -1. If value is equal to , this method returns 1. If is equal to , this method returns .
Calculates the integral part of a specified decimal number.
A number to truncate.
The integral part of ; that is, the number that remains after any fractional digits have been discarded.
Calculates the integral part of a specified double-precision floating-point number.
A number to truncate.
The integral part of ; that is, the number that remains after any fractional digits have been discarded, or one of the values listed in the following table.
Return value
Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.
Represents the natural logarithmic base, specified by the constant, e.
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, p.
Represents the number of radians in one turn, specified by the constant, τ.
Returns the absolute value of a single-precision floating-point number.
The number to take the absolute value of.
The absolute value of
Returns the angle whose cosine is the specified number.
The number to take the acos of.
The acos of
Returns the angle whose hyperbolic cosine is the specified number.
A number representing a hyperbolic cosine, where must be greater than or equal to 1, but less than or equal to .
An angle, θ, measured in radians, such that 0 ≤ θ ≤ ∞.
-or-
if < 1 or equals .
Returns the angle whose sine is the specified number.
The number to take the asin of.
The asin of
Returns the angle whose hyperbolic sine is the specified number.
A number representing a hyperbolic sine, where must be greater than or equal to , but less than or equal to .
An angle, θ, measured in radians.
-or-
if equals .
Returns the angle whose tangent is the specified number.
The number to take the atan of.
The atan of
Returns the angle whose tangent is the quotient of two specified numbers.
The first number.
The second number.
The angle whose tangent is the quotient of and
Returns the angle whose hyperbolic tangent is the specified number.
A number representing a hyperbolic tangent, where must be greater than or equal to -1, but less than or equal to 1.
An angle, θ, measured in radians, such that -∞ < θ <-1, or 1 < θ < ∞.
-or-
if < -1 or > 1 or equals .
Returns the largest value that compares less than a specified value.
The value to decrement.
The largest value that compares less than .
-or-
if is equals .
-or-
if equals .
Returns the smallest value that compares greater than a specified value.
The value to increment.
The smallest value that compares greater than .
-or-
if equals .
-or-
if is equals .
Returns the cube root of a specified number.
The number whose cube root is to be found.
The cube root of .
-or-
if is equals .
Returns the smallest integral value that is greater than or equal to the specified single-precision floating-point number.
The number to take the ceiling of.
The ceiling of
Returns a value with the magnitude of and the sign of .
A number whose magnitude is used in the result.
A number whose sign is the used in the result.
A value with the magnitude of and the sign of .
Returns the cosine of the specified angle.
The angle to take the cosine of.
The cosine of
Returns the hyperbolic cosine of the specified angle.
The angle to take the hyperbolic cosine of.
The hyperbolic cosine of
Returns e raised to the specified power.
The number to raise e to.
e raised to the power of
Returns the largest integral value less than or equal to the specified single-precision floating-point number.
The number to take the floor of.
The floor of
Returns (x * y) + z, rounded as one ternary operation.
The number to be multiplied with .
The number to be multiplied with .
The number to be added to the result of multiplied by .
(x * y) + z, rounded as one ternary operation.
Returns the remainder resulting from the division of a specified number by another specified number.
The numerator
The denominator
The result of dividing by
Returns the base 2 integer logarithm of a specified number.
The number whose logarithm is to be found.
One of the values in the following table.
parameter Return value- Default The base 2 integer log of ; that is, (int)log2().
- ZeroInt32.MinValue
- Equal to or or Int32.MaxValue
Returns the logarithm of a specified number in a specified base.
The number to take the log of.
The base of the log
The log of with base
Returns the natural (base e) logarithm of a specified number.
The number to take the natural log of.
The natural log of
Returns the base 10 logarithm of a specified number.
The number to take the base 10 log of.
The base 10 log of
Returns the base 2 logarithm of a specified number.
A number whose logarithm is to be found.
One of the values in the following table.
parameter Return value- Positive The base 2 log of ; that is, log 2.
- Zero
- Negative
- Equal to
- Equal to
Returns the larger of two single-precision floating-point numbers.
The first number to compare.
The second number to compare.
The larger of and
Returns the larger magnitude of two single-precision floating-point numbers.
The first of two single-precision floating-point numbers to compare.
The second of two single-precision floating-point numbers to compare.
Parameter or , whichever has the larger magnitude. If , or , or both and are equal to , is returned.
Returns the smaller of two single-precision floating-point numbers.
The first number to compare.
The second number to compare.
The smaller of and
Returns the smaller magnitude of two single-precision floating-point numbers.
The first of two single-precision floating-point numbers to compare.
The second of two single-precision floating-point numbers to compare.
Parameter or , whichever has the smaller magnitude. If , or , or both and are equal to , is returned.
Returns a specified number raised to the specified power.
The base number.
The specified power.
raised to the power of
Returns an estimate of the reciprocal of a specified number.
The number whose reciprocal is to be estimated.
An estimate of the reciprocal of .
Returns an estimate of the reciprocal square root of a specified number.
The number whose reciprocal square root is to be estimated.
An estimate of the reciprocal square root .
Rounds a single-precision floating-point value to a specified number of fractional digits using the specified rounding convention.
The number to round.
How many fractional digits to keep.
The rounding convention to use.
is less than 0 or greater than 6.
is not a valid value of .
The rounded representation of with fractional digits using rounding convention
Rounds a single-precision floating-point value to a specified number of fractional digits, and rounds midpoint values to the nearest even number.
The number to round.
How many fractional digits to keep.
is less than 0 or greater than 6.
The rounded representation of with fractional digits
Rounds a single-precision floating-point value to an integer using the specified rounding convention.
The number to round.
The rounding convention to use.
is not a valid value of .
The rounded representation of using rounding convention
Rounds a single-precision floating-point value to the nearest integral value, and rounds midpoint values to the nearest even number.
The number to round.
The rounded representation of
Returns x * 2^n computed efficiently.
A single-precision floating-point number that specifies the base value.
A single-precision floating-point number that specifies the power.
x * 2^n computed efficiently.
Returns an integer that indicates the sign of a single-precision floating-point number.
The number check the sign of.
is equal to .
The sign of
Returns the sine of the specified angle.
The angle to take the sine of.
The sine of
Returns the sine and cosine of the specified angle.
An angle, measured in radians.
The sine and cosine of . If is equal to , , or , this method returns .
Returns the hyperbolic sine of the specified angle.
The angle to take the hyperbolic sine of.
The hyperbolic sine of
Returns the square root of a specified number.
The number to take the square root of.
The square root of
Returns the tangent of the specified angle.
The angle to take the tangent of.
The tangent of
Returns the hyperbolic tangent of the specified angle.
The angle to take the hyperbolic tangent of.
The hyperbolic tangent of
Calculates the integral part of a specified single-precision floating-point number.
The number to truncate.
The truncated representation of
The exception that is thrown when an attempt to access a class member fails.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Represents a contiguous region of memory.
The type of items in the .
Creates a new object that includes a specified number of elements of an array beginning at a specified index.
The source array.
The index of the first element to include in the new .
The number of elements to include in the new .
is , but or is non-zero.
-or-
is outside the bounds of the array.
-or-
and exceeds the number of elements in the array.
is a reference type, and is not an array of type .
Creates a new object over the entirety of a specified array.
The array from which to create the object.
is a reference type, and is not an array of type .
-or-
The array is covariant.
Copies the contents of a object into a destination object.
The destination object.
The length of is less than the length of the current instance.
Determines whether the specified object is equal to the current object.
The object to compare with the current instance.
if the current instance and are equal; otherwise, .
Determines whether the specified object is equal to the current object.
The object to compare with the current instance.
if the current instance and are equal; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Defines an implicit conversion of an array to a object.
The array to convert.
The converted object.
Defines an implicit conversion of an object to a object.
The object to convert.
The converted object.
Defines an implicit conversion of a object to a object.
The object to convert.
The converted object.
Creates a handle for the object.
An instance with non-primitive (non-blittable) members cannot be pinned.
A handle for the object.
Forms a slice out of the current memory starting at a specified index for a specified length.
The index at which to begin the slice.
The number of elements to include in the slice.
is less than zero or greater than .
-or-
is greater than -
An object that contains elements from the current instance starting at .
Forms a slice out of the current memory that begins at a specified index.
The index at which to begin the slice.
is less than zero or greater than .
An object that contains all elements of the current instance from to the end of the instance.
Copies the contents from the memory into a new array.
An array containing the elements in the current memory.
Returns the string representation of this object.
the string representation of this object.
Copies the contents of the memory into a destination instance.
The destination object.
if the copy operation succeeds; otherwise, .
Returns an empty object.
An empty object.
Indicates whether the current instance is empty.
if the current instance is empty; otherwise, .
Gets the number of items in the current instance.
The number of items in the current instance.
Returns a span from the current instance.
A span created from the current object.
The exception that is thrown when there is an invalid attempt to access a method, such as accessing a private method from partially trusted code.
Initializes a new instance of the class, setting the property of the new instance to a system-supplied message that describes the error, such as "Attempt to access the method failed." This message takes into account the current system culture.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Specifies the strategy that mathematical rounding methods should use to round a number.
The strategy of rounding to the nearest number, and when a number is halfway between two others, it's rounded toward the nearest number that's away from zero.
The strategy of rounding to the nearest number, and when a number is halfway between two others, it's rounded toward the nearest even number.
The strategy of downwards-directed rounding, with the result closest to and no greater than the infinitely precise result.
The strategy of upwards-directed rounding, with the result closest to and no less than the infinitely precise result.
The strategy of directed rounding toward zero, with the result closest to and no greater in magnitude than the infinitely precise result.
The exception that is thrown when there is an attempt to dynamically access a field that does not exist. If a field in a class library has been removed or renamed, recompile any assemblies that reference that library.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified class name and field name.
The name of the class in which access to a nonexistent field was attempted.
The name of the field that cannot be accessed.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Gets the text string showing the signature of the missing field, the class name, and the field name. This property is read-only.
The error message string.
The exception that is thrown when there is an attempt to dynamically access a class member that does not exist or that is not declared as public. If a member in a class library has been removed or renamed, recompile any assemblies that reference that library.
Holds the class name of the missing member.
Holds the name of the missing member.
Holds the signature of the missing member.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the root cause of this exception.
The error message that explains the reason for the exception.
An instance of that is the cause of the current . If is not a null reference ( in Visual Basic), then the current is raised in a catch block handling .
Initializes a new instance of the class with the specified class name and member name.
The name of the class in which access to a nonexistent member was attempted.
The name of the member that cannot be accessed.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Sets the object with the class name, the member name, the signature of the missing member, and additional exception information.
The object that holds the serialized object data.
The contextual information about the source or destination.
The object is .
Gets the text string showing the class name, the member name, and the signature of the missing member.
The error message string.
The exception that is thrown when there is an attempt to dynamically access a method that does not exist.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified class name and method name.
The name of the class in which access to a nonexistent method was attempted.
The name of the method that cannot be accessed.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Gets the text string showing the class name, the method name, and the signature of the missing method. This property is read-only.
The error message string.
Represents a runtime handle for a module.
Represents an empty module handle.
Returns a value indicating whether the specified structure is equal to the current .
The structure to be compared with the current .
if is equal to the current structure; otherwise .
Returns a value indicating whether the specified object is a structure, and equal to the current .
The object to be compared with the current structure.
if is a structure, and is equal to the current structure; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer that is the hash code for this instance.
Returns a runtime handle for the field identified by the specified metadata token.
A metadata token that identifies a field in the module.
A for the field identified by .
Returns a runtime method handle for the method or constructor identified by the specified metadata token.
A metadata token that identifies a method or constructor in the module.
A for the method or constructor identified by .
Returns a runtime type handle for the type identified by the specified metadata token.
A metadata token that identifies a type in the module.
A for the type identified by .
Tests whether two structures are equal.
The structure to the left of the equality operator.
The structure to the right of the equality operator.
if the structures are equal; otherwise, .
Tests whether two structures are unequal.
The structure to the left of the inequality operator.
The structure to the right of the inequality operator.
if the structures are unequal; otherwise, .
Returns a runtime field handle for the field identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.
A metadata token that identifies a field in the module.
An array of structures representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of structures representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
is not a valid token in the scope of the current module.
-or-
is not a token for a field in the scope of the current module.
-or-
identifies a field whose parent has a signature containing element type or .
The method is called on an empty field handle.
is not a valid token.
A for the field identified by .
Returns a runtime handle for the field identified by the specified metadata token.
A metadata token that identifies a field in the module.
is not a valid token in the scope of the current module.
-or-
is not a token for a field in the scope of the current module.
-or-
identifies a field whose parent has a signature containing element type or .
The method is called on an empty field handle.
A for the field identified by .
Returns a runtime method handle for the method or constructor identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.
A metadata token that identifies a method or constructor in the module.
An array of structures representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of structures representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
is not a valid metadata token for a method in the current module.
-or-
is not a token for a method or constructor in the scope of the current module.
-or-
is a whose signature contains element type or .
The method is called on an empty method handle.
is not a valid token.
A for the method or constructor identified by .
Returns a runtime method handle for the method or constructor identified by the specified metadata token.
A metadata token that identifies a method or constructor in the module.
is not a valid metadata token for a method in the current module.
-or-
is not a token for a method or constructor in the scope of the current module.
-or-
is a whose signature contains element type or .
The method is called on an empty method handle.
A for the method or constructor identified by .
Returns a runtime type handle for the type identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.
A metadata token that identifies a type in the module.
An array of structures representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of structures objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
is not a valid metadata token for a type in the current module.
-or-
is not a token for a type in the scope of the current module.
-or-
is a whose signature contains element type or .
The method is called on an empty type handle.
is not a valid token.
A for the type identified by .
Returns a runtime type handle for the type identified by the specified metadata token.
A metadata token that identifies a type in the module.
is not a valid metadata token for a type in the current module.
-or-
is not a token for a type in the scope of the current module.
-or-
is a whose signature contains element type or .
The method is called on an empty type handle.
A for the type identified by .
Gets the metadata stream version.
A 32-bit integer representing the metadata stream version. The high-order two bytes represent the major version number, and the low-order two bytes represent the minor version number.
Indicates that the COM threading model for an application is multithreaded apartment (MTA).
Initializes a new instance of the class.
Represents a multicast delegate; that is, a delegate that can have more than one element in its invocation list.
Initializes a new instance of the class.
The object on which is defined.
The name of the method for which a delegate is created.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
Initializes a new instance of the class.
The type of object on which is defined.
The name of the static method for which a delegate is created.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
Combines this with the specified to form a new delegate.
The delegate to combine with this delegate.
does not have the same type as this instance.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
A delegate that is the new root of the invocation list.
Determines whether this multicast delegate and the specified object are equal.
The object to compare with this instance.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
if and this instance have the same invocation lists; otherwise, .
Returns the hash code for this instance.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
A 32-bit signed integer hash code.
Returns the invocation list of this multicast delegate, in invocation order.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
An array of delegates whose invocation lists collectively match the invocation list of this instance.
Returns a method represented by the current .
A method represented by the current .
Populates a object with all the data needed to serialize this instance.
An object that holds all the data needed to serialize or deserialize this instance.
(Reserved) The location where serialized data is stored and retrieved.
is .
A serialization error occurred.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
Determines whether two objects are equal.
The left operand.
The right operand.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
if and have the same invocation lists; otherwise, .
Determines whether two objects are not equal.
The left operand.
The right operand.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
if and do not have the same invocation lists; otherwise, .
Removes an element from the invocation list of this that is equal to the specified delegate.
The delegate to search for in the invocation list.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
If is found in the invocation list for this instance, then a new without in its invocation list; otherwise, this instance with its original invocation list.
The exception that is thrown when there is an attempt to combine two delegates based on the type instead of the type. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Provides methods for encoding and decoding URLs when processing Web requests.
Converts a string that has been HTML-encoded into a decoded string, and sends the decoded string to a output stream.
The string to decode.
A stream of output.
The parameter cannot be if the parameter is not .
Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.
The string to decode.
A decoded string.
Converts a string into an HTML-encoded string, and returns the output as a stream of output.
The string to encode.
A output stream.
The parameter cannot be if the parameter is not .
Converts a string to an HTML-encoded string.
The string to encode.
An encoded string.
Converts a string that has been encoded for transmission in a URL into a decoded string.
A URL-encoded string to decode.
A decoded string.
Converts an encoded byte array that has been encoded for transmission in a URL into a decoded byte array.
A URL-encoded array to decode.
The offset, in bytes, from the start of the array to decode.
The count, in bytes, to decode from the array.
A decoded array.
Converts a text string into a URL-encoded string.
The text to URL-encode.
A URL-encoded string.
Converts a byte array into a URL-encoded byte array.
The array to URL-encode.
The offset, in bytes, from the start of the array to encode.
The count, in bytes, to encode from the array.
An encoded array.
A parser based on the NetPipe scheme for the "Indigo" system.
Create a parser based on the NetPipe scheme for the "Indigo" system.
A parser based on the NetTcp scheme for the "Indigo" system.
Create a parser based on the NetTcp scheme for the "Indigo" system.
A customizable parser based on the news scheme using the Network News Transfer Protocol (NNTP).
Create a customizable parser based on the news scheme using the Network News Transfer Protocol (NNTP).
Indicates that a field of a serializable class should not be serialized. This class cannot be inherited.
Initializes a new instance of the class.
The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN).
Initializes a new instance of the class.
Initializes a new instance of the class with the invalid number.
The value of the argument that caused the exception.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message, the invalid number, and a reference to the inner exception that is root cause of this exception.
The error message that explains the reason for the exception.
The value of the argument that caused the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and the invalid number.
The message that describes the error.
The value of the argument that caused the exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is root cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Sets the object with the invalid number and additional exception information.
The object that holds the serialized object data.
The contextual information about the source or destination.
The object is .
Gets the invalid number that is a positive infinity, a negative infinity, or Not-a-Number (NaN).
The invalid number.
The exception that is thrown when a requested method or operation is not implemented.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.
Initializes a new instance of the class, setting the property of the new instance to a system-supplied message that describes the error. This message takes into account the current system culture.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Supports a value type that can be assigned . This class cannot be inherited.
Compares the relative values of two objects.
A object.
A object.
The underlying value type of the and parameters.
An integer that indicates the relative values of the and parameters.
Return Value Description- Less than zero The property for is , and the property for is , or the properties for and are , and the value of the property for is less than the value of the property for .
- Zero The properties for and are , or the properties for and are , and the value of the property for is equal to the value of the property for .
- Greater than zero The property for is , and the property for is , or the properties for and are , and the value of the property for is greater than the value of the property for .
Indicates whether two specified objects are equal.
A object.
A object.
The underlying value type of the and parameters.
if the parameter is equal to the parameter; otherwise, .
The return value depends on the and properties of the two parameters that are compared.
Return Value Description- The properties for and are , or the properties for and are , and the properties of the parameters are equal.
- The property is for one parameter and for the other parameter, or the properties for and are , and the properties of the parameters are unequal.
Returns the underlying type argument of the specified nullable type.
A object that describes a closed generic nullable type.
is .
The type argument of the parameter, if the parameter is a closed generic nullable type; otherwise, .
Retrieves a readonly reference to the location in the instance where the value is stored.
The readonly reference to the input value.
The underlying value type of the generic type.
A readonly reference to the location where the instance's value is stored. If the instance's is , the current value at that location may be the default value.
Represents a value type that can be assigned .
The underlying value type of the generic type.
Initializes a new instance of the structure to the specified value.
A value type.
Indicates whether the current object is equal to a specified object.
An object.
if the parameter is equal to the current object; otherwise, .
This table describes how equality is defined for the compared values:
Return Value Description- The property is , and the parameter is (that is, two null values are equal by definition), OR the property is , and the value returned by the property is equal to the parameter.
- The property for the current structure is , and the parameter is , OR the property for the current structure is , and the parameter is not , OR the property for the current structure is , and the value returned by the property is not equal to the parameter.
Retrieves the hash code of the object returned by the property.
The hash code of the object returned by the property if the property is , or zero if the property is .
Retrieves the value of the current object, or the default value of the underlying type.
The value of the property if the property is ; otherwise, the default value of the underlying type.
Retrieves the value of the current object, or the specified default value.
A value to return if the property is .
The value of the property if the property is ; otherwise, the parameter.
Defines an explicit conversion of a instance to its underlying value.
A nullable value.
The value of the property for the parameter.
Creates a new object initialized to a specified value.
A value type.
A object whose property is initialized with the parameter.
Returns the text representation of the value of the current object.
The text representation of the value of the current object if the property is , or an empty string ("") if the property is .
Gets a value indicating whether the current object has a valid value of its underlying type.
if the current object has a value; if the current object has no value.
Gets the value of the current object if it has been assigned a valid underlying value.
The property is .
The value of the current object if the property is . An exception is thrown if the property is .
The exception that is thrown when there is an attempt to dereference a null object reference.
Initializes a new instance of the class, setting the property of the new instance to a system-supplied message that describes the error, such as "The value 'null' was found where an instance of an object was required." This message takes into account the current system culture.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Provides utility methods for intrinsic bit-twiddling operations. The methods use hardware intrinsics when available on the underlying platform; otherwise, they use optimized software fallbacks.
Accumulates the CRC (Cyclic redundancy check) checksum.
The base value to calculate checksum on.
The data for which to compute the checksum.
The CRC-checksum.
Accumulates the CRC (Cyclic redundancy check) checksum.
The base value to calculate checksum on.
The data for which to compute the checksum.
The CRC-checksum.
Accumulates the CRC (Cyclic redundancy check) checksum.
The base value to calculate checksum on.
The data for which to compute the checksum.
The CRC-checksum.
Accumulates the CRC (Cyclic redundancy check) checksum.
The base value to calculate checksum on.
The data for which to compute the checksum.
The CRC-checksum.
Evaluates whether the specified value is a power of two.
The value to evaluate as being a power of two.
if the specified value is a power of two; otherwise.
Evaluates whether the specified value is a power of two.
The value to evaluate as being a power of two.
if the specified value is a power of two; otherwise.
Determines whether the specified integral value is a power of 2.
The value.
if the value is a power of 2; otherwise.
Evaluates whether the specified value is a power of two.
The value to evaluate as being a power of two.
if the specified value is a power of two; otherwise.
Evaluates whether the specified value is a power of two.
The value to evaluate as being a power of two.
if the specified value is a power of two; otherwise.
Determines whether the specified integral value is a power of 2.
The value.
if the value is a power of 2; otherwise.
Counts the number of leading zero bits in an unsigned 32-bit integer mask.
The mask.
The number of leading zero bits in a mask.
Counts the number of leading zero bits in an unsigned 64-bit integer mask.
The mask.
The number of leading zero bits in a mask.
Counts the number of leading zero bits in a mask.
Similar in behavior to the x86 instruction LZCNT.
The value.
The count of leading zeros bits in a mask.
Returns the integer (floor) log of the specified value, base 2.
The number from which to obtain the logarithm.
The log of the specified value, base 2.
Returns the integer (floor) log of the specified value, base 2.
The number from which to obtain the logarithm.
The log of the specified value, base 2.
Returns the integer (floor) log of the specified value, base 2.
The value.
The logarithm value.
Returns the population count (number of bits set) of a mask.
The mask.
The population count of a mask.
Returns the population count (number of bits set) of an unsigned 64-bit integer mask.
The mask.
The population count of the mask.
Returns the population count (number of bits set) of a mask.
Similar in behavior to the x86 instruction POPCNT.
The value.
The population count.
Rotates the specified value left by the specified number of bits.
The value to rotate.
The number of bits to rotate by. Any value outside the range [0..31] is treated as congruent mod 32.
The rotated value.
Rotates the specified value left by the specified number of bits.
The value to rotate.
The number of bits to rotate by. Any value outside the range [0..63] is treated as congruent mod 64.
The rotated value.
Rotates the specified value left by the specified number of bits.
Similar in behavior to the x86 instruction ROL.
The value to rotate.
The number of bits to rotate by.
Any value outside the range [0..31] is treated as congruent mod 32 on a 32-bit process, and any value outside the range [0..63] is treated as congruent mod 64 on a 64-bit process.
The rotated value.
Rotates the specified value right by the specified number of bits.
The value to rotate.
The number of bits to rotate by. Any value outside the range [0..31] is treated as congruent mod 32.
The rotated value.
Rotates the specified value right by the specified number of bits.
The value to rotate.
The number of bits to rotate by. Any value outside the range [0..63] is treated as congruent mod 64.
The rotated value.
Rotates the specified value right by the specified number of bits.
Similar in behavior to the x86 instruction ROR.
The value to rotate.
The number of bits to rotate by.
Any value outside the range [0..31] is treated as congruent mod 32 on a 32-bit process, and any value outside the range [0..63] is treated as congruent mod 64 on a 64-bit process.
The rotated value.
Rounds the specified value up to a power of two.
The value to round up to a power of two.
The smallest power of two that's greater than or equal to .
If is 0 or the result overflows, returns 0.
Rounds the specified value up to a power of two.
The value to round up to a power of two.
The smallest power of two that's greater than or equal to .
If is 0 or the result overflows, returns 0.
Rounds the given integral value up to a power of 2.
The value.
The smallest power of 2 that is greater than or equal to .
If is 0 or the result overflows, returns 0.
Counts the number of trailing zero bits in an 32-bit integer value mask.
The mask.
The number of trailing zero bits in the integer value.
Counts the number of trailing zero bits in a 64-bit integer value mask.
The mask.
The number of trailing zero bits in the mask.
Counts the number of trailing zero bits in a mask.
Similar in behavior to the x86 instruction TZCNT.
The value.
The count of trailing zero bits in a mask.
Counts the number of trailing zero bits in an unsigned 32-bit integer value mask.
The mask.
The number of trailing zero bits in the mask.
Count the number of trailing zero bits in an unsigned 64-bit integer value mask.
The mask.
The number of trailing zero bits in the mask.
Counts the number of trailing zero bits in a mask.
Similar in behavior to the x86 instruction TZCNT.
The value.
The count of trailing zero bits in a mask.
Defines a mechanism for computing the sum of two values.
The type that implements this interface.
The type that will be added to .
The type that contains the sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that is added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that is added to .
The sum of and is not representable by .
The sum of and .
Defines a mechanism for getting the additive identity of a given type.
The type that implements this interface.
The type that contains the additive identity of .
Gets the additive identity of the current type.
Defines an IEEE 754 floating-point type that is represented in a base-2 format.
The type that implements the interface.
Defines an integer type that is represented in a base-2 format.
The type that implements the interface.
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided by .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Computes the number of leading zero bits in a value.
The value whose leading zero bits are to be counted.
The number of leading zero bits in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Reads a two's complement number from a given array, in big-endian format, and converts it to an instance of the current type.
The array from which the two's complement number should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
is not representable by
The value read from .
Reads a two's complement number from a given array, in big-endian format, and converts it to an instance of the current type.
The array from which the two's complement number should be read.
The starting index from which the value should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
is not representable by
The value read from starting at .
Reads a two's complement number from a given span, in big-endian format, and converts it to an instance of the current type.
The array from which the two's complement number should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
is not representable by
The value read from .
Reads a two's complement number from a given array, in little-endian format, and converts it to an instance of the current type.
The array from which the two's complement number should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
is not representable by
The value read from .
Reads a two's complement number from a given array, in little-endian format, and converts it to an instance of the current type.
The array from which the two's complement number should be read.
The starting index from which the value should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
is not representable by
The value read from starting at .
Reads a two's complement number from a given span, in little-endian format, and converts it to an instance of the current type.
The array from which the two's complement number should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
is not representable by
The value read from .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the number of trailing zero bits in a value.
The value whose trailing zero bits are to be counted.
The number of trailing zero bits in .
Tries to read a two's complement number from a span, in big-endian format, and convert it to an instance of the current type.
The span from which the two's complement number should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
On return, contains the value read from or if a value could not be read.
if the value was successfully read from ; otherwise, .
Tries to read a two's complement number from a span, in little-endian format, and convert it to an instance of the current type.
The span from which the two's complement number should be read.
if represents an unsigned two's complement number; otherwise, to indicate it represents a signed two's complement number.
On return, contains the value read from or if a value could not be read.
if the value was successfully read from ; otherwise, .
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was successfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was successfully written to ; otherwise, .
Writes the current value, in big-endian format, to a given array.
The array to which the current value should be written.
The starting index at which the value should be written.
The number of bytes written to starting at .
Writes the current value, in big-endian format, to a given array.
The array to which the current value should be written.
The number of bytes written to .
Writes the current value, in big-endian format, to a given span.
The span to which the current value should be written.
The number of bytes written to .
Writes the current value, in little-endian format, to a specified array starting at a specified index.
The array to which the current value should be written.
The starting index at which the value should be written.
The number of bytes written to starting at .
Writes the current value, in little-endian format, to a given array.
The array to which the current value should be written.
The number of bytes written to .
Writes the current value, in little-endian format, to a given span.
The span to which the current value should be written.
The number of bytes written to .
Defines a number that is represented in a base-2 format.
The type that implements the interface.
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Gets an instance of the binary type in which all bits are set.
Defines a mechanism for performing bitwise operations over two values.
The type that implements this interface.
The type that is used in the operation with .
The type that contains the result of op .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Defines a mechanism for comparing two values to determine relative order.
The type that implements this interface.
The type that will be compared with .
The type that is returned as a result of the comparison.
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Defines a mechanism for decrementing a given value.
The type that implements this interface.
Decrements a value.
The value to decrement.
The result of decrementing is not representable by .
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Defines a mechanism for computing the quotient of two values.
The type that implements this interface.
The type that will divide .
The type that contains the quotient of and .
Divides two values together to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by is not representable by .
The quotient of divided by .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Defines a mechanism for comparing two values to determine equality.
The type that implements this interface.
The type that will be compared with .
The type that is returned as a result of the comparison.
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Defines support for exponential functions.
The type that implements this interface.
Computes E raised to a given power.
The power to which E is raised.
E raised to the power of .
Computes 10 raised to a given power.
The power to which 10 is raised.
10
Computes 10 raised to a given power and subtracts one.
The power to which 10 is raised.
10 - 1
Computes 2 raised to a given power.
The power to which 2 is raised.
2
Computes 2 raised to a given power and subtracts one.
The power to which 2 is raised.
2 - 1
Computes E raised to a given power and subtracts one.
The power to which E is raised.
E - 1
Defines a floating-point type.
The type that implements the interface.
Computes the ceiling of a value.
The value whose ceiling is to be computed.
The ceiling of .
Converts a value to a specified integer type using saturation on overflow
The value to be converted.
The integer type to which is converted.
An instance of created from .
Converts a value to a specified integer type using platform specific behavior on overflow.
The value to be converted.
The integer type to which is converted.
An instance of created from .
Computes the floor of a value.
The value whose floor is to be computed.
The floor of .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current exponent.
The length, in bits, of the shortest two's complement representation of the current exponent.
Gets the length, in bits, of the current significand.
The length, in bits, of the current significand.
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Rounds a value to a specified number of fractional digits using the specified rounding mode.
The value to round.
The number of fractional digits to which should be rounded.
The mode under which should be rounded.
The result of rounding to fractional-digits using .
Rounds a value to a specified number of fractional-digits using the default rounding mode ().
The value to round.
The number of fractional digits to which should be rounded.
The result of rounding to fractional-digits using the default rounding mode.
Rounds a value to the nearest integer using the specified rounding mode.
The value to round.
The mode under which should be rounded.
The result of rounding to the nearest integer using .
Rounds a value to the nearest integer using the default rounding mode ().
The value to round.
The result of rounding to the nearest integer using the default rounding mode.
Truncates a value.
The value to truncate.
The truncation of .
Tries to write the current exponent, in big-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current exponent, in little-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current significand, in big-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Tries to write the current significand, in little-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Writes the current exponent, in big-endian format, to a given array.
The array to which the current exponent should be written.
The starting index at which the exponent should be written.
The number of bytes written to starting at .
Writes the current exponent, in big-endian format, to a given array.
The array to which the current exponent should be written.
The number of bytes written to .
Writes the current exponent, in big-endian format, to a given span.
The span to which the current exponent should be written.
The number of bytes written to .
Writes the current exponent, in little-endian format, to a given array.
The array to which the current exponent should be written.
The starting index at which the exponent should be written.
The number of bytes written to starting at .
Writes the current exponent, in little-endian format, to a given array.
The array to which the current exponent should be written.
The number of bytes written to .
Writes the current exponent, in little-endian format, to a given span.
The span to which the current exponent should be written.
The number of bytes written to .
Writes the current significand, in big-endian format, to a given array.
The array to which the current significand should be written.
The starting index at which the significand should be written.
The number of bytes written to starting at .
Writes the current significand, in big-endian format, to a given array.
The array to which the current significand should be written.
The number of bytes written to .
Writes the current significand, in big-endian format, to a given span.
The span to which the current significand should be written.
The number of bytes written to .
Writes the current significand, in little-endian format, to a given array.
The array to which the current significand should be written.
The starting index at which the significand should be written.
The number of bytes written to starting at .
Writes the current significand, in little-endian format, to a given array.
The array to which the current significand should be written.
The number of bytes written to .
Writes the current significand, in little-endian format, to a given span.
The span to which the current significand should be written.
The number of bytes written to .
Defines support for floating-point constants.
The type that implements the interface.
Gets the mathematical constant e.
Gets the mathematical constant pi.
Gets the mathematical constant tau.
Defines an IEEE 754 floating-point type.
The type that implements the interface.
Computes the arc-tangent for the quotient of two values.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by .
Computes the arc-tangent for the quotient of two values and divides the result by pi.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by , divided by pi.
Returns the largest value that compares less than a specified value.
The value to be bitwise decremented.
The largest value that compares less than .
Returns the smallest value that compares greater than a specified value.
The value to be bitwise incremented.
The smallest value that compares greater than .
Computes the fused multiply-add of three values.
The value that multiplies.
The value that multiplies .
The value that is added to the product of and .
The result of times plus computed as one ternary operation.
Computes the remainder of two values as specified by IEEE 754.
The value that divides.
The value that divides .
The remainder of divided by as specified by IEEE 754.
Computes the integer logarithm of a value.
The value whose integer logarithm is to be computed.
The integer logarithm of .
Performs a linear interpolation between two values based on the given weight.
The first value, which is intended to be the lower bound.
The second value, which is intended to be the upper bound.
A value, intended to be between 0 and 1, that indicates the weight of the interpolation.
The interpolated value.
Computes an estimate of the reciprocal of a value.
The value whose estimate of the reciprocal is to be computed.
An estimate of the reciprocal of .
Computes an estimate of the reciprocal square root of a value.
The value whose estimate of the reciprocal square root is to be computed.
An estimate of the reciprocal square root of .
Computes the product of a value and its base-radix raised to the specified power.
The value that base-radix raised to the power of multiplies.
The value to which base-radix is raised before multipliying .
The product of and base-radix raised to the power of .
Gets the smallest value such that can be added to 0 that does not result in 0.
Gets a value that represents NaN.
Gets a value that represents negative infinity.
Gets a value that represents negative zero.
Gets a value that represents positive infinity.
Defines support for hyperbolic functions.
The type that implements this interface.
Computes the hyperbolic arc-cosine of a value.
The value, in radians, whose hyperbolic arc-cosine is to be computed.
The hyperbolic arc-cosine of .
Computes the hyperbolic arc-sine of a value.
The value, in radians, whose hyperbolic arc-sine is to be computed.
The hyperbolic arc-sine of .
Computes the hyperbolic arc-tangent of a value.
The value, in radians, whose hyperbolic arc-tangent is to be computed.
The hyperbolic arc-tangent of .
Computes the hyperbolic cosine of a value.
The value, in radians, whose hyperbolic cosine is to be computed.
The hyperbolic cosine of .
Computes the hyperbolic sine of a value.
The value, in radians, whose hyperbolic sine is to be computed.
The hyperbolic sine of .
Computes the hyperbolic tangent of a value.
The value, in radians, whose hyperbolic tangent is to be computed.
The hyperbolic tangent of .
Defines a mechanism for incrementing a given value.
The type that implements this interface.
Increments a value.
The value to increment.
The result of incrementing is not representable by .
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Defines support for logarithmic functions.
The type that implements this interface.
Computes the logarithm of a value in the specified base.
The value whose logarithm is to be computed.
The base in which the logarithm is to be computed.
The base- logarithm of .
Computes the natural (base-E logarithm of a value.
The value whose natural logarithm is to be computed.
The natural logarithm of .
Computes the base-10 logarithm of a value.
The value whose base-10 logarithm is to be computed.
The base-10 logarithm of .
Computes the base-10 logarithm of a value plus one.
The value to which one is added before computing the base-10 logarithm.
log10( + 1)
Computes the base-2 logarithm of a value.
The value whose base-2 logarithm is to be computed.
The base-2 logarithm of .
Computes the base-2 logarithm of a value plus one.
The value to which one is added before computing the base-2 logarithm.
log2( + 1)
Computes the natural (base-E) logarithm of a value plus one.
The value to which one is added before computing the natural logarithm.
loge( + 1)
Defines a mechanism for getting the minimum and maximum value of a type.
The type that implements this interface.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Defines a mechanism for computing the modulus or remainder of two values.
The type that implements this interface.
The type that will divide .
The type that contains the modulus or remainder of and .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Defines a mechanism for getting the multiplicative identity of a given type.
The type that implements this interface.
The type that contains the multiplicative identity of .
Gets the multiplicative identity of the current type.
Defines a mechanism for computing the product of two values.
The type that implements this interface.
The type that will multiply .
The type that contains the product of and .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by is not representable by .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Defines a number type.
The type that implements the interface.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
is greater than .
The result of clamping to the inclusive range of and .
Clamps a value to an inclusive minimum and maximum value using platform-specific behavior for NaN and NegativeZero.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
is greater than .
The result of clamping to the inclusive range of and .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater using platform-specific behavior for NaN and NegativeZero.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser using platform-specific behavior for NaN and NegativeZero.
The value to compare with .
The value to compare with .
if it is lesser than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, 0 if is zero, and a negative value if is negative.
Defines the base of other number types.
The type that implements the interface.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of is not representable by .
The absolute of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
is not supported.
is not representable by .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
is not supported.
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
is not supported.
An instance of created from , truncating if falls outside the representable range of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value represents a negative real number.
The value to be checked.
if represents negative zero or a negative real number; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value represents zero or a positive real number.
The value to be checked.
if represents (positive) zero or a positive real number; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude.
The value to compare with .
The value to compare with .
if it has a greater magnitude than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it has a greater magnitude than ; otherwise, .
Compares two values to compute which has the lesser magnitude.
The value to compare with .
The value to compare with .
if it has a lesser magnitude than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it has a lesser magnitude than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
is not a supported value.
is not in the correct format.
is not representable by .
The result of parsing .
Parses a span of characters into a value.
The span of characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
is not a supported value.
is not in the correct format.
is not representable by .
The result of parsing .
Parses a string into a value.
The string to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
is not a supported value.
is .
is not in the correct format.
is not representable by .
The result of parsing .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a value to an instance of the the current type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type of .
is not representable by .
if is not supported; otherwise, .
Tries to convert a value to an instance of the the current type, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
When this method returns, contains an instance of converted from .
The type of .
if is not supported; otherwise, .
Tries to convert a value to an instance of the the current type, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
When this method returns, contains an instance of converted from .
The type of .
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
is not representable by .
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
is not a supported value.
if was successfully parsed; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of succesfully parsing or an undefined value on failure.
is not a supported value.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of succesfully parsing or an undefined value on failure.
is not a supported value.
if was successfully parsed; otherwise, .
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Defines support for power functions.
The type that implements this interface.
Computes a value raised to a given power.
The value that is raised to the power of .
The power to which is raised.
raised to the power of .
Defines support for root functions.
The type that implements this interface.
Computes the cube-root of a value.
The value whose cube-root is to be computed.
The cube-root of .
Computes the hypotenuse given two values representing the lengths of the shorter sides in a right-angled triangle.
The value to square and add to .
The value to square and add to .
The square root of -squared plus -squared.
Computes the n-th root of a value.
The value whose -th root is to be computed.
The degree of the root to be computed.
The -th root of .
Computes the square-root of a value.
The value whose square-root is to be computed.
The square-root of .
Defines a mechanism for shifting a value by another value.
The type that implements this interface.
The type used to specify the amount by which should be shifted.
The type that contains the result of shifting by .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Defines a number type that can represent both positive and negative values.
The type that implements the interface.
Gets the value -1 for the type.
Defines a mechanism for computing the difference of two values.
The type that implements this interface.
The type that will be subtracted from .
The type that contains the value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that is subtracted from .
The value of subtracted from is not representable by .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that is subtracted from .
The value of subtracted from .
Defines support for trigonometric functions.
The type that implements this interface.
Computes the arc-cosine of a value.
The value, in radians, whose arc-cosine is to be computed.
The arc-cosine of .
Computes the arc-cosine of a value and divides the result by pi.
The value whose arc-cosine is to be computed.
The arc-cosine of , divided by pi.
Computes the arc-sine of a value.
The value, in radians, whose arc-sine is to be computed.
The arc-sine of .
Computes the arc-sine of a value and divides the result by pi.
The value whose arc-sine is to be computed.
The arc-sine of , divided by pi.
Computes the arc-tangent of a value.
The value, in radians, whose arc-tangent is to be computed.
The arc-tangent of .
Computes the arc-tangent of a value and divides the result by pi.
The value whose arc-tangent is to be computed.
The arc-tangent of , divided by pi.
Computes the cosine of a value.
The value, in radians, whose cosine is to be computed.
The cosine of .
Computes the cosine of a value that has been multipled by pi.
The value, in half-revolutions, whose cosine is to be computed.
The cosine of multiplied-by pi.
Converts a given value from degrees to radians.
The value to convert to radians.
The value of converted to radians.
Converts a given value from radians to degrees.
The value to convert to degrees.
The value of converted to degrees.
Computes the sine of a value.
The value, in radians, whose sine is to be computed.
The sine of .
Computes the sine and cosine of a value.
The value, in radians, whose sine and cosine are to be computed.
The sine and cosine of .
Computes the sine and cosine of a value that has been multiplied by pi.
The value, in half-revolutions, that is multipled by pi before computing its sine and cosine.
The sine and cosine of multiplied-by pi.
Computes the sine of a value that has been multiplied by pi.
The value, in half-revolutions, that is multipled by pi before computing its sine.
The sine of multiplied-by pi.
Computes the tangent of a value.
The value, in radians, whose tangent is to be computed.
The tangent of .
Computes the tangent of a value that has been multipled by pi.
The value, in half-revolutions, that is multipled by pi before computing its tangent.
The tangent of multiplied-by pi.
Defines a mechanism for computing the unary negation of a value.
The type that implements this interface.
The type that contains the result of negating .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of is not representable by .
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Defines a mechanism for computing the unary plus of a value.
The type that implements this interface.
The type that contains the result of negating .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Defines a number type that can only represent positive values.
The type that implements the interface.
Represents a comparison operation that compares floating-point numbers with IEEE 754 totalOrder semantic.
The type of the numbers to be compared, must be an IEEE 754 floating-point type.
Compares two numbers with IEEE 754 totalOrder semantic and returns a value indicating whether one is less than, equal to, or greater than the other.
The first number to compare.
The second number to compare.
A signed integer that indicates the relative values of and , as shown in the following table.
Value Meaning- Less than zero is less than
- Zero equals
- Greater than zero is greater than
Determines whether the specified numbers are equal.
The first number of type to compare.
The second number of type to compare.
if the specified numbers are equal; otherwise, .
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
if the current object is equal to the parameter; otherwise, .
Determines whether this instance and a specified object are equal.
The object to compare with the current instance.
if the current instance and are equal; otherwise, . If is , the method returns .
Returns the hash code for this instance.
The hash code.
Returns a hash code for the specified number.
The number for which a hash code is to be returned.
A hash code for the specified number.
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Initializes a new instance of the class.
Determines whether the specified object instances are considered equal.
The first object to compare.
The second object to compare.
if the objects are considered equal; otherwise, . If both and are null, the method returns .
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Serves as the default hash function.
A hash code for the current object.
Gets the of the current instance.
The exact runtime type of the current instance.
Creates a shallow copy of the current .
A shallow copy of the current .
Determines whether the specified instances are the same instance.
The first object to compare.
The second object to compare.
if is the same instance as or if both are null; otherwise, .
Returns a string that represents the current object.
A string that represents the current object.
The exception that is thrown when an operation is performed on a disposed object.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified object name and message.
The name of the disposed object.
The error message that explains the reason for the exception.
Initializes a new instance of the class with a string containing the name of the disposed object.
A string containing the name of the disposed object.
Retrieves the object with the parameter name and additional exception information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Throws an if the specified is .
The condition to evaluate.
The object whose type's full name should be included in any resulting .
The is .
Throws an if the specified is .
The condition to evaluate.
The type whose full name should be included in any resulting .
The is .
Gets the message that describes the error.
A string that describes the error.
Gets the name of the disposed object.
A string containing the name of the disposed object.
Marks program elements that are no longer in use.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with a workaround message and a Boolean value indicating whether the obsolete element usage is considered an error.
The text string that describes alternative workarounds.
if the obsolete element usage generates a compiler error; if it generates a compiler warning.
Initializes a new instance of the class with a specified workaround message.
The text string that describes alternative workarounds.
Gets or sets the ID that the compiler will use when reporting a use of the API.
The unique diagnostic ID.
Gets a value that indicates whether the compiler will treat usage of the obsolete program element as an error.
if the obsolete element usage is considered an error; otherwise, . The default is .
Gets the workaround message.
The workaround text string.
Gets or sets the URL for corresponding documentation. The API accepts a format string instead of an actual URL, creating a generic URL that includes the diagnostic ID.
The format string that represents a URL to corresponding documentation.
Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited.
Initializes a new instance of the class, using the specified platform identifier value and version object.
One of the values that indicates the operating system platform.
A object that indicates the version of the operating system.
is .
is not a enumeration value.
Creates an object that is identical to this instance.
An object that is a copy of this instance.
Populates a object with the data necessary to deserialize this instance.
The object to populate with serialization information.
The place to store and retrieve serialized data. Reserved for future use.
is .
Indicates whether the current application is running on Android.
if the current application is running on Android; otherwise.
Checks if the Android version (returned by the Linux command uname) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified version.
The major release number.
The minor release number.
The build release number.
The revision release number.
if the current application is running on an Android version that is at least what was specified in the parameters; otherwise.
Indicates whether the current application is running as WASM in a browser.
if the current application is running as WASM in a browser; otherwise.
Indicates whether the current application is running on FreeBSD.
if the current application is running on FreeBSD; otherwise.
Checks if the FreeBSD version (returned by the Linux command uname) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified version.
The major release number.
The minor release number.
The build release number.
The revision release number.
if the current application is running on a FreeBSD version that is at least what was specified in the parameters; otherwise.
Indicates whether the current application is running on iOS or MacCatalyst.
if the current application is running on iOS or MacCatalyst; otherwise.
Checks if the iOS/MacCatalyst version (returned by libobjc.get_operatingSystemVersion) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified iOS version.
The major release number.
The minor release number.
The build release number.
if the current application is running on an iOS/MacCatalyst version that is at least what was specified in the parameters; otherwise.
Indicates whether the current application is running on Linux.
if the current application is running on Linux; otherwise.
Indicates whether the current application is running on Mac Catalyst.
if the current application is running on Mac Catalyst; otherwise.
Check for the Mac Catalyst version (iOS version as presented in Apple documentation) with a ≤ version comparison. Used to guard APIs that were added in the given Mac Catalyst release.
The version major number.
The version minor number.
The version build number.
if the Mac Catalyst version is greater or equal than the specified version comparison; otherwise.
Indicates whether the current application is running on macOS.
if the current application is running on macOS; otherwise.
Checks if the macOS version (returned by libobjc.get_operatingSystemVersion) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified macOS version.
The major release number.
The minor release number.
The build release number.
if the current application is running on an macOS version that is at least what was specified in the parameters; otherwise.
Indicates whether the current application is running on the specified platform.
The case-insensitive platform name. Examples: Browser, Linux, FreeBSD, Android, iOS, macOS, tvOS, watchOS, Windows.
if the current application is running on the specified platform; otherwise.
Checks if the operating system version is greater than or equal to the specified platform version. This method can be used to guard APIs that were added in the specified OS version.
The case-insensitive platform name. Examples: Browser, Linux, FreeBSD, Android, iOS, macOS, tvOS, watchOS, Windows.
The major release number.
The minor release number (optional).
The build release number (optional).
The revision release number (optional).
if the current application is running on the specified platform and is at least in the version specified in the parameters; otherwise.
Indicates whether the current application is running on tvOS.
if the current application is running on tvOS; otherwise.
Checks if the tvOS version (returned by libobjc.get_operatingSystemVersion) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified tvOS version.
The major release number.
The minor release number.
The build release number.
if the current application is running on a tvOS version that is at least what was specified in the parameters; otherwise.
Indicates whether the current application is running as WASI.
Indicates whether the current application is running on watchOS.
if the current application is running on watchOS; otherwise.
Checks if the watchOS version (returned by libobjc.get_operatingSystemVersion) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified watchOS version.
The major release number.
The minor release number.
The build release number.
if the current application is running on a watchOS version that is at least what was specified in the parameters; otherwise.
Indicates whether the current application is running on Windows.
if the current application is running on Windows; otherwise.
Checks if the Windows version (returned by RtlGetVersion) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified Windows version.
The major release number.
The minor release number.
The build release number.
The revision release number.
if the current application is running on a Windows version that is at least what was specified in the parameters; otherwise.
Converts the value of this object to its equivalent string representation.
The string representation of the values returned by the , , and properties.
Gets a enumeration value that identifies the operating system platform.
One of the values.
Gets the service pack version represented by this object.
The service pack version, if service packs are supported and at least one is installed; otherwise, an empty string ("").
Gets a object that identifies the operating system.
A object that describes the major version, minor version, build, and revision numbers for the operating system.
Gets the concatenated string representation of the platform identifier, version, and service pack that are currently installed on the operating system.
The string representation of the values returned by the , , and properties.
The exception that is thrown in a thread upon cancellation of an operation that the thread was executing.
Initializes a new instance of the class with a system-supplied error message.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message, a reference to the inner exception that is the cause of this exception, and a cancellation token.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
A cancellation token associated with the operation that was canceled.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and a cancellation token.
The error message that explains the reason for the exception.
A cancellation token associated with the operation that was canceled.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Initializes a new instance of the class with a cancellation token.
A cancellation token associated with the operation that was canceled.
Gets a token associated with the operation that was canceled.
A token associated with the operation that was canceled, or a default token.
The exception that is thrown when there is not enough memory to continue the execution of a program.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Indicates that a method will allow a variable number of arguments in its invocation. This class cannot be inherited.
Initializes a new instance of the class with default properties.
Identifies the operating system, or platform, supported by an assembly.
The operating system is Macintosh. This value was returned by Silverlight. On .NET Core, its replacement is Unix.
Any other operating system. This includes Browser (WASM).
The operating system is Unix.
The operating system is Windows NT or later.
The operating system is Win32s. This value is no longer in use.
The operating system is Windows 95 or Windows 98. This value is no longer in use.
The operating system is Windows CE. This value is no longer in use.
The development platform is Xbox 360. This value is no longer in use.
The exception that is thrown when a feature does not run on a particular platform.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The text message that explains the reason for the exception.
Represents the method that defines a set of criteria and determines whether the specified object meets those criteria.
The object to compare against the criteria defined within the method represented by this delegate.
The type of the object to compare.
if meets the criteria defined within the method represented by this delegate; otherwise, .
Provides an that invokes callbacks for each reported progress value.
Specifies the type of the progress report value.
Raised for each reported progress value.
Initializes the object.
Initializes the object with the specified callback.
A handler to invoke for each reported progress value. This handler will be invoked in addition to any delegates registered with the event. Depending on the instance captured by the at construction, it is possible that this handler instance could be invoked concurrently with itself.
is ( in Visual Basic).
Reports a progress change.
The value of the updated progress.
Reports a progress change.
The value of the updated progress.
Represents a pseudo-random number generator, which is an algorithm that produces a sequence of numbers that meet certain statistical requirements for randomness.
Initializes a new instance of the class using a default seed value.
Initializes a new instance of the class, using the specified seed value.
A number used to calculate a starting value for the pseudo-random number sequence. If a negative number is specified, the absolute value of the number is used.
Creates a string filled with random hexadecimal characters.
The length of string to create.
if the hexadecimal characters should be lowercase; if they should be uppercase.
The default is .
A string populated with random hexadecimal characters.
Fills a buffer with random hexadecimal characters.
The buffer to receive the characters.
if the hexadecimal characters should be lowercase; if they should be uppercase.
The default is .
Creates an array populated with items chosen at random from the provided set of choices.
The items to use to populate the array.
The length of array to return.
The type of array.
is empty.
is .
is not zero or a positive number.
An array populated with random items.
Creates an array populated with items chosen at random from the provided set of choices.
The items to use to populate the array.
The length of array to return.
The type of array.
is empty.
is not zero or a positive number.
An array populated with random items.
Fills the elements of a specified span with items chosen at random from the provided set of choices.
The items to use to populate the span.
The span to be filled with items.
The type of span.
is empty.
Creates a string populated with characters chosen at random from .
The characters to use to populate the string.
The length of string to return.
is empty.
is not zero or a positive number.
A string populated with items selected at random from .
Returns a non-negative random integer.
A 32-bit signed integer that is greater than or equal to 0 and less than Int32.MaxValue.
Returns a random integer that is within a specified range.
The inclusive lower bound of the random number returned.
The exclusive upper bound of the random number returned. must be greater than or equal to .
is greater than .
A 32-bit signed integer greater than or equal to and less than ; that is, the range of return values includes but not . If equals , is returned.
Returns a non-negative random integer that is less than the specified maximum.
The exclusive upper bound of the random number to be generated. must be greater than or equal to 0.
is less than 0.
A 32-bit signed integer that is greater than or equal to 0, and less than ; that is, the range of return values ordinarily includes 0 but not . However, if equals 0, 0 is returned.
Fills the elements of a specified array of bytes with random numbers.
The array to be filled with random numbers.
is .
Fills the elements of a specified span of bytes with random numbers.
The array to be filled with random numbers.
Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0.
A double-precision floating point number that is greater than or equal to 0.0, and less than 1.0.
Returns a non-negative random integer.
A 64-bit signed integer that is greater than or equal to 0 and less than Int64.MaxValue.
Returns a random integer that is within a specified range.
The inclusive lower bound of the random number returned.
The exclusive upper bound of the random number returned. must be greater than or equal to .
is greater than .
A 64-bit signed integer greater than or equal to and less than ; that is, the range of return values includes but not . If minValue equals , is returned.
Returns a non-negative random integer that is less than the specified maximum.
The exclusive upper bound of the random number to be generated. must be greater than or equal to 0.
is less than 0.
A 64-bit signed integer that is greater than or equal to 0, and less than ; that is, the range of return values ordinarily includes 0 but not . However, if equals 0, is returned.
Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0.
A single-precision floating point number that is greater than or equal to 0.0, and less than 1.0.
Returns a random floating-point number between 0.0 and 1.0.
A double-precision floating point number that is greater than or equal to 0.0, and less than 1.0.
Performs an in-place shuffle of an array.
The array to shuffle.
The type of array.
is .
Performs an in-place shuffle of a span.
The span to shuffle.
The type of span.
Provides a thread-safe instance that may be used concurrently from any thread.
A instance.
Represents a range that has start and end indexes.
Instantiates a new instance with the specified starting and ending indexes.
The inclusive start index of the range.
The exclusive end index of the range.
Creates a object starting from the first element in the collection to a specified end index.
The position of the last element up to which the object will be created.
A range that starts from the first element to .
Returns a value that indicates whether the current instance is equal to a specified object.
An object to compare with this Range object.
if is of type and is equal to the current instance; otherwise, .
Returns a value that indicates whether the current instance is equal to another object.
A Range object to compare with this Range object.
if the current instance is equal to ; otherwise, .
Returns the hash code for this instance.
The hash code.
Calculates the start offset and length of the range object using a collection length.
A positive integer that represents the length of the collection that the range will be used with.
is outside the bounds of the current range.
The start offset and length of the range.
Returns a new instance starting from a specified start index to the end of the collection.
The position of the first element from which the Range will be created.
A range from to the end of the collection.
Returns the string representation of the current object.
The string representation of the range.
Gets a object that starts from the first element to the end.
A range from the start to the end.
Gets an that represents the exclusive end index of the range.
The end index of the range.
Gets the inclusive start index of the .
The inclusive start index of the range.
The exception that is thrown when an array with the wrong number of dimensions is passed to a method.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Represents a contiguous region of memory, similar to . Unlike , it is not a byref-like type.
The object type from which the contiguous region of memory will be read.
Creates a new memory region over the portion of the target array beginning at a specified position and including a specified number of elements.
The target array.
The index at which to begin the memory region.
The number of items in the memory region.
is covariant, and the type of array is not exactly .
, , or + identify a position outside the range of the array.
Creates a new memory region over the entirety of the target array.
The target array.
is covariant, and the type of array is not exactly .
Copies the contents of the read-only memory region into a destination memory region.
The memory region to copy items into.
is smaller than the source memory region.
Determines whether the specified object is equal to the current read-only memory region.
The object to compare.
if the current instance and are equal; otherwise, .
Determines whether the current instance and a specified objects are equal.
The read-only memory to compare.
if the current instance and are equal; otherwise, .
Returns the hash code for this .
The hash code.
Defines an implicit conversion of an array to a .
An array of type T to convert.
The read-only memory representation of the array of type T.
Defines an implicit conversion of a to a .
The array segment to convert.
A read-only memory representation of the array segment.
Creates a handle for the memory.
An instance with nonprimitive (non-blittable) members cannot be pinned.
A handle for the memory.
Forms a slice out of the given memory region starting at position for elements.
The index at which to begin this slice.
The desired length for the slice.
, , or + are outside the range of the current instance.
A read-only memory region representing the desired slice.
Forms a slice out of the given memory region, beginning at a specified position and continuing to its end.
The index at which to begin this slice.
is less than 0 or greater than .
A read-only memory region representing the desired slice.
Copies the contents from the memory region into a new array.
An array.
Returns the string representation of this read-only memory instance.
For with char elements, returns an instance of string that represents the characters pointed to by the memory. Otherwise, returns a with the name of the type and the number of elements.
Tries to copy the contents of the readonly-only memory into the destination and returns a value that indicates whether the copy operation succeeded.
The memory region to copy items into.
if the copy operation succeeded. if is smaller than the current instance, and no data is written to .
Gets an empty .
An empty read-only memory region.
Gets a value that indicates whether this read-only memory region is empty.
if the read-only memory region is empty (that is, its is 0); otherwise, .
Gets the number of items in the memory region.
The number of items in the memory region.
Gets a span from the memory region.
A memory span.
Provides a type-safe and memory-safe read-only representation of a contiguous region of arbitrary memory.
The type of items in the .
Creates a new that includes a specified number of elements of an array starting at a specified index.
The array from which to create the .
The zero-based index of the first element to include.
The number of elements to include.
is , but or is non-zero.
-or-
is outside the bounds of the array.
-or-
and exceeds the number of elements in the array.
Creates a new over the entirety of a specified array.
The array from which to create the .
Creates a new of length 1 around the specified reference.
A reference to data.
Creates a new from a specified number of elements starting at a specified memory address.
A pointer to the starting address of a specified number of elements in memory.
The number of elements to be included in the .
is a reference type or contains references and therefore cannot be stored in unmanaged memory.
is negative.
Casts a read-only span of to a read-only span of .
The source read-only span. No copy is made.
The element type of the source read-only span, which must be derived from .
A read-only span with elements cast to the new type.
Copies the contents of this into a destination .
The span to copy items into.
is shorter than the source .
Not supported. Throws a .
Not supported.
Always thrown by this method.
Not supported.
Returns an enumerator for this .
An enumerator for this read-only span.
Not supported. Throws a .
Always thrown by this method.
Not supported.
Returns a read-only reference to an object of type T that can be used for pinning.
This method is intended to support .NET compilers and is not intended to be called by user code.
A reference to the element of the span at index 0, or if the span is empty.
Returns a value that indicates whether two instances are equal.
The first span to compare.
The second span to compare.
if the two instances are equal; otherwise, .
Defines an implicit conversion of an array to a .
The array to convert to a .
The read-only span that corresponds to .
Defines an implicit conversion of an to a .
The array segment to be converted to a .
A read-only span that corresponds to the array segment.
Returns a value that indicates whether two instances are not equal.
The first read-only span to compare.
The second read-only span to compare.
if the two instances are not equal; otherwise, .
Forms a slice out of the current read-only span starting at a specified index for a specified length.
The zero-based index at which to begin this slice.
The desired length for the slice.
is less than zero or greater than .
A read-only span that consists of elements from the current span starting at .
Forms a slice out of the current read-only span that begins at a specified index.
The zero-based index at which to begin the slice.
is greater than the number of items in the read-only span.
A span that consists of all elements of the current span from to the end of the span.
Copies the contents of this read-only span into a new array.
An array containing the data in the current span.
Returns the string representation of this .
The string representation of this instance.
Attempts to copy the contents of this into a and returns a value to indicate whether or not the operation succeeded.
The target of the copy operation.
if the copy operation succeeded; otherwise, .
Returns an empty .
An empty .
Returns a value that indicates the current read-only span is empty.
when the current span is empty; otherwise .
Gets an item from the read-only span at the specified zero-based index.
The zero-based index of the element to get.
is less then zero or greater than or equal to .
The element from the read-only span.
The number of items in the read-only span.
The number of items.
Provides an enumerator for the elements of a .
Advances the enumerator to the next item of the .
if the enumerator successfully advanced to the next item; if the end of the span has been passed.
Sets the enumerator to its initial position, which is before the first element in the collection.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets a reference to the item at the current position of the enumerator.
The element in the at the current position of the enumerator.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The exception that is thrown when binding to a member results in more than one member matching the binding criteria. This class cannot be inherited.
Initializes a new instance of the class with an empty message string and the root cause exception set to .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with its message string set to the given message and the root cause exception set to .
A string indicating the reason this exception was thrown.
Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.
Occurs when the common language runtime class loader cannot resolve a reference to an internal module of an assembly through normal means.
Initializes a new instance of the class.
Locates the specified type from this assembly and creates an instance of it using the system activator, with optional case-sensitive search and having the specified culture, arguments, and binding and activation attributes.
The of the type to locate.
to ignore the case of the type name; otherwise, .
A bitmask that affects the way in which the search is conducted. The value is a combination of bit flags from .
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects via reflection. If is , the default binder is used.
An array that contains the arguments to be passed to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to be invoked. If the parameterless constructor is desired, must be an empty array or .
An instance of used to govern the coercion of types. If this is , the for the current thread is used. (This is necessary to convert a string that represents 1000 to a value, for example, since 1000 is represented differently by different cultures.)
An array of one or more attributes that can participate in activation. Typically, an array that contains a single object that specifies the URL that is required to activate a remote object. This parameter is related to client-activated objects. Client activation is a legacy technology that is retained for backward compatibility but is not recommended for new development. Distributed applications should instead use Windows Communication Foundation.
is an empty string ("") or a string beginning with a null character.
-or-
The current assembly was loaded into the reflection-only context.
is .
No matching constructor was found.
A non-empty activation attributes array is passed to a type that does not inherit from .
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly for the currently loaded runtime.
An instance of the specified type, or if is not found. The supplied arguments are used to resolve the type, and to bind the constructor that is used to create the instance.
Locates the specified type from this assembly and creates an instance of it using the system activator, with optional case-sensitive search.
The of the type to locate.
to ignore the case of the type name; otherwise, .
is an empty string ("") or a string beginning with a null character.
-or-
The current assembly was loaded into the reflection-only context.
No matching constructor was found.
is .
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly for the currently loaded runtime.
An instance of the specified type created with the parameterless constructor; or if is not found. The type is resolved using the default binder, without specifying culture or activation attributes, and with set to or .
Locates the specified type from this assembly and creates an instance of it using the system activator, using case-sensitive search.
The of the type to locate.
is an empty string ("") or a string beginning with a null character.
-or-
The current assembly was loaded into the reflection-only context.
is .
No matching constructor was found.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly for the currently loaded runtime.
An instance of the specified type created with the parameterless constructor; or if is not found. The type is resolved using the default binder, without specifying culture or activation attributes, and with set to or .
Creates the name of a type qualified by the display name of its assembly.
The display name of an assembly.
The full name of a type.
The full name of the type qualified by the display name of the assembly.
Determines whether this assembly and the specified object are equal.
The object to compare with this instance.
if is equal to this instance; otherwise, .
Gets the currently loaded assembly in which the specified type is defined.
An object representing a type in the assembly that will be returned.
is .
The assembly in which the specified type is defined.
Returns the of the method that invoked the currently executing method.
The object of the method that invoked the currently executing method.
Gets all the custom attributes for this assembly.
This argument is ignored for objects of type .
An array that contains the custom attributes for this assembly.
Gets the custom attributes for this assembly as specified by type.
The type for which the custom attributes are to be returned.
This argument is ignored for objects of type .
is .
is not a runtime type.
An array that contains the custom attributes for this assembly as specified by .
Returns information about the attributes that have been applied to the current , expressed as objects.
A generic list of objects representing data about the attributes that have been applied to the current assembly.
Gets the entry assembly for the running application.
The entry assembly for the running application. Can return when called from unmanaged code.
Gets the assembly that contains the code that is currently executing.
The assembly that contains the code that is currently executing.
Gets the public types defined in this assembly that are visible outside the assembly.
The assembly is a dynamic assembly.
Unable to load a dependent assembly.
An array that represents the types defined in this assembly that are visible outside the assembly.
Gets a for the specified file in the file table of the manifest of this assembly.
The name of the specified file. Do not include the path to the file.
A file that was found could not be loaded.
The parameter is .
The parameter is an empty string ("").
was not found.
is not a valid assembly.
A stream that contains the specified file, or if the file is not found.
Gets the files in the file table of an assembly manifest.
A file that was found could not be loaded.
A file was not found.
A file was not a valid assembly.
An array of streams that contain the files.
Gets the files in the file table of an assembly manifest, specifying whether to include resource modules.
to include resource modules; otherwise, .
A file that was found could not be loaded.
A file was not found.
A file was not a valid assembly.
An array of streams that contain the files.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Gets all the loaded modules that are part of this assembly.
An array of modules.
Gets all the loaded modules that are part of this assembly, specifying whether to include resource modules.
to include resource modules; otherwise, .
An array of modules.
Returns information about how the given resource has been persisted.
The case-sensitive name of the resource.
is .
The parameter is an empty string ("").
An object that is populated with information about the resource's topology, or if the resource is not found.
Returns the names of all the resources in this assembly.
An array that contains the names of all the resources.
Loads the specified manifest resource from this assembly.
The case-sensitive name of the manifest resource being requested.
The parameter is .
The parameter is an empty string ("").
A file that was found could not be loaded.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
was not found.
is not a valid assembly.
Resource length is greater than Int64.MaxValue.
The manifest resource; or if no resources were specified during compilation or if the resource is not visible to the caller.
Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.
The type whose namespace is used to scope the manifest resource name.
The case-sensitive name of the manifest resource being requested.
The parameter is .
The parameter is an empty string ("").
A file that was found could not be loaded.
was not found.
is not a valid assembly.
Resource length is greater than Int64.MaxValue.
The manifest resource; or if no resources were specified during compilation or if the resource is not visible to the caller.
Gets the specified module in this assembly.
The name of the module being requested.
The parameter is .
The parameter is an empty string ("").
A file that was found could not be loaded.
was not found.
is not a valid assembly.
The module being requested, or if the module is not found.
Gets all the modules that are part of this assembly.
The module to be loaded does not specify a file name extension.
An array of modules.
Gets all the modules that are part of this assembly, specifying whether to include resource modules.
to include resource modules; otherwise, .
An array of modules.
Gets an for this assembly.
An object that contains the fully parsed display name for this assembly.
Gets an for this assembly, setting the codebase as specified by .
to set the to the location of the assembly after it was shadow copied; to set to the original location.
An object that contains the fully parsed display name for this assembly.
Gets serialization information with all of the data needed to reinstantiate this assembly.
The object to be populated with serialization information.
The destination context of the serialization.
is .
Gets the objects for all the assemblies referenced by this assembly.
An array that contains the fully parsed display names of all the assemblies referenced by this assembly.
Gets the specified version of the satellite assembly for the specified culture.
The specified culture.
The version of the satellite assembly.
is .
The satellite assembly with a matching file name was found, but the or the version did not match the one specified.
The assembly cannot be found.
The satellite assembly is not a valid assembly.
The specified satellite assembly.
Gets the satellite assembly for the specified culture.
The specified culture.
is .
The assembly cannot be found.
The satellite assembly with a matching file name was found, but the did not match the one specified.
The satellite assembly is not a valid assembly.
The specified satellite assembly.
Gets the object with the specified name in the assembly instance, with the options of ignoring the case, and of throwing an exception if the type is not found.
The full name of the type.
to throw an exception if the type is not found; to return .
to ignore the case of the type name; otherwise, .
is invalid.
-or-
The length of exceeds 1024 characters.
is .
is , and the type cannot be found.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly for the currently loaded runtime.
An object that represents the specified class.
Gets the object with the specified name in the assembly instance and optionally throws an exception if the type is not found.
The full name of the type.
to throw an exception if the type is not found; to return .
is invalid.
-or-
The length of exceeds 1024 characters.
is .
is , and the type cannot be found.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly for the currently loaded runtime.
An object that represents the specified class.
Gets the object with the specified name in the assembly instance.
The full name of the type.
is invalid.
is .
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly for the currently loaded runtime.
An object that represents the specified class, or if the class is not found.
Gets all types defined in this assembly.
The assembly contains one or more types that cannot be loaded. The array returned by the property of this exception contains a object for each type that was loaded and for each type that could not be loaded, while the property contains an exception for each type that could not be loaded.
An array that contains all the types that are defined in this assembly.
Indicates whether or not a specified attribute has been applied to the assembly.
The type of the attribute to be checked for this assembly.
This argument is ignored for objects of this type.
is .
uses an invalid type.
if the attribute has been applied to the assembly; otherwise, .
Loads the assembly with a common object file format (COFF)-based image containing an emitted assembly, optionally including symbols for the assembly.
A byte array that is a COFF-based image containing an emitted assembly.
A byte array that contains the raw bytes representing the symbols for the assembly.
is .
is not a valid assembly for the currently loaded runtime.
The loaded assembly.
Loads the assembly with a common object file format (COFF)-based image containing an emitted assembly.
A byte array that is a COFF-based image containing an emitted assembly.
is .
is not a valid assembly for the currently loaded runtime.
The loaded assembly.
Loads an assembly given its .
The object that describes the assembly to be loaded.
is .
is not found.
A file that was found could not be loaded.
-or-
.NET Framework only: specifies a location that is disabled based on <loadFromRemoteSources>.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
is not a valid assembly for the currently loaded runtime.
The loaded assembly.
Loads an assembly with the specified name.
The long or short form of the assembly name.
is .
is a zero-length string.
is not found.
A file that was found could not be loaded.
is not a valid assembly for the currently loaded runtime.
The loaded assembly.
Loads the contents of an assembly file on the specified path.
The fully qualified path of the file to load.
The argument is not an absolute path.
The parameter is .
A file that was found could not be loaded.
-or-
.NET Framework only: specifies a location that is disabled based on <loadFromRemoteSources>.
The parameter is an empty string ("") or does not exist.
is not a valid assembly for the currently loaded runtime.
The loaded assembly.
Loads an assembly given its file name or path, hash value, and hash algorithm.
The name or path of the file that contains the manifest of the assembly.
The value of the computed hash code.
The hash algorithm used for hashing files and for generating the strong name.
.NET Core and .NET 5+ only: In all cases.
is .
is not found, or the module you are trying to load does not specify a file name extension.
A file that was found could not be loaded.
-or-
specifies a location that is disabled based on <loadFromRemoteSources>.
is not a valid assembly for the currently loaded runtime; for example, a 32-bit assembly in a 64-bit process.
A codebase that does not start with "file://" was specified without the required .
The parameter is an empty string ("").
The assembly name exceeds the system-defined maximum length.
The loaded assembly.
Loads an assembly given its file name or path.
The name or path of the file that contains the manifest of the assembly.
is .
is not found, or the module you are trying to load does not specify a filename extension.
A file that was found could not be loaded.
-or-
.NET Framework only: specifies a location that is disabled based on <loadFromRemoteSources>.
is not a valid assembly for the currently loaded runtime; for example, a 32-bit assembly in a 64-bit process.
A codebase that does not start with "file://" was specified without the required .
The parameter is an empty string ("").
The assembly name exceeds the system-defined maximum length.
The loaded assembly.
Loads the module, internal to this assembly, with a common object file format (COFF)-based image containing an emitted module, or a resource file. The raw bytes representing the symbols for the module are also loaded.
The name of the module. This string must correspond to a file name in this assembly's manifest.
A byte array that is a COFF-based image containing an emitted module, or a resource.
A byte array containing the raw bytes representing the symbols for the module. Must be if this is a resource file.
or is .
does not match a file entry in this assembly's manifest.
is not a valid module.
A file that was found could not be loaded.
The loaded module.
Loads the module, internal to this assembly, with a common object file format (COFF)-based image containing an emitted module, or a resource file.
The name of the module. This string must correspond to a file name in this assembly's manifest.
A byte array that is a COFF-based image containing an emitted module, or a resource.
or is .
does not match a file entry in this assembly's manifest.
is not a valid module.
A file that was found could not be loaded.
The loaded module.
Loads an assembly from the application directory or from the global assembly cache using a partial name.
The display name of the assembly.
The parameter is .
The assembly is not a valid assembly for the currently loaded runtime.
The loaded assembly. If is not found, this method returns .
Indicates whether two objects are equal.
The assembly to compare to .
The assembly to compare to .
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The assembly to compare to .
The assembly to compare to .
if is not equal to ; otherwise, .
Loads the assembly from a common object file format (COFF)-based image containing an emitted assembly. The assembly is loaded into the reflection-only context of the caller's application domain.
A byte array that is a COFF-based image containing an emitted assembly.
is .
is not a valid assembly for the currently loaded runtime.
cannot be loaded.
.NET Core and .NET 5+ only: In all cases.
The loaded assembly.
Loads an assembly into the reflection-only context, given its display name.
The display name of the assembly, as returned by the property.
is .
is an empty string ("").
is not found.
is found, but cannot be loaded.
is not a valid assembly for the currently loaded runtime.
.NET Core and .NET 5+ only: In all cases.
The loaded assembly.
Loads an assembly into the reflection-only context, given its path.
The path of the file that contains the manifest of the assembly.
is .
is not found, or the module you are trying to load does not specify a file name extension.
is found, but could not be loaded.
is not a valid assembly for the currently loaded runtime.
A codebase that does not start with "file://" was specified without the required .
The assembly name exceeds the system-defined maximum length.
is an empty string ("").
.NET Core and .NET 5+ only: In all cases.
The loaded assembly.
Sets the application's entry assembly to the provided assembly object.
Assembly object that represents the application's new entry assembly.
Returns the full name of the assembly, also known as the display name.
The full name of the assembly, or the class name if the full name of the assembly cannot be determined.
Loads an assembly into the load-from context, bypassing some security checks.
The name or path of the file that contains the manifest of the assembly.
is .
is not found, or the module you are trying to load does not specify a filename extension.
A file that was found could not be loaded.
is not a valid assembly for the currently loaded runtime.
A codebase that does not start with "file://" was specified without the required .
The parameter is an empty string ("").
The assembly name exceeds the system-defined maximum length.
The loaded assembly.
Gets the location of the assembly as specified originally, for example, in an object.
.NET Core and .NET 5+ only: In all cases.
The location of the assembly as specified originally.
Gets a collection that contains this assembly's custom attributes.
A collection that contains this assembly's custom attributes.
Gets a collection of the types defined in this assembly.
A collection of the types defined in this assembly.
Gets the entry point of this assembly.
An object that represents the entry point of this assembly. If no entry point is found (for example, the assembly is a DLL), is returned.
Gets the URI, including escape characters, that represents the codebase.
A URI with escape characters.
Gets a collection of the public types defined in this assembly that are visible outside the assembly.
A collection of the public types defined in this assembly that are visible outside the assembly.
Gets the display name of the assembly.
The display name of the assembly.
Gets a value indicating whether the assembly was loaded from the global assembly cache (.NET Framework only).
.NET Framework only: if the assembly was loaded from the global assembly cache; otherwise, .
.NET Core and .NET 5 and later: in all cases.
Gets the host context with which the assembly was loaded.
An value that indicates the host context with which the assembly was loaded, if any.
Gets a string representing the version of the common language runtime (CLR) saved in the file containing the manifest.
The CLR version folder name. This is not a full path.
Gets a value that indicates whether this assembly is held in a collectible .
if this assembly is held in a collectible ; otherwise, .
Gets a value that indicates whether the current assembly was generated dynamically in the current process by using reflection emit.
if the current assembly was generated dynamically in the current process; otherwise, .
Gets a value that indicates whether the current assembly is loaded with full trust.
.NET Framework only: if the current assembly is loaded with full trust; otherwise, .
.NET Core and .NET 5+: in all cases.
Gets the full path or UNC location of the loaded file that contains the manifest.
The current assembly is a dynamic assembly, represented by an object.
The location of the loaded file that contains the manifest. If the assembly is loaded from a byte array, such as when using , the value returned is an empty string ("").
Gets the module that contains the manifest for the current assembly.
The module that contains the manifest for the assembly.
Gets a collection that contains the modules in this assembly.
A collection that contains the modules in this assembly.
Gets a value indicating whether this assembly was loaded into the reflection-only context.
if the assembly was loaded into the reflection-only context, rather than the execution context; otherwise, .
Gets a value that indicates which set of security rules the common language runtime (CLR) enforces for this assembly.
The security rule set that the CLR enforces for this assembly.
Specifies an algorithm to hash all files in an assembly. This class cannot be inherited.
Initializes a new instance of the class with the specified hash algorithm, using one of the members of to represent the hash algorithm.
A member of that represents the hash algorithm.
Initializes a new instance of the class with the specified hash algorithm, using an unsigned integer to represent the hash algorithm.
An unsigned integer representing the hash algorithm.
Gets the hash algorithm of an assembly manifest's contents.
An unsigned integer representing the assembly hash algorithm.
Defines a company name custom attribute for an assembly manifest.
Initializes a new instance of the class.
The company name information.
Gets company name information.
A string containing the company name.
Specifies the build configuration, such as retail or debug, for an assembly.
Initializes a new instance of the class.
The assembly configuration.
Gets assembly configuration information.
A string containing the assembly configuration information.
Provides information about the type of code contained in an assembly.
The assembly contains .NET code.
The assembly contains Windows Runtime code.
Defines a copyright custom attribute for an assembly manifest.
Initializes a new instance of the class.
The copyright information.
Gets copyright information.
A string containing the copyright information.
Specifies which culture the assembly supports.
Initializes a new instance of the class with the culture supported by the assembly being attributed.
The culture supported by the attributed assembly.
Gets the supported culture of the attributed assembly.
A string containing the name of the supported culture.
Defines a friendly default alias for an assembly manifest.
Initializes a new instance of the class.
The assembly default alias information.
Gets default alias information.
A string containing the default alias information.
Specifies that the assembly is not fully signed when created.
Initializes a new instance of the class.
if the feature this attribute represents is activated; otherwise, .
Gets a value indicating the state of the attribute.
if this assembly has been built as delay-signed; otherwise, .
Provides a text description for an assembly.
Initializes a new instance of the class.
The assembly description.
Gets assembly description information.
A string containing the assembly description.
Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly's version number.
Initializes a new instance of the class, specifying the file version.
The file version.
is .
Gets the Win32 file version resource name.
A string containing the file version resource name.
Specifies a bitwise combination of flags for an assembly, describing just-in-time (JIT) compiler options, whether the assembly is retargetable, and whether it has a full or tokenized public key. This class cannot be inherited.
Initializes a new instance of the class with the specified combination of flags, cast as an integer value.
A bitwise combination of flags, cast as an integer value, representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.
Initializes a new instance of the class with the specified combination of flags.
A bitwise combination of flags representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.
Initializes a new instance of the class with the specified combination of flags, cast as an unsigned integer value.
A bitwise combination of flags, cast as an unsigned integer value, representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.
Gets an integer value representing the combination of flags specified when this attribute instance was created.
An integer value representing a bitwise combination of flags.
Gets an unsigned integer value representing the combination of flags specified when this attribute instance was created.
An unsigned integer value representing a bitwise combination of flags.
Defines additional version information for an assembly manifest.
Initializes a new instance of the class.
The assembly version information.
Gets version information.
A string containing the version information.
Specifies the name of a file containing the key pair used to generate a strong name.
Initializes a new instance of the class with the name of the file containing the key pair to generate a strong name for the assembly being attributed.
The name of the file containing the key pair.
Gets the name of the file containing the key pair used to generate a strong name for the attributed assembly.
A string containing the name of the file that contains the key pair.
Specifies the name of a key container within the CSP containing the key pair used to generate a strong name.
Initializes a new instance of the class with the name of the container holding the key pair used to generate a strong name for the assembly being attributed.
The name of the container containing the key pair.
Gets the name of the container having the key pair that is used to generate a strong name for the attributed assembly.
A string containing the name of the container that has the relevant key pair.
Defines a key/value metadata pair for the decorated assembly.
Initializes a new instance of the class by using the specified metadata key and value.
The metadata key.
The metadata value.
Gets the metadata key.
The metadata key.
Gets the metadata value.
The metadata value.
Describes an assembly's unique identity in full.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified display name.
The display name of the assembly, as returned by the property.
is .
is a zero-length string.
The referenced assembly could not be found, or could not be loaded.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
Makes a copy of this object.
An object that is a copy of this object.
Gets the for a given file.
The path for the assembly whose is to be returned.
is .
is invalid, such as an assembly with an invalid culture.
is not found.
The caller does not have path discovery permission.
is not a valid assembly.
An assembly or module was loaded twice with two different sets of evidence.
An object that represents the given assembly file.
Gets serialization information with all the data needed to recreate an instance of this .
The object to be populated with serialization information.
The destination context of the serialization.
is .
Gets the public key of the assembly.
A public key was provided (for example, by using the method), but no public key token was provided.
A byte array that contains the public key of the assembly.
Gets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.
A byte array that contains the public key token.
Implements the interface and is called back by the deserialization event when deserialization is complete.
The source of the deserialization event.
Returns a value indicating whether two assembly names are the same. The comparison is based on the simple assembly names.
The reference assembly name.
The assembly name that is compared to the reference assembly.
if the simple assembly names are the same; otherwise, .
Sets the public key identifying the assembly.
A byte array containing the public key of the assembly.
Sets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.
A byte array containing the public key token of the assembly.
Returns the full name of the assembly, also known as the display name.
The full name of the assembly, or the class name if the full name cannot be determined.
Gets or sets the location of the assembly as a URL.
A string that is the URL location of the assembly.
Gets or sets a value that indicates what type of content the assembly contains.
A value that indicates what type of content the assembly contains.
Gets or sets the culture supported by the assembly.
An object that represents the culture supported by the assembly.
Gets or sets the name of the culture associated with the assembly.
The culture name.
Gets the URI, including escape characters, that represents the codebase.
A URI with escape characters.
Gets or sets the attributes of the assembly.
A value that represents the attributes of the assembly.
Gets the full name of the assembly, also known as the display name.
A string that is the full name of the assembly, also known as the display name.
Gets or sets the hash algorithm used by the assembly manifest.
The hash algorithm used by the assembly manifest.
Gets or sets the public and private cryptographic key pair that is used to create a strong name signature for the assembly.
.NET 6+ only: In all cases.
The public and private cryptographic key pair to be used to create a strong name for the assembly.
Gets or sets the simple name of the assembly. This is usually, but not necessarily, the file name of the manifest file of the assembly, minus its extension.
The simple name of the assembly.
Gets or sets a value that identifies the processor and bits-per-word of the platform targeted by an executable.
One of the enumeration values that identifies the processor and bits-per-word of the platform targeted by an executable.
Gets or sets the major, minor, build, and revision numbers of the assembly.
An object that represents the major, minor, build, and revision numbers of the assembly.
Gets or sets the information related to the assembly's compatibility with other assemblies.
A value that represents information about the assembly's compatibility with other assemblies.
Provides information about an reference.
Specifies that just-in-time (JIT) compiler optimization is disabled for the assembly. This is the exact opposite of the meaning that is suggested by the member name.
Specifies that just-in-time (JIT) compiler tracking is enabled for the assembly.
Specifies that no flags are in effect.
Specifies that a public key is formed from the full public key rather than the public key token.
Specifies that the assembly can be retargeted at runtime to an assembly from a different publisher. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Provides a remotable version of the .
Initializes a new instance of the class.
Gets the for a given file.
The assembly file for which to get the .
is .
is empty.
is not found.
The caller does not have the required permission.
is not a valid assembly.
An object representing the given file.
Defines a product name custom attribute for an assembly manifest.
Initializes a new instance of the class.
The product name information.
Gets product name information.
A string containing the product name.
Provides migration from an older, simpler strong name key to a larger key with a stronger hashing algorithm.
Creates a new instance of the class by using the specified public key and countersignature.
The public or identity key.
The countersignature, which is the signature key portion of the strong-name key.
Gets the countersignature for the strong name for this assembly.
The countersignature for this signature key.
Gets the public key for the strong name used to sign the assembly.
The public key for this assembly.
Specifies a description for an assembly.
Initializes a new instance of the class.
The assembly title.
Gets assembly title information.
The assembly title.
Defines a trademark custom attribute for an assembly manifest.
Initializes a new instance of the class.
The trademark information.
Gets trademark information.
A containing trademark information.
Specifies the version of the assembly being attributed.
Initializes a new instance of the class with the version number of the assembly being attributed.
The version number of the attributed assembly.
Gets the version number of the attributed assembly.
A string containing the assembly version number.
Selects a member from a list of candidates, and performs type conversion from actual argument type to formal argument type.
Initializes a new instance of the class.
Selects a field from the given set of fields, based on the specified criteria.
A bitwise combination of values.
The set of fields that are candidates for matching. For example, when a object is used by , this parameter specifies the set of fields that reflection has determined to be possible matches, typically because they have the correct member name. The default implementation provided by changes the order of this array.
The field value used to locate a matching field.
An instance of that is used to control the coercion of data types, in binder implementations that coerce types. If is , the for the current thread is used.
For the default binder, includes , and contains multiple fields that are equally good matches for . For example, contains a MyClass object that implements the IMyClass interface, and contains a field of type MyClass and a field of type IMyClass.
For the default binder, includes , and contains no fields that can accept .
For the default binder, includes , and is or an empty array.
-or-
includes , and is .
The matching field.
Selects a method to invoke from the given set of methods, based on the supplied arguments.
A bitwise combination of values.
The set of methods that are candidates for matching. For example, when a object is used by , this parameter specifies the set of methods that reflection has determined to be possible matches, typically because they have the correct member name. The default implementation provided by changes the order of this array.
The arguments that are passed in. The binder can change the order of the arguments in this array; for example, the default binder changes the order of arguments if the parameter is used to specify an order other than positional order. If a binder implementation coerces argument types, the types and values of the arguments can be changed as well.
An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified. The default binder implementation does not use this parameter.
An instance of that is used to control the coercion of data types, in binder implementations that coerce types. If is , the for the current thread is used.
The parameter names, if parameter names are to be considered when matching, or if arguments are to be treated as purely positional. For example, parameter names must be used if arguments are not supplied in positional order.
After the method returns, contains a binder-provided object that keeps track of argument reordering. The binder creates this object, and the binder is the sole consumer of this object. If is not when returns, you must pass to the method if you want to restore to its original order, for example, so that you can retrieve the values of parameters ( parameters in Visual Basic).
For the default binder, contains multiple methods that are equally good matches for . For example, contains a MyClass object that implements the IMyClass interface, and contains a method that takes MyClass and a method that takes IMyClass.
For the default binder, contains no methods that can accept the arguments supplied in .
For the default binder, is or an empty array.
The matching method.
Changes the type of the given to the given .
The object to change into a new .
The new that will become.
An instance of that is used to control the coercion of data types. If is , the for the current thread is used.
An object that contains the given value as the new type.
Upon returning from , restores the argument to what it was when it came from .
The actual arguments that are passed in. Both the types and values of the arguments can be changed.
A binder-provided object that keeps track of argument reordering.
Selects a method from the given set of methods, based on the argument type.
A bitwise combination of values.
The set of methods that are candidates for matching. For example, when a object is used by , this parameter specifies the set of methods that reflection has determined to be possible matches, typically because they have the correct member name. The default implementation provided by changes the order of this array.
The parameter types used to locate a matching method.
An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified.
For the default binder, contains multiple methods that are equally good matches for the parameter types described by . For example, the array in contains a object for MyClass and the array in contains a method that takes a base class of MyClass and a method that takes an interface that MyClass implements.
For the default binder, is or an empty array.
-or-
An element of derives from , but is not of type .
The matching method, if found; otherwise, .
Selects a property from the given set of properties, based on the specified criteria.
A bitwise combination of values.
The set of properties that are candidates for matching. For example, when a object is used by , this parameter specifies the set of properties that reflection has determined to be possible matches, typically because they have the correct member name. The default implementation provided by changes the order of this array.
The return value the matching property must have.
The index types of the property being searched for. Used for index properties such as the indexer for a class.
An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified.
For the default binder, contains multiple properties that are equally good matches for and .
For the default binder, is or an empty array.
The matching property.
Specifies flags that control binding and the way in which the search for members and types is conducted by reflection.
Specifies that reflection should create an instance of the specified type. Calls the constructor that matches the given arguments. The supplied member name is ignored. If the type of lookup is not specified, (Instance | Public) will apply. It is not possible to call a type initializer.
This flag is passed to an method to invoke a constructor.
Specifies that only members declared at the level of the supplied type's hierarchy should be considered. Inherited members are not considered.
Specifies that no binding flags are defined.
Specifies that exceptions should not be wrapped in a .
Specifies that types of the supplied arguments must exactly match the types of the corresponding formal parameters. Reflection throws an exception if the caller supplies a non-null object, since that implies that the caller is supplying implementations that will pick the appropriate method. The default binder ignores this flag, while custom binders can implement the semantics of this flag.
Specifies that public and protected static members up the hierarchy should be returned. Private static members in inherited classes are not returned. Static members include fields, methods, events, and properties. Nested types are not returned.
Specifies that the value of the specified field should be returned.
This flag is passed to an method to get a field value.
Specifies that the value of the specified property should be returned.
This flag is passed to an method to invoke a property getter.
Specifies that the case of the member name should not be considered when binding.
Used in COM interop to specify that the return value of the member can be ignored.
Specifies that instance members are to be included in the search.
Specifies that a method is to be invoked. This must not be a constructor or a type initializer.
This flag is passed to an method to invoke a method.
Specifies that non-public members are to be included in the search.
Returns the set of members whose parameter count matches the number of supplied arguments. This binding flag is used for methods with parameters that have default values and methods with variable arguments (varargs). This flag should only be used with .
Parameters with default values are used only in calls where trailing arguments are omitted. They must be the last arguments.
Specifies that public members are to be included in the search.
Specifies that the member on a COM object should be invoked. specifies a property-setting function that uses a value. Use if a property has both and and you need to distinguish which one is called.
Specifies that the member on a COM object should be invoked. specifies a property-setting function that uses a reference instead of a value. Use if a property has both and and you need to distinguish which one is called.
Specifies that the value of the specified field should be set.
This flag is passed to an method to set a field value.
Specifies that the value of the specified property should be set. For COM properties, specifying this binding flag is equivalent to specifying and .
This flag is passed to an method to invoke a property setter.
Specifies that static members are to be included in the search.
Not implemented.
Defines the valid calling conventions for a method.
Specifies that either the or the calling convention may be used.
Specifies that the signature is a function-pointer signature, representing a call to an instance or virtual method (not a static method). If is set, must also be set. The first argument passed to the called method is still a pointer, but the type of the first argument is now unknown. Therefore, a token that describes the type (or class) of the pointer is explicitly stored into its metadata signature.
Specifies an instance or virtual method (not a static method). At run-time, the called method is passed a pointer to the target object as its first argument (the pointer). The signature stored in metadata does not include the type of this first argument, because the method is known and its owner class can be discovered from metadata.
Specifies the default calling convention as determined by the common language runtime. Use this calling convention for static methods. For instance or virtual methods use .
Specifies the calling convention for methods with variable arguments.
Discovers the attributes of a class constructor and provides access to constructor metadata.
Represents the name of the class constructor method as it is stored in metadata. This name is always ".ctor". This field is read-only.
Represents the name of the type constructor method as it is stored in metadata. This name is always ".cctor". This property is read-only.
Initializes a new instance of the class.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used.
An array of values that matches the number, order and type (under the constraints of the default binder) of the parameters for this constructor. If this constructor takes no parameters, then use either an array with zero elements or , as in Object[] parameters = new Object[0]. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is . For value-type elements, this value is 0, 0.0, or , depending on the specific element type.
The class is abstract.
-or-
The constructor is a class initializer.
The constructor is private or protected, and the caller lacks .
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The array does not contain values that match the types accepted by this constructor.
The invoked constructor throws an exception.
An incorrect number of parameters was passed.
Creation of , , and types is not supported.
The caller does not have the necessary code access permission.
An instance of the class associated with the constructor.
When implemented in a derived class, invokes the constructor reflected by this with the specified arguments, under the constraints of the specified .
One of the values that specifies the type of binding.
A that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If is , then is used.
An array of type used to match the number, order and type of the parameters for this constructor, under the constraints of . If this constructor does not require parameters, pass an array with zero elements, as in Object[] parameters = new Object[0]. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is . For value-type elements, this value is 0, 0.0, or , depending on the specific element type.
A used to govern the coercion of types. If this is , the for the current thread is used.
The array does not contain values that match the types accepted by this constructor, under the constraints of the .
The invoked constructor throws an exception.
An incorrect number of parameters was passed.
Creation of , , and types is not supported.
The caller does not have the necessary code access permissions.
The class is abstract.
-or-
The constructor is a class initializer.
The constructor is private or protected, and the caller lacks .
An instance of the class associated with the constructor.
Indicates whether two objects are equal.
The first to compare.
The second to compare.
if is equal to ; otherwise .
Indicates whether two objects are not equal.
The first to compare.
The second to compare.
if is not equal to ; otherwise .
Gets a value indicating that this member is a constructor.
A value indicating that this member is a constructor.
Provides methods to invoke the method specified by the provided .
Creates a new instance of .
The constructor that will be invoked.
The is not a runtime-based method.
The new instance.
Invokes the constructor.
The type that declares the method is an open generic type.
An incorrect number of arguments was provided.
The calling convention or signature is not supported.
An instance of the class associated with the constructor.
Invokes the constructor using the specified arguments.
The first argument for the invoked method.
The second argument for the invoked method.
The third argument for the invoked method.
The fourth argument for the invoked method.
An instance of the class associated with the constructor.
Invokes the constructor using the specified arguments.
The first argument for the invoked method.
The second argument for the invoked method.
The third argument for the invoked method.
An instance of the class associated with the constructor.
Invokes the constructor using the specified arguments.
The first argument for the invoked method.
The second argument for the invoked method.
An instance of the class associated with the constructor.
Invokes the constructor using the specified arguments.
The first argument for the invoked method.
The arguments do not match the signature of the invoked constructor.
An instance of the class associated with the constructor.
Invokes the constructor using the specified arguments.
The arguments for the invoked constructor.
The arguments do not match the signature of the invoked constructor.
An instance of the class associated with the constructor.
Provides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context.
Initializes a new instance of the class.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if is equal to the current instance; otherwise, .
Returns a list of objects representing data about the attributes that have been applied to the target assembly.
The assembly whose custom attribute data is to be retrieved.
is .
A list of objects that represent data about the attributes that have been applied to the target assembly.
Returns a list of objects representing data about the attributes that have been applied to the target member.
The member whose attribute data is to be retrieved.
is .
A list of objects that represent data about the attributes that have been applied to the target member.
Returns a list of objects representing data about the attributes that have been applied to the target module.
The module whose custom attribute data is to be retrieved.
is .
A list of objects that represent data about the attributes that have been applied to the target module.
Returns a list of objects representing data about the attributes that have been applied to the target parameter.
The parameter whose attribute data is to be retrieved.
is .
A list of objects that represent data about the attributes that have been applied to the target parameter.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a string representation of the custom attribute.
A string value that represents the custom attribute.
Gets the type of the attribute.
The type of the attribute.
Gets a object that represents the constructor that would have initialized the custom attribute.
An object that represents the constructor that would have initialized the custom attribute represented by the current instance of the class.
Gets the list of positional arguments specified for the attribute instance represented by the object.
A collection of structures that represent the positional arguments specified for the custom attribute instance.
Gets the list of named arguments specified for the attribute instance represented by the object.
A collection of structures that represent the named arguments specified for the custom attribute instance.
Contains static methods for retrieving custom attributes.
Retrieves a custom attribute of a specified type that is applied to a specified assembly.
The assembly to inspect.
The type of attribute to search for.
or is .
is not derived from .
More than one of the requested attributes was found.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.
The member to inspect.
The type of attribute to search for.
to inspect the ancestors of ; otherwise, .
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified member.
The member to inspect.
The type of attribute to search for.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified module.
The module to inspect.
The type of attribute to search for.
or is .
is not derived from .
More than one of the requested attributes was found.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
The parameter to inspect.
The type of attribute to search for.
to inspect the ancestors of ; otherwise, .
or is .
is not derived from .
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute matching , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified parameter.
The parameter to inspect.
The type of attribute to search for.
or is .
is not derived from .
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified assembly.
The assembly to inspect.
The type of attribute to search for.
is .
More than one of the requested attributes was found.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.
The member to inspect.
to inspect the ancestors of ; otherwise, .
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified member.
The member to inspect.
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified module.
The module to inspect.
The type of attribute to search for.
is .
More than one of the requested attributes was found.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
The parameter to inspect.
to inspect the ancestors of ; otherwise, .
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute that matches , or if no such attribute is found.
Retrieves a custom attribute of a specified type that is applied to a specified parameter.
The parameter to inspect.
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
More than one of the requested attributes was found.
A custom attribute type cannot be loaded.
A custom attribute that matches , or if no such attribute is found.
Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
The assembly to inspect.
The type of attribute to search for.
or is .
is not derived from .
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes that are applied to a specified assembly.
The assembly to inspect.
is .
A collection of the custom attributes that are applied to , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes that are applied to a specified member, and optionally inspects the ancestors of that member.
The member to inspect.
to inspect the ancestors of ; otherwise, .
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to that match the specified criteria, or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.
The member to inspect.
The type of attribute to search for.
to inspect the ancestors of ; otherwise, .
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified member.
The member to inspect.
The type of attribute to search for.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes that are applied to a specified member.
The member to inspect.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified module.
The module to inspect.
The type of attribute to search for.
or is .
is not derived from .
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes that are applied to a specified module.
The module to inspect.
is .
A collection of the custom attributes that are applied to , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
The parameter to inspect.
to inspect the ancestors of ; otherwise, .
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
The parameter to inspect.
The type of attribute to search for.
to inspect the ancestors of ; otherwise, .
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.
The parameter to inspect.
The type of attribute to search for.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes that are applied to a specified parameter.
The parameter to inspect.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
The assembly to inspect.
The type of attribute to search for.
is .
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.
The member to inspect.
to inspect the ancestors of ; otherwise, .
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified member.
The member to inspect.
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified module.
The module to inspect.
The type of attribute to search for.
is .
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
The parameter to inspect.
to inspect the ancestors of ; otherwise, .
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.
The parameter to inspect.
The type of attribute to search for.
is .
is not a constructor, method, property, event, type, or field.
A custom attribute type cannot be loaded.
A collection of the custom attributes that are applied to and that match , or an empty collection if no such attributes exist.
Indicates whether custom attributes of a specified type are applied to a specified assembly.
The assembly to inspect.
The type of the attribute to search for.
or is .
is not derived from .
if an attribute of the specified type is applied to ; otherwise, .
Indicates whether custom attributes of a specified type are applied to a specified member, and, optionally, applied to its ancestors.
The member to inspect.
The type of the attribute to search for.
to inspect the ancestors of ; otherwise, .
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
if an attribute of the specified type is applied to ; otherwise, .
Indicates whether custom attributes of a specified type are applied to a specified member.
The member to inspect.
The type of attribute to search for.
or is .
is not derived from .
is not a constructor, method, property, event, type, or field.
if an attribute of the specified type is applied to ; otherwise, .
Indicates whether custom attributes of a specified type are applied to a specified module.
The module to inspect.
The type of attribute to search for.
or is .
is not derived from .
if an attribute of the specified type is applied to ; otherwise, .
Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors.
The parameter to inspect.
The type of attribute to search for.
to inspect the ancestors of ; otherwise, .
or is .
is not derived from .
if an attribute of the specified type is applied to ; otherwise, .
Indicates whether custom attributes of a specified type are applied to a specified parameter.
The parameter to inspect.
The type of attribute to search for.
or is .
is not derived from .
if an attribute of the specified type is applied to ; otherwise, .
The exception that is thrown when the binary format of a custom attribute is invalid.
Initializes a new instance of the class with the default properties.
Initializes a new instance of the class with the specified serialization and context information.
The data for serializing or deserializing the custom attribute.
The source and destination for the custom attribute.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified message.
The message that indicates the reason this exception was thrown.
Represents a named argument of a custom attribute in the reflection-only context.
Initializes a new instance of the class, which represents the specified field or property of the custom attribute, and specifies the value of the field or property.
A field or property of the custom attribute. The new object represents this member and its value.
The value of the field or property of the custom attribute.
is .
is not a field or property of the custom attribute.
Initializes a new instance of the class, which represents the specified field or property of the custom attribute, and specifies a object that describes the type and value of the field or property.
A field or property of the custom attribute. The new object represents this member and its value.
An object that describes the type and value of the field or property.
is .
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Indicates whether the current instance is equal to another instance of the same type.
An instance to compare with this instance.
if the current instance is equal to the other instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Tests whether two structures are equivalent.
The structure to the left of the equality operator.
The structure to the right of the equality operator.
if the two structures are equal; otherwise, .
Tests whether two structures are different.
The structure to the left of the inequality operator.
The structure to the right of the inequality operator.
if the two structures are different; otherwise, .
Returns a string that consists of the argument name, the equal sign, and a string representation of the argument value.
A string that consists of the argument name, the equal sign, and a string representation of the argument value.
Gets a value that indicates whether the named argument is a field.
if the named argument is a field; otherwise, .
Gets the attribute member that would be used to set the named argument.
The attribute member that would be used to set the named argument.
Gets the name of the attribute member that would be used to set the named argument.
The name of the attribute member that would be used to set the named argument.
Gets a structure that can be used to obtain the type and value of the current named argument.
A structure that can be used to obtain the type and value of the current named argument.
Represents an argument of a custom attribute in the reflection-only context, or an element of an array argument.
Initializes a new instance of the class with the specified value.
The value of the custom attribute argument.
is .
Initializes a new instance of the class with the specified type and value.
The type of the custom attribute argument.
The value of the custom attribute argument.
is .
Indicates whether this instance and a specified object are equal.
Another object to compare to.
if and this instance are the same type and represent the same value; otherwise, .
Indicates whether the current instance is equal to another instance of the same type.
An instance to compare with this instance.
if the current instance is equal to the other instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer that is the hash code for this instance.
Tests whether two structures are equivalent.
The structure to the left of the equality operator.
The structure to the right of the equality operator.
if the two structures are equal; otherwise, .
Tests whether two structures are different.
The structure to the left of the inequality operator.
The structure to the right of the inequality operator.
if the two structures are different; otherwise, .
Returns a string consisting of the argument name, the equal sign, and a string representation of the argument value.
A string consisting of the argument name, the equal sign, and a string representation of the argument value.
Gets the type of the argument or of the array argument element.
A object representing the type of the argument or of the array element.
Gets the value of the argument for a simple argument or for an element of an array argument; gets a collection of values for an array argument.
An object that represents the value of the argument or element, or a generic of objects that represent the values of an array-type argument.
Defines the member of a type that is the default member used by .
Initializes a new instance of the class.
A containing the name of the member to invoke. This may be a constructor, method, property, or field. A suitable invocation attribute must be specified when the member is invoked. The default member of a class can be specified by passing an empty as the name of the member.
The default member of a type is marked with the custom attribute or marked in COM in the usual way.
Gets the name from the attribute.
A string representing the member name.
Specifies the attributes of an event.
Specifies that the event has no attributes.
Specifies a reserved flag for common language runtime use only.
Specifies that the common language runtime should check name encoding.
Specifies that the event is special in a way described by the name.
Discovers the attributes of an event and provides access to event metadata.
Initializes a new instance of the class.
Adds an event handler to an event source.
The event source.
Encapsulates a method or methods to be invoked when the event is raised by the target.
The event does not have a public accessor.
The handler that was passed in cannot be used.
The caller does not have access permission to the member.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The parameter is and the event is not static.
-or-
The is not declared on the target.
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Returns the method used to add an event handler delegate to the event source.
A object representing the method used to add an event handler delegate to the event source.
When overridden in a derived class, retrieves the object for the method of the event, specifying whether to return non-public methods.
if non-public methods can be returned; otherwise, .
is , the method used to add an event handler delegate is non-public, and the caller does not have permission to reflect on non-public methods.
A object representing the method used to add an event handler delegate to the event source.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the public methods that have been associated with an event in metadata using the directive.
An array representing the public methods that have been associated with the event in metadata by using the directive. If there are no such public methods, an empty array is returned.
Returns the methods that have been associated with the event in metadata using the directive, specifying whether to include non-public methods.
to include non-public methods; otherwise, .
This method is not implemented.
An array representing methods that have been associated with an event in metadata by using the directive. If there are no methods matching the specification, an empty array is returned.
Returns the method that is called when the event is raised.
The method that is called when the event is raised.
When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods.
if non-public methods can be returned; otherwise, .
is , the method used to add an event handler delegate is non-public, and the caller does not have permission to reflect on non-public methods.
A object that was called when the event was raised.
Returns the method used to remove an event handler delegate from the event source.
A object representing the method used to remove an event handler delegate from the event source.
When overridden in a derived class, retrieves the object for removing a method of the event, specifying whether to return non-public methods.
if non-public methods can be returned; otherwise, .
is , the method used to add an event handler delegate is non-public, and the caller does not have permission to reflect on non-public methods.
A object representing the method used to remove an event handler delegate from the event source.
Indicates whether two objects are equal.
The first object to compare.
The second object to compare.
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The first object to compare.
The second object to compare.
if is not equal to ; otherwise, .
Removes an event handler from an event source.
The event source.
The delegate to be disassociated from the events raised by target.
The event does not have a public accessor.
The handler that was passed in cannot be used.
The parameter is and the event is not static.
-or-
The is not declared on the target.
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
The caller does not have access permission to the member.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
Gets the object for the method of the event, including non-public methods.
The object for the method.
Gets the attributes for this event.
The read-only attributes for this event.
Gets the object of the underlying event-handler delegate associated with this event.
The caller does not have the required permission.
A read-only object representing the delegate event handler.
Gets a value indicating whether the event is multicast.
The caller does not have the required permission.
if the delegate is an instance of a multicast delegate; otherwise, .
Gets a value indicating whether the has a name with a special meaning.
if this event has a special name; otherwise, .
Gets a value indicating that this member is an event.
A value indicating that this member is an event.
Gets the method that is called when the event is raised, including non-public methods.
The method that is called when the event is raised.
Gets the object for removing a method of the event, including non-public methods.
The object for removing a method of the event.
Represents a clause in a structured exception-handling block.
Initializes a new instance of the class.
A string representation of the exception-handling clause.
A string that lists appropriate property values for the filter clause type.
Gets the type of exception handled by this clause.
Invalid use of property for the object's current state.
A object that represents that type of exception handled by this clause, or if the property is or .
Gets the offset within the method body, in bytes, of the user-supplied filter code.
Cannot get the offset because the exception handling clause is not a filter.
The offset within the method body, in bytes, of the user-supplied filter code. The value of this property has no meaning if the property has any value other than .
Gets a value indicating whether this exception-handling clause is a finally clause, a type-filtered clause, or a user-filtered clause.
An value that indicates what kind of action this clause performs.
Gets the length, in bytes, of the body of this exception-handling clause.
An integer that represents the length, in bytes, of the MSIL that forms the body of this exception-handling clause.
Gets the offset within the method body, in bytes, of this exception-handling clause.
An integer that represents the offset within the method body, in bytes, of this exception-handling clause.
The total length, in bytes, of the try block that includes this exception-handling clause.
The total length, in bytes, of the try block that includes this exception-handling clause.
The offset within the method, in bytes, of the try block that includes this exception-handling clause.
An integer that represents the offset within the method, in bytes, of the try block that includes this exception-handling clause.
Identifies kinds of exception-handling clauses.
The clause accepts all exceptions that derive from a specified type.
The clause is executed if an exception occurs, but not on completion of normal control flow.
The clause contains user-specified instructions that determine whether the exception should be ignored (that is, whether normal execution should resume), be handled by the associated handler, or be passed on to the next clause.
The clause is executed whenever the try block exits, whether through normal control flow or because of an unhandled exception.
Specifies flags that describe the attributes of a field.
Specifies that the field is accessible throughout the assembly.
Specifies that the field is accessible only by subtypes in this assembly.
Specifies that the field is accessible only by type and subtypes.
Specifies that the field is accessible by subtypes anywhere, as well as throughout this assembly.
Specifies the access level of a given field.
Specifies that the field has a default value.
Specifies that the field has marshaling information.
Specifies that the field has a relative virtual address (RVA). The RVA is the location of the method body in the current image, as an address relative to the start of the image file in which it is located.
Specifies that the field is initialized only, and can be set only in the body of a constructor.
Specifies that the field's value is a compile-time (static or early bound) constant. Any attempt to set it throws a .
Specifies that the field does not have to be serialized when the type is remoted.
Reserved for future use.
Specifies that the field is accessible only by the parent type.
Specifies that the field cannot be referenced.
Specifies that the field is accessible by any member for whom this scope is visible.
Reserved.
Specifies that the common language runtime (metadata internal APIs) should check the name encoding.
Specifies a special method, with the name describing how the method is special.
Specifies that the field represents the defined type, or else it is per-instance.
Discovers the attributes of a field and provides access to field metadata.
Initializes a new instance of the class.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Gets a for the field represented by the specified handle, for the specified generic type.
A structure that contains the handle to the internal metadata representation of a field.
A structure that contains the handle to the generic type that defines the field.
is invalid.
-or-
is not compatible with . For example, is the runtime type handle of the generic type definition, and comes from a constructed type.
A object representing the field specified by , in the generic type specified by .
Gets a for the field represented by the specified handle.
A structure that contains the handle to the internal metadata representation of a field.
is invalid.
A object representing the field specified by .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Gets the modified type of this field object.
A modified type.
Gets an array of types that identify the optional custom modifiers of the field.
An array of objects that identify the optional custom modifiers of the current field, such as .
Returns a literal value associated with the field by a compiler.
The Constant table in unmanaged metadata does not contain a constant value for the current field.
The type of the value is not one of the types permitted by the Common Language Specification (CLS). See the ECMA Partition II specification Metadata Logical Format: Other Structures, Element Types used in Signatures.
The constant value for the field is not set.
An that contains the literal value associated with the field. If the literal value is a class type with an element value of zero, the return value is .
Gets an array of types that identify the required custom modifiers of the property.
An array of objects that identify the required custom modifiers of the current property, such as or .
When overridden in a derived class, returns the value of a field supported by a given object.
The object whose field value will be returned.
The field is non-static and is .
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
A field is marked literal, but the field does not have one of the accepted literal types.
The caller does not have permission to access this field.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The method is neither declared nor inherited by the class of .
An object containing the value of the field reflected by this instance.
Returns the value of a field supported by a given object.
A structure that encapsulates a managed pointer to a location and a runtime representation of the type that might be stored at that location.
The caller requires the Common Language Specification (CLS) alternative, but called this method instead.
An containing a field value.
Indicates whether two objects are equal.
The first object to compare.
The second object to compare.
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The first object to compare.
The second object to compare.
if is not equal to ; otherwise, .
When overridden in a derived class, sets the value of the field supported by the given object.
The object whose field value will be set.
The value to assign to the field.
A field of that specifies the type of binding that is desired (for example, or ).
A set of properties that enables the binding, coercion of argument types, and invocation of members through reflection. If is , then is used.
The software preferences of a particular culture.
The caller does not have permission to access this field.
The parameter is and the field is an instance field.
The field does not exist on the object.
-or-
The parameter cannot be converted and stored in the field.
Sets the value of the field supported by the given object.
The object whose field value will be set.
The value to assign to the field.
The caller does not have permission to access this field.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The parameter is and the field is an instance field.
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
The field does not exist on the object.
-or-
The parameter cannot be converted and stored in the field.
Sets the value of the field supported by the given object.
A structure that encapsulates a managed pointer to a location and a runtime representation of the type that can be stored at that location.
The value to assign to the field.
The caller requires the Common Language Specification (CLS) alternative, but called this method instead.
Gets the attributes associated with this field.
The for this field.
Gets a , which is a handle to the internal metadata representation of a field.
A handle to the internal metadata representation of a field.
Gets the type of this field object.
The type of this field object.
Gets a value indicating whether the potential visibility of this field is described by ; that is, the field is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly.
if the visibility of this field is exactly described by ; otherwise, .
Gets a value indicating whether the visibility of this field is described by ; that is, the field is visible only within its class and derived classes.
if access to this field is exactly described by ; otherwise, .
Gets a value indicating whether the visibility of this field is described by ; that is, the field can be accessed from derived classes, but only if they are in the same assembly.
if access to this field is exactly described by ; otherwise, .
Gets a value indicating whether the potential visibility of this field is described by ; that is, the field can be accessed by derived classes wherever they are, and by classes in the same assembly.
if access to this field is exactly described by ; otherwise, .
Gets a value indicating whether the field can only be set in the body of the constructor.
if the field has the attribute set; otherwise, .
Gets a value indicating whether the value is written at compile time and cannot be changed.
if the field has the attribute set; otherwise, .
Gets a value indicating whether this field has the attribute.
if the field has the attribute set; otherwise, .
Gets a value indicating whether the corresponding attribute is set in .
if the attribute is set in ; otherwise, .
Gets a value indicating whether the field is private.
if the field is private; otherwise; .
Gets a value indicating whether the field is public.
if this field is public; otherwise, .
Gets a value that indicates whether the current field is security-critical or security-safe-critical at the current trust level.
if the current field is security-critical or security-safe-critical at the current trust level; if it is transparent.
Gets a value that indicates whether the current field is security-safe-critical at the current trust level.
if the current field is security-safe-critical at the current trust level; if it is security-critical or transparent.
Gets a value that indicates whether the current field is transparent at the current trust level.
if the field is security-transparent at the current trust level; otherwise, .
Gets a value indicating whether the corresponding attribute is set in the enumerator.
if the attribute is set in ; otherwise, .
Gets a value indicating whether the field is static.
if this field is static; otherwise, .
Gets a value indicating that this member is a field.
A value indicating that this member is a field.
Describes the constraints on a generic type parameter of a generic type or method.
The generic type parameter can be ByRefLike.
The generic type parameter is contravariant. A contravariant type parameter can appear as a parameter type in method signatures.
The generic type parameter is covariant. A covariant type parameter can appear as the result type of a method, the type of a read-only field, a declared base type, or an implemented interface.
A type can be substituted for the generic type parameter only if it has a parameterless constructor.
There are no special flags.
A type can be substituted for the generic type parameter only if it is a value type and is not nullable.
A type can be substituted for the generic type parameter only if it is a reference type.
Selects the combination of all special constraint flags. This value is the result of using logical OR to combine the following flags: , , and .
Selects the combination of all variance flags. This value is the result of using logical OR to combine the following flags: and .
Provides custom attributes for reflection objects that support them.
Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes.
When , look up the hierarchy chain for the inherited custom attribute.
The custom attribute type cannot be loaded.
An array of Objects representing custom attributes, or an empty array.
Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type.
The type of the custom attributes.
When , look up the hierarchy chain for the inherited custom attribute.
The custom attribute type cannot be loaded.
is .
An array of Objects representing custom attributes, or an empty array.
Indicates whether one or more instance of is defined on this member.
The type of the custom attributes.
When , look up the hierarchy chain for the inherited custom attribute.
if the is defined on this member; otherwise.
Identifies the platform targeted by an executable.
Targets a 64-bit AMD processor.
Targets an ARM processor.
Targets a 32-bit Intel processor.
Targets a 64-bit Intel processor.
Retrieves the mapping of an interface into the actual methods on a class that implements that interface.
Shows the methods that are defined on the interface.
Shows the type that represents the interface.
Shows the methods that implement the interface.
Represents the type that was used to create the interface mapping.
Contains methods for converting objects.
Returns the representation of the specified type.
The type to convert.
The converted object.
The exception that is thrown in when the filter criteria is not valid for the type of filter you are using.
Initializes a new instance of the class with the default properties.
Initializes a new instance of the class with the specified serialization and context information.
A object that contains the information required to serialize this instance.
A object that contains the source and destination of the serialized stream associated with this instance.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the given HRESULT and message string.
The message text for the exception.
Interoperates with the IDispatch interface.
Returns the object that corresponds to the specified field and binding flag.
The name of the field to find.
The binding attributes used to control the search.
The object implements multiple fields with the same name.
A object containing the field information for the named object that meets the search constraints specified in .
Returns an array of objects that correspond to all fields of the current class.
The binding attributes used to control the search.
An array of objects containing all the field information for this reflection object that meets the search constraints specified in .
Retrieves an array of objects corresponding to all public members or to all members that match a specified name.
The name of the member to find.
The binding attributes used to control the search.
An array of objects matching the parameter.
Retrieves an array of objects that correspond either to all public members or to all members of the current class.
The binding attributes used to control the search.
An array of objects containing all the member information for this reflection object.
Retrieves a object corresponding to a specified method, using a array to choose from among overloaded methods.
The name of the member to find.
The binding attributes used to control the search.
An object that implements , containing properties related to this method.
An array used to choose among overloaded methods.
An array of parameter modifiers used to make binding work with parameter signatures in which the types have been modified.
The object implements multiple methods with the same name.
The requested method that matches all the specified parameters.
Retrieves a object that corresponds to a specified method under specified search constraints.
The name of the member to find.
The binding attributes used to control the search.
The object implements multiple methods with the same name.
A object containing the method information, with the match being based on the method name and search constraints specified in .
Retrieves an array of objects with all public methods or all methods of the current class.
The binding attributes used to control the search.
An array of objects containing all the methods defined for this reflection object that meet the search constraints specified in .
Retrieves an array of objects corresponding to all public properties or to all properties of the current class.
The binding attribute used to control the search.
An array of objects for all the properties defined on the reflection object.
Retrieves a object that corresponds to a specified property with specified search constraints.
The name of the member to find.
The binding attribute used to control the search.
An object that implements , containing properties related to this method.
The type of the property.
An array used to choose among overloaded methods with the same name.
An array used to choose the parameter modifiers.
A object for the located property, if a property with the specified name was located in this reflection object, or if the property was not located.
Retrieves a object corresponding to a specified property under specified search constraints.
The name of the property to find.
The binding attributes used to control the search.
The object implements multiple fields with the same name.
A object for the located property that meets the search constraints specified in , or if the property was not located.
Invokes a specified member.
The name of the member to find.
One of the invocation attributes. The parameter may be a constructor, method, property, or field. A suitable invocation attribute must be specified. Invoke the default member of a class by passing the empty string ("") as the name of the member.
One of the bit flags. Implements , containing properties related to this method.
The object on which to invoke the specified member. This parameter is ignored for static members.
An array of objects that contains the number, order, and type of the parameters of the member to be invoked. This is an empty array if there are no parameters.
An array of objects. This array has the same length as the parameter, representing the invoked member's argument attributes in the metadata. A parameter can have the following attributes: , , , , and . These represent [In], [Out], [retval], [optional], and a default parameter, respectively. These attributes are used by various interoperability services.
An instance of used to govern the coercion of types. For example, converts a string that represents 1000 to a value, since 1000 is represented differently by different cultures. If this parameter is , the for the current thread is used.
A string array of parameters.
More than one argument is specified for a field .
The field or property cannot be found.
The method cannot be found.
A private member is invoked without the necessary .
The specified member.
Gets the underlying type that represents the object.
The underlying type that represents the object.
Represents a type that you can reflect over.
Retrieves an object that represents this type.
An object that represents this type.
Discovers the attributes of a local variable and provides access to local variable metadata.
Initializes a new instance of the class.
Returns a user-readable string that describes the local variable.
A string that displays information about the local variable, including the type name, index, and pinned status.
Gets a value that indicates whether the object referred to by the local variable is pinned in memory.
if the object referred to by the variable is pinned in memory; otherwise, .
Gets the index of the local variable within the method body.
An integer value that represents the order of declaration of the local variable within the method body.
Gets the type of the local variable.
The type of the local variable.
Provides access to manifest resources, which are XML files that describe application dependencies.
Initializes a new instance of the class for a resource that is contained by the specified assembly and file, and that has the specified location.
The assembly that contains the manifest resource.
The name of the file that contains the manifest resource, if the file is not the same as the manifest file.
A bitwise combination of enumeration values that provides information about the location of the manifest resource.
Gets the name of the file that contains the manifest resource, if it is not the same as the manifest file.
The manifest resource's file name.
Gets the containing assembly for the manifest resource.
The manifest resource's containing assembly.
Gets the manifest resource's location.
A bitwise combination of flags that indicates the location of the manifest resource.
Represents a delegate that is used to filter a list of members represented in an array of objects.
The object to which the filter is applied.
An arbitrary object used to filter the list.
to include the member in the filtered list; otherwise .
Obtains information about the attributes of a member and provides access to member metadata.
Initializes a new instance of the class.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
When overridden in a derived class, returns an array of all custom attributes applied to this member.
to search this member's inheritance chain to find the attributes; otherwise, . This parameter is ignored for properties and events.
This member belongs to a type that is loaded into the reflection-only context. See How to: Load Assemblies into the Reflection-Only Context.
A custom attribute type could not be loaded.
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
When overridden in a derived class, returns an array of custom attributes applied to this member and identified by .
The type of attribute to search for. Only attributes that are assignable to this type are returned.
to search this member's inheritance chain to find the attributes; otherwise, . This parameter is ignored for properties and events.
A custom attribute type cannot be loaded.
If is .
This member belongs to a type that is loaded into the reflection-only context. See How to: Load Assemblies into the Reflection-Only Context.
An array of custom attributes applied to this member, or an array with zero elements if no attributes assignable to have been applied.
Returns a list of objects representing data about the attributes that have been applied to the target member.
A generic list of objects representing data about the attributes that have been applied to the target member.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member.
The type of custom attribute to search for. The search includes derived types.
to search this member's inheritance chain to find the attributes; otherwise, . This parameter is ignored for properties and events.
if one or more instances of or any of its derived types is applied to this member; otherwise, .
Indicates whether two objects are equal.
The to compare to .
The to compare to .
if is equal to ; otherwise .
Indicates whether two objects are not equal.
The to compare to .
The to compare to .
if is not equal to ; otherwise .
Gets a collection that contains this member's custom attributes.
A collection that contains this member's custom attributes.
Gets the class that declares this member.
The object for the class that declares this member.
Gets a value that indicates whether this object references one or more assemblies held in a collectible .
if the references one or more assemblies held in a collectible assembly load context; otherwise, .
When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on.
A value indicating the type of member.
Gets a value that identifies a metadata element.
The current represents an array method, such as , on an array type whose element type is a dynamic type that has not been completed. To get a metadata token in this case, pass the object to the method; or use the method to get the token directly, instead of using the method to get a first.
A value which, in combination with , uniquely identifies a metadata element.
Gets the module in which the type that declares the member represented by the current is defined.
This method is not implemented.
The in which the type that declares the member represented by the current is defined.
Gets the name of the current member.
A containing the name of this member.
Gets the class object that was used to obtain this instance of .
The object through which this object was obtained.
Marks each type of member that is defined as a derived class of .
Specifies all member types.
Specifies that the member is a constructor.
Specifies that the member is a custom member type.
Specifies that the member is an event.
Specifies that the member is a field.
Specifies that the member is a method.
Specifies that the member is a nested type.
Specifies that the member is a property.
Specifies that the member is a type.
Specifies flags for method attributes. These flags are defined in the corhdr.h file.
Indicates that the class does not provide an implementation of this method.
Indicates that the method is accessible to any class of this assembly.
Indicates that the method can only be overridden when it is also accessible.
Indicates that the method is accessible to members of this type and its derived types that are in this assembly only.
Indicates that the method is accessible only to members of this class and its derived classes.
Indicates that the method is accessible to derived classes anywhere, as well as to any class in the assembly.
Indicates that the method cannot be overridden.
Indicates that the method has security associated with it. Reserved flag for runtime use only.
Indicates that the method hides by name and signature; otherwise, by name only.
Retrieves accessibility information.
Indicates that the method always gets a new slot in the vtable.
Indicates that the method implementation is forwarded through PInvoke (Platform Invocation Services).
Indicates that the method is accessible only to the current class.
Indicates that the member cannot be referenced.
Indicates that the method is accessible to any object for which this object is in scope.
Indicates that the method calls another method containing security code. Reserved flag for runtime use only.
Indicates a reserved flag for runtime use only.
Indicates that the method will reuse an existing slot in the vtable. This is the default behavior.
Indicates that the common language runtime checks the name encoding.
Indicates that the method is special. The name describes how this method is special.
Indicates that the method is defined on the type; otherwise, it is defined per instance.
Indicates that the managed method is exported by thunk to unmanaged code.
Indicates that the method is virtual.
Retrieves vtable attributes.
Provides information about methods and constructors.
Initializes a new instance of the class.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Returns a object representing the currently executing method.
This member was invoked with a late-binding mechanism.
is a static method that is called from within an executing method and that returns information about that method.
A object representing the currently executing method.
Returns an array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
The current object is a . Generic constructors are not supported in the .NET Framework version 2.0. This exception is the default behavior if this method is not overridden in a derived class.
An array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
When overridden in a derived class, gets a object that provides access to the MSIL stream, local variables, and exceptions for the current method.
This method is invalid unless overridden in a derived class.
A object that provides access to the MSIL stream, local variables, and exceptions for the current method.
Gets a object for the constructor or method represented by the specified handle, for the specified generic type.
A handle to the internal metadata representation of a constructor or method.
A handle to the generic type that defines the constructor or method.
is invalid.
A object representing the method or constructor specified by , in the generic type specified by .
Gets method information by using the method's internal metadata representation (handle).
The method's handle.
is invalid.
A containing information about the method.
When overridden in a derived class, returns the flags.
The flags.
When overridden in a derived class, gets the parameters of the specified method or constructor.
An array of type containing information that matches the signature of the method (or constructor) reflected by this instance.
Invokes the method or constructor represented by the current instance, using the specified parameters.
The object on which to invoke the method or constructor. If a method is static, this argument is ignored. If a constructor is static, this argument must be or an instance of the class that defines the constructor.
An argument list for the invoked method or constructor. This is an array of objects with the same number, order, and type as the parameters of the method or constructor to be invoked. If there are no parameters, should be .
If the method or constructor represented by this instance takes a parameter ( in Visual Basic), no special attribute is required for that parameter in order to invoke the method or constructor using this function. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is . For value-type elements, the default value is 0, 0.0, or , depending on the specific element type.
The parameter is and the method is not static.
-or-
The method is not declared or inherited by the class of .
-or-
A static constructor is invoked, and is neither nor an instance of the class that declared the constructor.
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
The elements of the array do not match the signature of the method or constructor reflected by this instance.
The invoked method or constructor throws an exception.
-or-
The current instance is a that contains unverifiable code. See the "Verification" section in Remarks for .
The array does not have the correct number of arguments.
The caller does not have permission to execute the method or constructor that is represented by the current instance.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The type that declares the method is an open generic type. That is, the property returns for the declaring type.
The current instance is a .
An object containing the return value of the invoked method, or in the case of a constructor.
When overridden in a derived class, invokes the reflected method or constructor with the given parameters.
The object on which to invoke the method or constructor. If a method is static, this argument is ignored. If a constructor is static, this argument must be or an instance of the class that defines the constructor.
A bitmask that is a combination of 0 or more bit flags from .
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects via reflection. If is , the default binder is used.
An argument list for the invoked method or constructor. This is an array of objects with the same number, order, and type as the parameters of the method or constructor to be invoked. If there are no parameters, this should be .
If the method or constructor represented by this instance takes a ByRef parameter, there is no special attribute required for that parameter in order to invoke the method or constructor using this function. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is . For value-type elements, this value is 0, 0.0, or , depending on the specific element type.
An instance of used to govern the coercion of types. If this is , the for the current thread is used. (This is necessary to convert a string that represents 1000 to a value, for example, since 1000 is represented differently by different cultures.)
The parameter is and the method is not static.
-or-
The method is not declared or inherited by the class of .
-or-
A static constructor is invoked, and is neither nor an instance of the class that declared the constructor.
The type of the parameter does not match the signature of the method or constructor reflected by this instance.
The array does not have the correct number of arguments.
The invoked method or constructor throws an exception.
The caller does not have permission to execute the method or constructor that is represented by the current instance.
The type that declares the method is an open generic type. That is, the property returns for the declaring type.
An containing the return value of the invoked method, or in the case of a constructor, or if the method's return type is . Before calling the method or constructor, checks to see if the user has access permission and verifies that the parameters are valid.
Indicates whether two objects are equal.
The first object to compare.
The second object to compare.
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The first object to compare.
The second object to compare.
if is not equal to ; otherwise, .
Gets the attributes associated with this method.
One of the values.
Gets a value indicating the calling conventions for this method.
The for this method.
Gets a value indicating whether the generic method contains unassigned generic type parameters.
if the current object represents a generic method that contains unassigned generic type parameters; otherwise, .
Gets a value indicating whether the method is abstract.
if the method is abstract; otherwise, .
Gets a value indicating whether the potential visibility of this method or constructor is described by ; that is, the method or constructor is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly.
if the visibility of this method or constructor is exactly described by ; otherwise, .
Gets a value indicating whether the method is a constructor.
if this method is a constructor represented by a object (see note in Remarks about objects); otherwise, .
Gets a value indicating whether the visibility of this method or constructor is described by ; that is, the method or constructor is visible only within its class and derived classes.
if access to this method or constructor is exactly described by ; otherwise, .
Gets a value indicating whether the visibility of this method or constructor is described by ; that is, the method or constructor can be called by derived classes, but only if they are in the same assembly.
if access to this method or constructor is exactly described by ; otherwise, .
Gets a value indicating whether the potential visibility of this method or constructor is described by ; that is, the method or constructor can be called by derived classes wherever they are, and by classes in the same assembly.
if access to this method or constructor is exactly described by ; otherwise, .
Gets a value indicating whether this method is .
if this method is ; otherwise, .
Gets a value indicating whether the method is generic.
if the current represents a generic method; otherwise, .
Gets a value indicating whether the method is a generic method definition.
if the current object represents the definition of a generic method; otherwise, .
Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class.
if the member is hidden by signature; otherwise, .
Gets a value indicating whether this member is private.
if access to this method is restricted to other members of the class itself; otherwise, .
Gets a value indicating whether this is a public method.
if this method is public; otherwise, .
Gets a value that indicates whether the current method or constructor is security-critical or security-safe-critical at the current trust level, and therefore can perform critical operations.
if the current method or constructor is security-critical or security-safe-critical at the current trust level; if it is transparent.
Gets a value that indicates whether the current method or constructor is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code.
if the method or constructor is security-safe-critical at the current trust level; if it is security-critical or transparent.
Gets a value that indicates whether the current method or constructor is transparent at the current trust level, and therefore cannot perform critical operations.
if the method or constructor is security-transparent at the current trust level; otherwise, .
Gets a value indicating whether this method has a special name.
if this method has a special name; otherwise, .
Gets a value indicating whether the method is .
if this method is ; otherwise, .
Gets a value indicating whether the method is .
if this method is ; otherwise, .
Gets a handle to the internal metadata representation of a method.
A object.
Gets the flags that specify the attributes of a method implementation.
The method implementation flags.
Provides access to the metadata and MSIL for the body of a method.
Initializes a new instance of the class.
Returns the MSIL for the method body, as an array of bytes.
An array of type that contains the MSIL for the method body.
Gets a list that includes all the exception-handling clauses in the method body.
An of objects representing the exception-handling clauses in the body of the method.
Gets a value indicating whether local variables in the method body are initialized to the default values for their types.
if the method body contains code to initialize local variables to for reference types, or to the zero-initialized value for value types; otherwise, .
Gets a metadata token for the signature that describes the local variables for the method in metadata.
An integer that represents the metadata token.
Gets the list of local variables declared in the method body.
An of objects that describe the local variables declared in the method body.
Gets the maximum number of items on the operand stack when the method is executing.
The maximum number of items on the operand stack when the method is executing.
Specifies flags for the attributes of a method implementation.
Specifies that the method should be inlined wherever possible.
Specifies that the method should be optimized whenever possible.
Specifies flags about code type.
Specifies that the method is not defined.
Specifies that the method implementation is in Microsoft intermediate language (MSIL).
Specifies an internal call.
Specifies that the method is implemented in managed code.
Specifies whether the method is implemented in managed or unmanaged code.
Specifies a range check value.
Specifies that the method implementation is native.
Specifies that the method cannot be inlined.
Specifies that the method is not optimized by the just-in-time (JIT) compiler or by native code generation (see Ngen.exe) when debugging possible code generation problems.
Specifies that the method implementation is in Optimized Intermediate Language (OPTIL).
Specifies that the method signature is exported exactly as declared.
Specifies that the method implementation is provided by the runtime.
Specifies that the method is single-threaded through the body. Static methods ( in Visual Basic) lock on the type, whereas instance methods lock on the instance. You can also use the C# lock statement or the Visual Basic SyncLock statement for this purpose.
Specifies that the method is implemented in unmanaged code.
Discovers the attributes of a method and provides access to method metadata.
Initializes a new instance of the class.
Creates a delegate of the specified type with the specified target from this method.
The type of the delegate to create.
The object targeted by the delegate.
The delegate for this method.
Creates a delegate of the specified type from this method.
The type of the delegate to create.
The delegate for this method.
Creates a delegate of type from this method.
The type of the delegate to create.
The delegate for this method.
Creates a delegate of type with the specified target from this method.
The object targeted by the delegate.
The type of the delegate to create.
The delegate for this method.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
When overridden in a derived class, returns the object for the method on the direct or indirect base class in which the method represented by this instance was first declared.
A object for the first implementation of this method.
Returns an array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
This method is not supported.
An array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.
Returns a object that represents a generic method definition from which the current method can be constructed.
The current method is not a generic method. That is, returns .
This method is not supported.
A object representing a generic method definition from which the current method can be constructed.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Substitutes the elements of an array of types for the type parameters of the current generic method definition, and returns a object representing the resulting constructed method.
An array of types to be substituted for the type parameters of the current generic method definition.
The current does not represent a generic method definition. That is, returns .
is .
-or-
Any element of is .
The number of elements in is not the same as the number of type parameters of the current generic method definition.
-or-
An element of does not satisfy the constraints specified for the corresponding type parameter of the current generic method definition.
This method is not supported.
A object that represents the constructed method formed by substituting the elements of for the type parameters of the current generic method definition.
Indicates whether two objects are equal.
The first object to compare.
The second object to compare.
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The first object to compare.
The second object to compare.
if is not equal to ; otherwise, .
Gets a value indicating that this member is a method.
A value indicating that this member is a method.
Gets a object that contains information about the return type of the method, such as whether the return type has custom modifiers.
This method is not implemented.
A object that contains information about the return type.
Gets the return type of this method.
The return type of this method.
Gets the custom attributes for the return type.
An object representing the custom attributes for the return type.
Provides methods to invoke the method specified by the provided .
Creates a new instance of .
The method that will be invoked.
The is not a runtime-based method.
The new instance.
Invokes the method using the specified arguments.
The object on which to invoke the method. If the method is static, this argument is ignored.
The first argument for the invoked method.
The second argument for the invoked method.
The third argument for the invoked method.
The fourth argument for the invoked method.
An object containing the return value of the invoked method, or if the invoked method does not have a return value.
Invokes the method using the specified arguments.
The object on which to invoke the method. If the method is static, this argument is ignored.
The first argument for the invoked method.
The second argument for the invoked method.
The third argument for the invoked method.
An object containing the return value of the invoked method, or if the invoked method does not have a return value.
Invokes the method using the specified arguments.
The object on which to invoke the method. If the method is static, this argument is ignored.
The first argument for the invoked method.
The second argument for the invoked method.
An object containing the return value of the invoked method, or if the invoked method does not have a return value.
Invokes the method using the specified arguments.
The object on which to invoke the method. If the method is static, this argument is ignored.
The first argument for the invoked method.
The arguments do not match the signature of the invoked method.
An object containing the return value of the invoked method, or if the invoked method does not have a return value.
Invokes the method using the specified arguments.
The object on which to invoke the method. If the method is static, this argument is ignored.
The arguments for the invoked method.
The arguments do not match the signature of the invoked method.
An object containing the return value of the invoked method, or if the invoked method does not have a return value.
Invokes the method using the specified arguments.
The object on which to invoke the method. If the method is static, this argument is ignored.
The argument is and the method is not static.
-or-
The method is not declared or inherited by the class of .
The type that declares the method is an open generic type.
An incorrect number of arguments was provided.
The calling convention or signature is not supported.
An object containing the return value of the invoked method, or if the invoked method does not have a return value.
Represents a missing . This class cannot be inherited.
Represents the sole instance of the class.
Sets a object with the logical context information needed to recreate the sole instance of the object.
The object to be populated with serialization information.
The object representing the destination context of the serialization.
is .
Performs reflection on a module.
A object that filters the list of types defined in this module based upon the name. This field is case-sensitive and read-only.
A object that filters the list of types defined in this module based upon the name. This field is case-insensitive and read-only.
Initializes a new instance of the class.
Determines whether this module and the specified object are equal.
The object to compare with this instance.
if is equal to this instance; otherwise, .
Returns an array of classes accepted by the given filter and filter criteria.
The delegate used to filter the classes.
An Object used to filter the classes.
One or more classes in a module could not be loaded.
An array of type containing classes that were accepted by the filter.
Returns all custom attributes.
This argument is ignored for objects of this type.
An array of type containing all custom attributes.
Gets custom attributes of the specified type.
The type of attribute to get.
This argument is ignored for objects of this type.
is .
is not a object supplied by the runtime. For example, is a object.
An array of type containing all custom attributes of the specified type.
Returns a list of objects for the current module, which can be used in the reflection-only context.
A generic list of objects representing data about the attributes that have been applied to the current module.
Returns a field having the specified name and binding attributes.
The field name.
One of the bit flags used to control the search.
The parameter is .
A object having the specified name and binding attributes, or if the field does not exist.
Returns a field having the specified name.
The field name.
The parameter is .
A object having the specified name, or if the field does not exist.
Returns the global fields defined on the module.
An array of objects representing the global fields defined on the module; if there are no global fields, an empty array is returned.
Returns the global fields defined on the module that match the specified binding flags.
A bitwise combination of values that limit the search.
An array of type representing the global fields defined on the module that match the specified binding flags; if no global fields match the binding flags, an empty array is returned.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns a method having the specified name, binding information, calling convention, and parameter types and modifiers.
The method name.
One of the bit flags used to control the search.
An object that implements , containing properties related to this method.
The calling convention for the method.
The parameter types to search for.
An array of parameter modifiers used to make binding work with parameter signatures in which the types have been modified.
is , is , or (i) is .
A object in accordance with the specified criteria, or if the method does not exist.
Returns a method having the specified name and parameter types.
The method name.
The parameter types to search for.
is , is , or (i) is .
A object in accordance with the specified criteria, or if the method does not exist.
Returns a method having the specified name.
The method name.
is .
A object having the specified name, or if the method does not exist.
Returns the method implementation in accordance with the specified criteria.
The method name.
One of the bit flags used to control the search.
An object that implements , containing properties related to this method.
The calling convention for the method.
The parameter types to search for.
An array of parameter modifiers used to make binding work with parameter signatures in which the types have been modified.
is .
A object containing implementation information as specified, or if the method does not exist.
Returns the global methods defined on the module.
An array of objects representing all the global methods defined on the module; if there are no global methods, an empty array is returned.
Returns the global methods defined on the module that match the specified binding flags.
A bitwise combination of values that limit the search.
An array of type representing the global methods defined on the module that match the specified binding flags; if no global methods match the binding flags, an empty array is returned.
Provides an implementation for serialized objects.
The information and data needed to serialize or deserialize an object.
The context for the serialization.
is .
Gets a pair of values indicating the nature of the code in a module and the platform targeted by the module.
When this method returns, a combination of the values indicating the nature of the code in the module.
When this method returns, one of the values indicating the platform targeted by the module.
Returns the specified type, specifying whether to make a case-sensitive search of the module and whether to throw an exception if the type cannot be found.
The name of the type to locate. The name must be fully qualified with the namespace.
to throw an exception if the type cannot be found; to return .
for case-insensitive search; otherwise, .
is .
The class initializers are invoked and an exception is thrown.
is a zero-length string.
is , and the type cannot be found.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly.
-or-
requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
A object representing the specified type, if the type is declared in this module; otherwise, .
Returns the specified type, searching the module with the specified case sensitivity.
The name of the type to locate. The name must be fully qualified with the namespace.
for case-insensitive search; otherwise, .
is .
The class initializers are invoked and an exception is thrown.
is a zero-length string.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly.
-or-
requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
A object representing the given type, if the type is in this module; otherwise, .
Returns the specified type, performing a case-sensitive search.
The name of the type to locate. The name must be fully qualified with the namespace.
is .
The class initializers are invoked and an exception is thrown.
is a zero-length string.
requires a dependent assembly that could not be found.
requires a dependent assembly that was found but could not be loaded.
-or-
The current assembly was loaded into the reflection-only context, and requires a dependent assembly that was not preloaded.
requires a dependent assembly, but the file is not a valid assembly.
-or-
requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
A object representing the given type, if the type is in this module; otherwise, .
Returns all the types defined within this module.
One or more classes in a module could not be loaded.
The caller does not have the required permission.
An array of type containing types defined within the module that is reflected by this instance.
Returns a value that indicates whether the specified attribute type has been applied to this module.
The type of custom attribute to test for.
This argument is ignored for objects of this type.
is .
is not a object supplied by the runtime. For example, is a object.
if one or more instances of have been applied to this module; otherwise, .
Gets a value indicating whether the object is a resource.
if the object is a resource; otherwise, .
Indicates whether two objects are equal.
The first object to compare.
The second object to compare.
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The first object to compare.
The second object to compare.
if is not equal to ; otherwise, .
Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a field in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
is not a token for a field in the scope of the current module.
-or-
identifies a field whose parent has a signature containing element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
is not a valid token in the scope of the current module.
A object representing the field that is identified by the specified metadata token.
Returns the field identified by the specified metadata token.
A metadata token that identifies a field in the module.
is not a token for a field in the scope of the current module.
-or-
identifies a field whose parent has a signature containing element type (a type parameter of a generic type) or (a type parameter of a generic method).
is not a valid token in the scope of the current module.
A object representing the field that is identified by the specified metadata token.
Returns the type or member identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a type or member in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
is not a token for a type or member in the scope of the current module.
-or-
is a or whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
-or-
identifies a property or event.
is not a valid token in the scope of the current module.
A object representing the type or member that is identified by the specified metadata token.
Returns the type or member identified by the specified metadata token.
A metadata token that identifies a type or member in the module.
is not a token for a type or member in the scope of the current module.
-or-
is a or whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method).
-or-
identifies a property or event.
is not a valid token in the scope of the current module.
A object representing the type or member that is identified by the specified metadata token.
Returns the method or constructor identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a method or constructor in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
is not a token for a method or constructor in the scope of the current module.
-or-
is a whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
is not a valid token in the scope of the current module.
A object representing the method that is identified by the specified metadata token.
Returns the method or constructor identified by the specified metadata token.
A metadata token that identifies a method or constructor in the module.
is not a token for a method or constructor in the scope of the current module.
-or-
is a whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method).
is not a valid token in the scope of the current module.
A object representing the method or constructor that is identified by the specified metadata token.
Returns the signature blob identified by a metadata token.
A metadata token that identifies a signature in the module.
is not a valid , , , signature, or token in the scope of the current module.
is not a valid token in the scope of the current module.
An array of bytes representing the signature blob.
Returns the string identified by the specified metadata token.
A metadata token that identifies a string in the string heap of the module.
is not a token for a string in the scope of the current module.
is not a valid token in the scope of the current module.
A containing a string value from the metadata string heap.
Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a type in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
is not a token for a type in the scope of the current module.
-or-
is a whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
is not a valid token in the scope of the current module.
A object representing the type that is identified by the specified metadata token.
Returns the type identified by the specified metadata token.
A metadata token that identifies a type in the module.
is not a token for a type in the scope of the current module.
-or-
is a whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method).
is not a valid token in the scope of the current module.
A object representing the type that is identified by the specified metadata token.
Returns the name of the module.
A representing the name of this module.
Gets the appropriate for this instance of .
An object.
Gets a collection that contains this module's custom attributes.
A collection that contains this module's custom attributes.
Gets a string representing the fully qualified name and path to this module.
The caller does not have the required permissions.
The fully qualified module name.
Gets the metadata stream version.
A 32-bit integer representing the metadata stream version. The high-order two bytes represent the major version number, and the low-order two bytes represent the minor version number.
Gets a token that identifies the module in metadata.
An integer token that identifies the current module in metadata.
Gets a handle for the module.
A structure for the current module.
Gets a universally unique identifier (UUID) that can be used to distinguish between two versions of a module.
A that can be used to distinguish between two versions of a module.
Gets a representing the name of the module with the path removed.
The module name with no path.
Gets a string representing the name of the module.
The module name.
Represents the method that will handle the event of an .
The assembly that was the source of the event.
The arguments supplied by the object describing the event.
The module that satisfies the request.
Represents nullability information.
Gets the nullability information for the element type of the array.
If the member type is an array, the of the elements of the array; otherwise, .
Gets the nullability information for each type parameter.
If the member type is a generic type, the nullability information for each type parameter.
Gets the nullability read state of the member.
Gets the type of the member or generic parameter to which this instance belongs.
Gets the nullability write state of the member.
Provides APIs for populating nullability information and context from reflection members: , , , and .
Initializes a new instance of the class.
Populates a for the given . If the nullablePublicOnly feature is set for an assembly, like it does in the .NET SDK, the private and/or internal member's nullability attributes are omitted, and the API will return the state.
The event for which to populate nullability information.
is .
A instance.
Populates a for the given . If the nullablePublicOnly feature is set for an assembly, like it does in the .NET SDK, the private and/or internal member's nullability attributes are omitted, and the API will return the state.
The field for which to populate the nullability information.
is .
A instance.
Populates a for the given . If the nullablePublicOnly feature is set for an assembly, like it does in the .NET SDK, the private and/or internal member's nullability attributes are omitted, and the API will return the state.
The parameter for which to populate the nullability information.
is .
A instance.
Populates a for the given . If the nullablePublicOnly feature is set for an assembly, like it does in the .NET SDK, the private and/or internal member's nullability attributes are omitted, and the API will return the state.
The property for which to populate the nullability information.
is .
A instance.
Describes nullability states.
Non-nullable value or reference type.
Nullable value or reference type.
Nullability context not enabled (oblivious).
Instructs obfuscation tools to use their standard obfuscation rules for the appropriate assembly type.
Initializes a new instance of the class, specifying whether the assembly to be obfuscated is public or private.
if the assembly is used within the scope of one application; otherwise, .
Gets a value indicating whether the assembly was marked private.
if the assembly was marked private; otherwise, .
Gets or sets a value indicating whether the obfuscation tool should remove the attribute after processing.
if the obfuscation tool should remove the attribute after processing; otherwise, . The default value for this property is .
Instructs obfuscation tools to take the specified actions for an assembly, type, or member.
Initializes a new instance of the class.
Gets or sets a value indicating whether the attribute of a type is to apply to the members of the type.
if the attribute is to apply to the members of the type; otherwise, . The default is .
Gets or sets a value indicating whether the obfuscation tool should exclude the type or member from obfuscation.
if the type or member to which this attribute is applied should be excluded from obfuscation; otherwise, . The default is .
Gets or sets a string value that is recognized by the obfuscation tool, and which specifies processing options.
A string value that is recognized by the obfuscation tool, and which specifies processing options. The default is "all".
Gets or sets a value indicating whether the obfuscation tool should remove this attribute after processing.
if an obfuscation tool should remove the attribute after processing; otherwise, . The default is .
Defines the attributes that can be associated with a parameter. These are defined in CorHdr.h.
Specifies that the parameter has a default value.
Specifies that the parameter has field marshaling information.
Specifies that the parameter is an input parameter.
Specifies that the parameter is a locale identifier (lcid).
Specifies that there is no parameter attribute.
Specifies that the parameter is optional.
Specifies that the parameter is an output parameter.
Reserved.
Reserved.
Specifies that the parameter is reserved.
Specifies that the parameter is a return value.
Discovers the attributes of a parameter and provides access to parameter metadata.
The attributes of the parameter.
The of the parameter.
The default value of the parameter.
The member in which the field is implemented.
The name of the parameter.
The zero-based position of the parameter in the parameter list.
Initializes a new instance of the class.
Gets all the custom attributes defined on this parameter.
This argument is ignored for objects of this type.
A custom attribute type could not be loaded.
An array that contains all the custom attributes applied to this parameter.
Gets the custom attributes of the specified type or its derived types that are applied to this parameter.
The custom attributes identified by type.
This argument is ignored for objects of this type.
The type must be a type provided by the underlying runtime system.
is .
A custom attribute type could not be loaded.
An array that contains the custom attributes of the specified type or its derived types.
Returns a list of objects for the current parameter, which can be used in the reflection-only context.
A generic list of objects representing data about the attributes that have been applied to the current parameter.
Gets the modified type of this parameter object.
A modified type.
Gets the optional custom modifiers of the parameter.
An array of objects that identify the optional custom modifiers of the current parameter, such as or .
Returns the real object that should be deserialized instead of the object that the serialized stream specifies.
The serialized stream from which the current object is deserialized.
The parameter's position in the parameter list of its associated member is not valid for that member's type.
The actual object that is put into the graph.
Gets the required custom modifiers of the parameter.
An array of objects that identify the required custom modifiers of the current parameter, such as or .
Determines whether the custom attribute of the specified type or its derived types is applied to this parameter.
The object to search for.
This argument is ignored for objects of this type.
is .
is not a object supplied by the common language runtime.
if one or more instances of or its derived types are applied to this parameter; otherwise, .
Gets the parameter type and name represented as a string.
A string containing the type and the name of the parameter.
Gets the attributes for this parameter.
A object representing the attributes for this parameter.
Gets a collection that contains this parameter's custom attributes.
A collection that contains this parameter's custom attributes.
Gets a value indicating the default value if the parameter has a default value.
The default value of the parameter, or if the parameter has no default value.
Gets a value that indicates whether this parameter has a default value.
if this parameter has a default value; otherwise, .
Gets a value indicating whether this is an input parameter.
if the parameter is an input parameter; otherwise, .
Gets a value indicating whether this parameter is a locale identifier (lcid).
if the parameter is a locale identifier; otherwise, .
Gets a value indicating whether this parameter is optional.
if the parameter is optional; otherwise, .
Gets a value indicating whether this is an output parameter.
if the parameter is an output parameter; otherwise, .
Gets a value indicating whether this is a parameter.
if the parameter is a ; otherwise, .
Gets a value indicating the member in which the parameter is implemented.
The member which implanted the parameter represented by this .
Gets a value that identifies this parameter in metadata.
A value which, in combination with the module, uniquely identifies this parameter in metadata.
Gets the name of the parameter.
The simple name of this parameter.
Gets the of this parameter.
The object that represents the of this parameter.
Gets the zero-based position of the parameter in the formal parameter list.
An integer representing the position this parameter occupies in the parameter list.
Gets a value indicating the default value if the parameter has a default value.
The default value of the parameter, or if the parameter has no default value.
Attaches a modifier to parameters so that binding can work with parameter signatures in which the types have been modified.
Initializes a new instance of the structure representing the specified number of parameters.
The number of parameters.
is negative.
Gets or sets a value that specifies whether the parameter at the specified index position is to be modified by the current .
The index position of the parameter whose modification status is being examined or set.
if the parameter at this index position is to be modified by this ; otherwise, .
Provides a wrapper class for pointers.
Boxes the supplied unmanaged memory pointer and the type associated with that pointer into a managed wrapper object. The value and the type are saved so they can be accessed from the native code during an invocation.
The supplied unmanaged memory pointer.
The type associated with the parameter.
is not a pointer.
is .
A pointer object.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Sets the object with the file name, fusion log, and additional exception information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Returns the stored pointer.
The stored pointer.
is not a pointer.
This method returns void.
Identifies the nature of the code in an executable file.
The executable contains only Microsoft intermediate language (MSIL), and is therefore neutral with respect to 32-bit or 64-bit platforms.
The file is not in portable executable (PE) file format.
The executable requires a 64-bit platform.
The executable is platform-agnostic but should be run on a 32-bit platform whenever possible.
The executable can be run on a 32-bit platform, or in the 32-bit Windows on Windows (WOW) environment on a 64-bit platform.
The executable contains pure unmanaged code.
Identifies the processor and bits-per-word of the platform targeted by an executable.
A 64-bit processor based on the x64 architecture.
An ARM processor.
A 64-bit Intel Itanium processor only.
Neutral with respect to processor and bits-per-word.
An unknown or unspecified combination of processor and bits-per-word.
A 32-bit Intel processor, either native or in the Windows on Windows environment on a 64-bit platform (WOW64).
Defines the attributes that can be associated with a property. These attribute values are defined in corhdr.h.
Specifies that the property has a default value.
Specifies that no attributes are associated with a property.
Reserved.
Reserved.
Reserved.
Specifies a flag reserved for runtime use only.
Specifies that the metadata internal APIs check the name encoding.
Specifies that the property is special, with the name describing how the property is special.
Discovers the attributes of a property and provides access to property metadata.
Initializes a new instance of the class.
Returns a value that indicates whether this instance is equal to a specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Returns an array whose elements reflect the public and accessors of the property reflected by the current instance.
An array of objects that reflect the public and accessors of the property reflected by the current instance, if found; otherwise, this method returns an array with zero (0) elements.
Returns an array whose elements reflect the public and, if specified, non-public and accessors of the property reflected by the current instance.
Indicates whether non-public methods should be returned in the returned array. if non-public methods are to be included; otherwise, .
An array whose elements reflect the and accessors of the property reflected by the current instance. If is , this array contains public and non-public and accessors. If is , this array contains only public and accessors. If no accessors with the specified visibility are found, this method returns an array with zero (0) elements.
Returns a literal value associated with the property by a compiler.
The Constant table in unmanaged metadata does not contain a constant value for the current property.
The type of the value is not one of the types permitted by the Common Language Specification (CLS). See the ECMA Partition II specification, Metadata.
An that contains the literal value associated with the property. If the literal value is a class type with an element value of zero, the return value is .
Returns the public accessor for this property.
A object representing the public accessor for this property, or if the accessor is non-public or does not exist.
When overridden in a derived class, returns the public or non-public accessor for this property.
Indicates whether a non-public accessor should be returned. if a non-public accessor is to be returned; otherwise, .
The requested method is non-public and the caller does not have to reflect on this non-public method.
A object representing the accessor for this property, if is . Returns if is and the accessor is non-public, or if is but no accessors exist.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
When overridden in a derived class, returns an array of all the index parameters for the property.
An array of type containing the parameters for the indexes. If the property is not indexed, the array has 0 (zero) elements.
Gets the modified type of this property object.
A modified type.
Returns an array of types representing the optional custom modifiers of the property.
An array of objects that identify the optional custom modifiers of the current property, such as or .
Returns a literal value associated with the property by a compiler.
The Constant table in unmanaged metadata does not contain a constant value for the current property.
The type of the value is not one of the types permitted by the Common Language Specification (CLS). See the ECMA Partition II specification, Metadata Logical Format: Other Structures, Element Types used in Signatures.
An that contains the literal value associated with the property. If the literal value is a class type with an element value of zero, the return value is .
Returns an array of types representing the required custom modifiers of the property.
An array of objects that identify the required custom modifiers of the current property, such as or .
Returns the public accessor for this property.
The object representing the method for this property if the accessor is public, or if the accessor is not public.
When overridden in a derived class, returns the accessor for this property.
Indicates whether the accessor should be returned if it is non-public. if a non-public accessor is to be returned; otherwise, .
The requested method is non-public and the caller does not have to reflect on this non-public method.
This property's method, or , as shown in the following table.
Value Condition- The method for this property. The accessor is public, OR is and the accessor is non-public.
- is , but the property is read-only, OR is and the accessor is non-public, OR there is no accessor.
Returns the property value of a specified object with optional index values for indexed properties.
The object whose property value will be returned.
Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be for non-indexed properties.
The array does not contain the type of arguments needed.
-or-
The property's accessor is not found.
The object does not match the target type, or a property is an instance property but is .
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
The number of parameters in does not match the number of parameters the indexed property takes.
There was an illegal attempt to access a private or protected method inside a class.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
An error occurred while retrieving the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
The property value of the specified object.
When overridden in a derived class, returns the property value of a specified object that has the specified binding, index, and culture-specific information.
The object whose property value will be returned.
A bitwise combination of the following enumeration members that specify the invocation attribute: , , , , , , and . You must specify a suitable invocation attribute. For example, to invoke a static member, set the flag.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects through reflection. If is , the default binder is used.
Optional index values for indexed properties. This value should be for non-indexed properties.
The culture for which the resource is to be localized. If the resource is not localized for this culture, the property will be called successively in search of a match. If this value is , the culture-specific information is obtained from the property.
The array does not contain the type of arguments needed.
-or-
The property's accessor is not found.
The object does not match the target type, or a property is an instance property but is .
The number of parameters in does not match the number of parameters the indexed property takes.
There was an illegal attempt to access a private or protected method inside a class.
An error occurred while retrieving the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
The property value of the specified object.
Returns the property value of a specified object.
The object whose property value will be returned.
The property value of the specified object.
Indicates whether two objects are equal.
The first object to compare.
The second object to compare.
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The first object to compare.
The second object to compare.
if is not equal to ; otherwise, .
Sets the property value of a specified object with optional index values for index properties.
The object whose property value will be set.
The new property value.
Optional index values for indexed properties. This value should be for non-indexed properties.
The array does not contain the type of arguments needed.
-or-
The property's accessor is not found.
-or-
cannot be converted to the type of .
The object does not match the target type, or a property is an instance property but is .
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
The number of parameters in does not match the number of parameters the indexed property takes.
There was an illegal attempt to access a private or protected method inside a class.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
An error occurred while setting the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
When overridden in a derived class, sets the property value for a specified object that has the specified binding, index, and culture-specific information.
The object whose property value will be set.
The new property value.
A bitwise combination of the following enumeration members that specify the invocation attribute: , , , , , , or . You must specify a suitable invocation attribute. For example, to invoke a static member, set the flag.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects through reflection. If is , the default binder is used.
Optional index values for indexed properties. This value should be for non-indexed properties.
The culture for which the resource is to be localized. If the resource is not localized for this culture, the property will be called successively in search of a match. If this value is , the culture-specific information is obtained from the property.
The array does not contain the type of arguments needed.
-or-
The property's accessor is not found.
-or-
cannot be converted to the type of .
The object does not match the target type, or a property is an instance property but is .
The number of parameters in does not match the number of parameters the indexed property takes.
There was an illegal attempt to access a private or protected method inside a class.
An error occurred while setting the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
Sets the property value of a specified object.
The object whose property value will be set.
The new property value.
The property's accessor is not found.
-or-
cannot be converted to the type of .
The type of does not match the target type, or a property is an instance property but is .
Note: In .NET for Windows Store apps or the Portable Class Library, catch instead.
There was an illegal attempt to access a private or protected method inside a class.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
An error occurred while setting the property value. The property indicates the reason for the error.
Gets the attributes for this property.
The attributes of this property.
Gets a value indicating whether the property can be read.
if this property can be read; otherwise, .
Gets a value indicating whether the property can be written to.
if this property can be written to; otherwise, .
Gets the accessor for this property.
The accessor for this property.
Gets a value indicating whether the property is the special name.
if this property is the special name; otherwise, .
Gets a value indicating that this member is a property.
A value indicating that this member is a property.
Gets the type of this property.
The type of this property.
Gets the accessor for this property.
The accessor for this property, or if the property is read-only.
Represents a context that can provide reflection objects.
Initializes a new instance of the class.
Gets the representation of the type of the specified object in this reflection context.
The object to represent.
An object that represents the type of the specified object.
Gets the representation, in this reflection context, of an assembly that is represented by an object from another reflection context.
The external representation of the assembly to represent in this context.
The representation of the assembly in this reflection context.
Gets the representation, in this reflection context, of a type represented by an object from another reflection context.
The external representation of the type to represent in this context.
The representation of the type in this reflection context.
The exception that is thrown by the method if any of the classes in a module cannot be loaded. This class cannot be inherited.
Initializes a new instance of the class with the given classes, their associated exceptions, and exception descriptions.
An array of type containing the classes that were defined in the module and loaded. This array can contain null reference ( in Visual Basic) values.
An array of type containing the exceptions that were thrown by the class loader. The null reference ( in Visual Basic) values in the array line up with the exceptions in this array.
A describing the reason the exception was thrown.
Initializes a new instance of the class with the given classes and their associated exceptions.
An array of type containing the classes that were defined in the module and loaded. This array can contain null reference ( in Visual Basic) values.
An array of type containing the exceptions that were thrown by the class loader. The null reference ( in Visual Basic) values in the array line up with the exceptions in this array.
Provides an implementation for serialized objects.
The information and data needed to serialize or deserialize an object.
The context for the serialization.
is .
Returns the fully qualified name of this exception and the messages for all the loader exceptions.
A string containing the fully qualified name of this exception and the exception messages for its loader exceptions.
Gets the array of exceptions thrown by the class loader.
An array of type containing the exceptions thrown by the class loader. The null values in the array of this instance line up with the exceptions in this array.
Gets the error message for this exception.
A string containing the error message for this exception.
Gets the array of classes that were defined in the module and loaded.
An array of type containing the classes that were defined in the module and loaded. This array can contain some values.
Specifies the attributes for a manifest resource.
A mask used to retrieve private manifest resources.
A mask used to retrieve public manifest resources.
Specifies the resource location.
Specifies that the resource is contained in another assembly.
Specifies that the resource is contained in the manifest file.
Specifies an embedded (that is, non-linked) resource.
Provides methods that retrieve information about types at run time.
Gets an object that represents the method represented by the specified delegate.
The delegate to examine.
is .
The caller does not have access to the method represented by the delegate (for example, if the method is private).
An object that represents the method.
Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.
The method to retrieve information about.
is .
An object that represents the specified method's initial declaration on a base class.
Retrieves an object that represents the specified event.
The type that contains the event.
The name of the event.
is .
-or-
is .
An object that represents the specified event, or if the event is not found.
Retrieves a collection that represents all the events defined on a specified type.
The type that contains the events.
is .
A collection of events for the specified type.
Retrieves an object that represents a specified field.
The type that contains the field.
The name of the field.
is .
-or-
is .
An object that represents the specified field, or if the field is not found.
Retrieves a collection that represents all the fields defined on a specified type.
The type that contains the fields.
is .
A collection of fields for the specified type.
Returns an interface mapping for the specified type and the specified interface.
The type to retrieve a mapping for.
The interface to retrieve a mapping for.
is .
-or-
is .
is not implemented by .
-or-
does not refer to an interface.
-or-
or is an open generic type.
-or-
is a generic interface, and is an array type.
represents a generic type parameter.
is a instance whose method has not yet been called.
-or-
The invoked method is not supported in the base class. Derived classes must provide an implementation.
An object that represents the interface mapping for the specified interface and type.
Retrieves an object that represents a specified method.
The type that contains the method.
The name of the method.
An array that contains the method's parameters.
is .
-or-
is .
More than one method is found with the specified name.
An object that represents the specified method, or if the method is not found.
Retrieves a collection that represents all methods defined on a specified type.
The type that contains the methods.
is .
A collection of methods for the specified type.
Retrieves a collection that represents all the properties defined on a specified type.
The type that contains the properties.
is .
A collection of properties for the specified type.
Retrieves an object that represents a specified property.
The type that contains the property.
The name of the property.
is .
-or-
is .
is not a .
More than one property with the requested name was found.
An object that represents the specified property, or if the property is not found.
Encapsulates access to a public or private key pair used to sign strong name assemblies.
Initializes a new instance of the class, building the key pair from a array.
An array of type containing the key pair.
is .
The caller does not have the required permission.
.NET 6+ only: In all cases.
Initializes a new instance of the class, building the key pair from a .
A containing the key pair.
is .
The caller does not have the required permission.
.NET 6+ only: In all cases.
Initializes a new instance of the class, building the key pair from serialized data.
A object that holds the serialized object data.
A object that contains contextual information about the source or destination.
.NET Core and .NET 5+ only: In all cases.
Initializes a new instance of the class, building the key pair from a .
A string containing the key pair.
is .
The caller does not have the required permission.
.NET Core and .NET 5+ only: In all cases.
Runs when the entire object graph has been deserialized.
The object that initiated the callback.
.NET Core and .NET 5+ only: In all cases.
Sets the object with all the data required to reinstantiate the current object.
The object to be populated with serialization information.
The destination context of the serialization.
is .
.NET Core and .NET 5+ only: In all cases.
Gets the public part of the public key or public key token of the key pair.
.NET Core and .NET 5+ only: In all cases.
An array of type containing the public key or public key token of the key pair.
Represents the exception that is thrown when an attempt is made to invoke an invalid target.
Initializes a new instance of the class with an empty message and the root cause of the exception.
Initializes a new instance of the class with the specified serialization and context information.
The data for serializing or deserializing the object.
The source of and destination for the object.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the given message and the root cause exception.
A describing the reason why the exception occurred.
The exception that is thrown by methods invoked through reflection. This class cannot be inherited.
Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
The exception that is thrown when the number of parameters for an invocation does not match the number expected. This class cannot be inherited.
Initializes a new instance of the class with an empty message string and the root cause of the exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with its message string set to the given message and the root cause exception.
A describing the reason this exception was thrown.
Specifies type attributes.
Specifies that the type is abstract.
LPTSTR is interpreted as ANSI.
LPTSTR is interpreted automatically.
Specifies that class fields are automatically laid out by the common language runtime.
Specifies that calling static methods of the type does not force the system to initialize the type.
Specifies that the type is a class.
Specifies class semantics information; the current class is contextful (else agile).
LPSTR is interpreted by some implementation-specific means, which includes the possibility of throwing a . Not used in the Microsoft implementation of the .NET Framework.
Used to retrieve non-standard encoding information for native interop. The meaning of the values of these 2 bits is unspecified. Not used in the Microsoft implementation of the .NET Framework.
Specifies that class fields are laid out at the specified offsets.
Type has security associate with it.
Specifies that the class or interface is imported from another module.
Specifies that the type is an interface.
Specifies class layout information.
Specifies that the class is nested with assembly visibility, and is thus accessible only by methods within its assembly.
Specifies that the class is nested with assembly and family visibility, and is thus accessible only by methods lying in the intersection of its family and assembly.
Specifies that the class is nested with family visibility, and is thus accessible only by methods within its own type and any derived types.
Specifies that the class is nested with family or assembly visibility, and is thus accessible only by methods lying in the union of its family and assembly.
Specifies that the class is nested with private visibility.
Specifies that the class is nested with public visibility.
Specifies that the class is not public.
Specifies that the class is public.
Attributes reserved for runtime use.
Runtime should check name encoding.
Specifies that the class is concrete and cannot be extended.
Specifies that class fields are laid out sequentially, in the order that the fields were emitted to the metadata.
Specifies that the class can be serialized.
Specifies that the class is special in a way denoted by the name.
Used to retrieve string information for native interoperability.
LPTSTR is interpreted as UNICODE.
Specifies type visibility information.
Specifies a Windows Runtime type.
Wraps a object and delegates methods to that .
A value indicating type information.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class specifying the encapsulating instance.
The instance of the class that encapsulates the call to the method of an object.
is .
Gets the attributes assigned to the .
A object representing the implementation attribute flags.
Gets the constructor that implemented the .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If is , the default binder is used.
The calling conventions.
An array of type containing a list of the parameter number, order, and types. Types cannot be ; use an appropriate method or an empty array to search for a method without parameters.
An array of type having the same length as the array, whose elements represent the attributes associated with the parameters of the method to get.
A object for the method that matches the specified criteria, or if a match cannot be found.
Returns an array of objects representing constructors defined for the type wrapped by the current .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An array of type containing the specified constructors defined for this class. If no constructors are defined, an empty array is returned. Depending on the value of a specified parameter, only public constructors or both public and non-public constructors will be returned.
Returns all the custom attributes defined for this type, specifying whether to search the type's inheritance chain.
Specifies whether to search this type's inheritance chain to find the attributes.
A custom attribute type cannot be loaded.
An array of objects containing all the custom attributes defined for this type.
Returns an array of custom attributes identified by type.
An array of custom attributes identified by type.
Specifies whether to search this type's inheritance chain to find the attributes.
is .
A custom attribute type cannot be loaded.
An array of objects containing the custom attributes defined in this type that match the parameter, specifying whether to search the type's inheritance chain, or if no custom attributes are defined on this type.
Returns the of the object encompassed or referred to by the current array, pointer or ByRef.
The of the object encompassed or referred to by the current array, pointer or , or if the current is not an array, a pointer or a .
Returns the specified event.
The name of the event to get.
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
The parameter is .
An object representing the event declared or inherited by this type with the specified name. This method returns if no such event is found.
Returns an array of objects representing all the public events declared or inherited by the current .
An array that contains all the events declared or inherited by the current type. If there are no events, an empty array is returned.
Returns the events specified in that are declared or inherited by the current .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An array of type containing the events specified in . If there are no events, an empty array is returned.
Returns a object representing the field with the specified name.
The name of the field to find.
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
The parameter is .
A object representing the field declared or inherited by this with the specified name. Returns if no such field is found.
Returns an array of objects representing the data fields defined for the type wrapped by the current .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An array of type containing the fields declared or inherited by the current . An empty array is returned if there are no matched fields.
When overridden in a derived class, returns the calling conventions of the current function pointer .
The current type is not a function pointer. That is, the property returns .
An array of objects representing all the calling conventions for the current function pointer .
-or-
An empty array of type , if no calling conventions are defined for the current function pointer .
-or-
An empty array of type , if the current function pointer is not a modified . A modified is obtained from , , or .
When overridden in a derived class, returns the parameter types of the current function pointer .
The current type is not a function pointer. That is, the property returns .
An array of objects representing all the parameter types for the current function pointer .
-or-
An empty array of type , if no parameters are defined for the current function pointer .
When overridden in a derived class, returns the return type of the current function pointer .
The current type is not a function pointer. That is, the property returns .
A object representing the return type for the current function pointer .
Returns the specified interface implemented by the type wrapped by the current .
The fully qualified name of the interface implemented by the current class.
if the case is to be ignored; otherwise, .
The parameter is .
A object representing the interface implemented (directly or indirectly) by the current class with the fully qualified name matching the specified name. If no interface that matches name is found, null is returned.
Returns an interface mapping for the specified interface type.
The of the interface to retrieve a mapping of.
An object representing the interface mapping for .
Returns all the interfaces implemented on the current class and its base classes.
An array of type containing all the interfaces implemented on the current class and its base classes. If none are defined, an empty array is returned.
Returns members (properties, methods, constructors, fields, events, and nested types) specified by the given , , and .
The name of the member to get.
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
The type of members to get.
The parameter is .
An array of type containing all the members of the current class and its base class meeting the specified criteria.
Returns members specified by .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An array of type containing all the members of the current class and its base classes that meet the filter.
Searches for the on the current that matches the specified .
The to find on the current .
is .
does not match a member on the current .
An object representing the member on the current that matches the specified member.
Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
The method name.
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If is , the default binder is used.
The calling conventions.
An array of type containing a list of the parameter number, order, and types. Types cannot be ; use an appropriate method or an empty array to search for a method without parameters.
An array of type having the same length as the array, whose elements represent the attributes associated with the parameters of the method to get.
A object for the implementation method that matches the specified criteria, or if a match cannot be found.
Returns an array of objects representing specified methods of the type wrapped by the current .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An array of objects representing the methods defined on this .
Returns a nested type specified by and in that are declared or inherited by the type represented by the current .
The nested type's name.
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
The parameter is .
A object representing the nested type.
Returns the nested types specified in that are declared or inherited by the type wrapped by the current .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An array of type containing the nested types.
Returns an array of objects representing properties of the type wrapped by the current .
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An array of objects representing properties defined on this .
When overridden in a derived class, searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.
The property to get.
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from .
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects via reflection. If is , the default binder is used. See .
The return type of the property.
A list of parameter types. The list represents the number, order, and types of the parameters. Types cannot be null; use an appropriate method or an empty array to search for a method without parameters.
An array of the same length as types with elements that represent the attributes associated with the parameters of the method to get.
A object for the property that matches the specified criteria, or null if a match cannot be found.
Gets a value indicating whether the current encompasses or refers to another type; that is, whether the current is an array, a pointer or a ByRef.
if the is an array, a pointer or a ByRef; otherwise, .
Invokes the specified member. The method that is to be invoked must be accessible and provide the most specific match with the specified argument list, under the constraints of the specified binder and invocation attributes.
The name of the member to invoke. This may be a constructor, method, property, or field. If an empty string ("") is passed, the default member is invoked.
The invocation attribute. This must be one of the following : , , , , , , or . A suitable invocation attribute must be specified. If a static member is to be invoked, the flag must be set.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects via reflection. If is , the default binder is used. See .
The object on which to invoke the specified member.
An array of type that contains the number, order, and type of the parameters of the member to be invoked. If contains an uninitialized , it is treated as empty, which, with the default binder, can be widened to 0, 0.0 or a string.
An array of type that is the same length as , with elements that represent the attributes associated with the arguments of the member to be invoked. A parameter has attributes associated with it in the member's signature. For ByRef, use , and for none, use . The default binder does exact matching on these. Attributes such as and are not used in binding, and can be viewed using .
An instance of used to govern the coercion of types. This is necessary, for example, to convert a string that represents 1000 to a value, since 1000 is represented differently by different cultures. If is , the for the current thread's is used.
A string array containing parameter names that match up, starting at element zero, with the array. There must be no holes in the array. If . is greater than . , the remaining parameters are filled in order.
An representing the return value of the invoked member.
Returns a value that indicates whether the is an array.
if the is an array; otherwise, .
Returns a value that indicates whether the specified type can be assigned to this type.
The type to check.
if the specified type can be assigned to this type; otherwise, .
Returns a value that indicates whether the is passed by reference.
if the is passed by reference; otherwise, .
Returns a value that indicates whether the is a COM object.
if the is a COM object; otherwise, .
Indicates whether a custom attribute identified by is defined.
Specifies whether to search this type's inheritance chain to find the attributes.
An array of custom attributes identified by type.
is .
The custom attribute type cannot be loaded.
if a custom attribute identified by is defined; otherwise, .
Returns a value that indicates whether the is a pointer.
if the is a pointer; otherwise, .
Returns a value that indicates whether the is one of the primitive types.
if the is one of the primitive types; otherwise, .
Returns a value that indicates whether the type is a value type; that is, not a class or an interface.
if the type is a value type; otherwise, .
Gets the assembly of the implemented type.
An object representing the assembly of the implemented type.
Gets the assembly's fully qualified name.
A containing the assembly's fully qualified name.
Gets the base type for the current type.
The base type for a type.
Gets the fully qualified name of the implemented type.
A containing the type's fully qualified name.
Gets the GUID (globally unique identifier) of the implemented type.
A GUID.
Gets the value for this object's , which indicates whether this object, which is a implementation, references one or more assemblies held in a collectible .
if this object, which is a implementation, references one or more assemblies held in a collectible assembly load context; otherwise, .
Gets a value that indicates whether this object represents a constructed generic type.
if this object represents a constructed generic type; otherwise, .
Gets a value that indicates whether the current is a function pointer.
if the current is a function pointer; otherwise, .
Gets a value that indicates whether the current is an unmanaged function pointer.
if the current is an unmanaged function pointer; otherwise, .
Gets a value that identifies this entity in metadata.
A value which, in combination with the module, uniquely identifies this entity in metadata.
Gets the module that contains the implemented type.
A object representing the module of the implemented type.
Gets the name of the implemented type, with the path removed.
A containing the type's non-qualified name.
Gets the namespace of the implemented type.
A containing the type's namespace.
Gets a handle to the internal metadata representation of an implemented type.
A object.
Gets the underlying that represents the implemented type.
The underlying type.
Filters the classes represented in an array of objects.
The object to which the filter is applied.
An arbitrary object used to filter the list.
to include the in the filtered list; otherwise .
Represents type declarations for class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types.
Initializes a instance.
Returns the current type as a object.
The current type.
Returns an object that represents the specified event declared by the current type.
The name of the event.
is .
An object that represents the specified event, if found; otherwise, .
Returns an object that represents the specified field declared by the current type.
The name of the field.
is .
An object that represents the specified field, if found; otherwise, .
Returns an object that represents the specified method declared by the current type.
The name of the method.
is .
An object that represents the specified method, if found; otherwise, .
Returns a collection that contains all methods declared on the current type that match the specified name.
The method name to search for.
is .
A collection that contains methods that match .
Returns an object that represents the specified nested type declared by the current type.
The name of the nested type.
is .
An object that represents the specified nested type, if found; otherwise, .
Returns an object that represents the specified property declared by the current type.
The name of the property.
is .
An object that represents the specified property, if found; otherwise, .
Returns a value that indicates whether the specified type can be assigned to the current type.
The type to check.
if the specified type can be assigned to this type; otherwise, .
Returns a representation of the current type as a object.
A reference to the current type.
Gets a collection of the constructors declared by the current type.
A collection of the constructors declared by the current type.
Gets a collection of the events defined by the current type.
A collection of the events defined by the current type.
Gets a collection of the fields defined by the current type.
A collection of the fields defined by the current type.
Gets a collection of the members defined by the current type.
A collection of the members defined by the current type.
Gets a collection of the methods defined by the current type.
A collection of the methods defined by the current type.
Gets a collection of the nested types defined by the current type.
A collection of nested types defined by the current type.
Gets a collection of the properties defined by the current type.
A collection of the properties defined by the current type.
Gets an array of the generic type parameters of the current instance.
An array that contains the current instance's generic type parameters, or an array of zero if the current instance has no generic type parameters.
Gets a collection of the interfaces implemented by the current type.
A collection of the interfaces implemented by the current type.
Provides data for loader resolution events, such as the , , , and events.
Initializes a new instance of the class, specifying the name of the item to resolve and the assembly whose dependency is being resolved.
The name of an item to resolve.
The assembly whose dependency is being resolved.
Initializes a new instance of the class, specifying the name of the item to resolve.
The name of an item to resolve.
Gets the name of the item to resolve.
The name of the item to resolve.
Gets the assembly whose dependency is being resolved.
The assembly that requested the item specified by the property.
Represents a method that handles the , , or event of an .
The source of the event.
The event data.
The assembly that resolves the type, assembly, or resource; or if the assembly cannot be resolved.
Provides the base functionality for reading data from resource files.
Closes the resource reader after releasing any resources associated with it.
Returns a dictionary enumerator of the resources for this reader.
A dictionary enumerator for the resources for this reader.
The exception that is thrown if the main assembly does not contain the resources for the neutral culture, and an appropriate satellite assembly is missing.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class from serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination of the exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified error message.
The error message that explains the reason for the exception.
The exception that is thrown when the satellite assembly for the resources of the default culture is missing.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class from serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination of the exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and the name of a neutral culture.
The error message that explains the reason for the exception.
The name of the neutral culture.
Initializes a new instance of the class with the specified error message.
The error message that explains the reason for the exception.
Gets the name of the default culture.
The name of the default culture.
Informs the resource manager of an app's default culture. This class cannot be inherited.
Initializes a new instance of the class with the specified ultimate resource fallback location.
The name of the culture that the current assembly's neutral resources were written in.
One of the enumeration values that indicates the location from which to retrieve neutral fallback resources.
is .
is not a member of .
Initializes a new instance of the class.
The name of the culture that the current assembly's neutral resources were written in.
The parameter is .
Gets the culture name.
The name of the default culture for the main assembly.
Gets the location for the class to use to retrieve neutral resources by using the resource fallback process.
One of the enumeration values that indicates the location (main assembly or satellite) from which to retrieve neutral resources.
Represents a resource manager that provides convenient access to culture-specific resources at run time.
Specifies the version of resource file headers that the current implementation of can interpret and produce.
Holds the number used to identify resource files.
Specifies the main assembly that contains the resources.
Initializes a new instance of the class with default values.
Initializes a new instance of the class that uses a specified class to look up resources contained in files with the specified root name in the given assembly.
The root name of the resource file without its extension but including any fully qualified namespace name. For example, the root name for the resource file named MyApplication.MyResource.en-US.resources is MyApplication.MyResource.
The main assembly for the resources.
The type of the custom to use. If , the default runtime object is used.
is not a derived class of .
The or parameter is .
Initializes a new instance of the class that looks up resources contained in files with the specified root name in the given assembly.
The root name of the resource file without its extension but including any fully qualified namespace name. For example, the root name for the resource file named MyApplication.MyResource.en-US.resources is MyApplication.MyResource.
The main assembly for the resources.
The or parameter is .
Initializes a new instance of the class that looks up resources in satellite assemblies based on information from the specified type object.
A type from which the resource manager derives all information for finding .resources files.
The parameter is .
Returns a object that searches a specific directory instead of an assembly manifest for resources.
The root name of the resources. For example, the root name for the resource file named "MyResource.en-US.resources" is "MyResource".
The name of the directory to search for the resources. can be an absolute path or a relative path from the application directory.
The type of the custom to use. If , the default runtime object is used.
The or parameter is .
A new instance of a resource manager that searches the specified directory instead of an assembly manifest for resources.
Returns culture-specific information for the main assembly's default resources by retrieving the value of the attribute on a specified assembly.
The assembly for which to return culture-specific information.
The culture from the attribute, if found; otherwise, the invariant culture.
Gets the value of the specified non-string resource localized for the specified culture.
The name of the resource to get.
The culture for which the resource is localized. If the resource is not localized for this culture, the resource manager uses fallback rules to locate an appropriate resource.
If this value is , the object is obtained by using the property.
The parameter is .
No usable set of resources have been found, and there are no default culture resources. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The default culture's resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The value of the resource, localized for the specified culture. If an appropriate resource set exists but cannot be found, the method returns .
Returns the value of the specified non-string resource.
The name of the resource to get.
The parameter is .
No usable set of localized resources has been found, and there are no default culture resources. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The default culture's resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The value of the resource localized for the caller's current culture settings. If an appropriate resource set exists but cannot be found, the method returns .
Generates the name of the resource file for the given object.
The culture object for which a resource file name is constructed.
The name that can be used for a resource file for the given object.
Retrieves the resource set for a particular culture.
The culture whose resources are to be retrieved.
to load the resource set, if it has not been loaded yet; otherwise, .
to use resource fallback to load an appropriate resource if the resource set cannot be found; to bypass the resource fallback process.
The parameter is .
is , no usable set of resources has been found, and there are no default culture resources.
The resource set for the specified culture.
Returns the version specified by the attribute in the given assembly.
The assembly to check for the attribute.
The found in the assembly is invalid.
is .
The satellite contract version of the given assembly, or if no version was found.
Returns an unmanaged memory stream object from the specified resource, using the specified culture.
The name of a resource.
The culture to use for the resource lookup. If is , the culture for the current thread is used.
The value of the specified resource is not a object.
is .
No usable set of resources is found, and there are no default resources. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The default culture's resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
An unmanaged memory stream object that represents a resource.
Returns an unmanaged memory stream object from the specified resource.
The name of a resource.
The value of the specified resource is not a object.
is .
No usable set of resources is found, and there are no default resources. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The default culture's resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
An unmanaged memory stream object that represents a resource.
Returns the value of the string resource localized for the specified culture.
The name of the resource to retrieve.
An object that represents the culture for which the resource is localized.
The parameter is .
The value of the specified resource is not a string.
No usable set of resources has been found, and there are no resources for a default culture. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The default culture's resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The value of the resource localized for the specified culture, or if cannot be found in a resource set.
Returns the value of the specified string resource.
The name of the resource to retrieve.
The parameter is .
The value of the specified resource is not a string.
No usable set of resources has been found, and there are no resources for the default culture. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The default culture's resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the "Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions" section in the class topic.
The value of the resource localized for the caller's current UI culture, or if cannot be found in a resource set.
Provides the implementation for finding a resource set.
The culture object to look for.
to load the resource set, if it has not been loaded yet; otherwise, .
to check parent objects if the resource set cannot be loaded; otherwise, .
The main assembly does not contain a .resources file, which is required to look up a resource.
There was an internal error in the runtime.
The satellite assembly associated with could not be located.
The specified resource set.
Tells the resource manager to call the method on all objects and release all resources.
Gets the root name of the resource files that the searches for resources.
The root name of the resource files that the searches for resources.
Gets or sets the location from which to retrieve default fallback resources.
One of the enumeration values that specifies where the resource manager can look for fallback resources.
Gets or sets a value that indicates whether the resource manager allows case-insensitive resource lookups in the and methods.
to ignore case during resource lookup; otherwise, .
Gets the type of the resource set object that the resource manager uses to construct a object.
The type of the resource set object that the resource manager uses to construct a object.
Enumerates the resources in a binary resources (.resources) file by reading sequential resource name/value pairs.
Initializes a new instance of the class for the specified stream.
The input stream for reading resources.
The parameter is not readable.
The parameter is .
An I/O error has occurred while accessing .
Initializes a new instance of the class for the specified named resource file.
The path and name of the resource file to read. filename is not case-sensitive.
The parameter is .
The file cannot be found.
An I/O error has occurred.
The resource file has an invalid format. For example, the length of the file may be zero.
Releases all operating system resources associated with this object.
Releases all resources used by the current instance of the class.
Returns an enumerator for this object.
The reader has been closed or disposed, and cannot be accessed.
An enumerator for this object.
Retrieves the type name and data of a named resource from an open resource file or stream.
The name of a resource.
When this method returns, contains a string that represents the type name of the retrieved resource. This parameter is passed uninitialized.
When this method returns, contains a byte array that is the binary representation of the retrieved type. This parameter is passed uninitialized.
is .
does not exist.
has an invalid type.
The retrieved resource data is corrupt.
The current object is not initialized, probably because it is closed.
Returns an enumerator for this object.
The reader has already been closed and cannot be accessed.
An enumerator for this object.
Stores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.
Initializes a new instance of the class with default properties.
Creates a new instance of the class using the system default that reads resources from the given stream.
The of resources to be read. The stream should refer to an existing resources file.
The is not readable.
The parameter is .
Creates a new instance of the class using the specified resource reader.
The reader that will be used.
The parameter is .
Creates a new instance of the class using the system default that opens and reads resources from the given file.
Resource file to read.
The parameter is .
Closes and releases any resources used by this .
Disposes of the resources (other than memory) used by the current instance of .
Releases resources (other than memory) associated with the current instance, closing internal managed objects if requested.
Indicates whether the objects contained in the current instance should be explicitly closed.
Returns the preferred resource reader class for this kind of .
The for the preferred resource reader for this kind of .
Returns the preferred resource writer class for this kind of .
The for the preferred resource writer for this kind of .
Returns an that can iterate through the .
The resource set has been closed or disposed.
An for this .
Searches for a resource object with the specified name in a case-insensitive manner, if requested.
Name of the resource to search for.
Indicates whether the case of the specified name should be ignored.
The parameter is .
The object has been closed or disposed.
The requested resource.
Searches for a resource object with the specified name.
Case-sensitive name of the resource to search for.
The parameter is .
The object has been closed or disposed.
The requested resource.
Searches for a resource with the specified name in a case-insensitive manner, if requested.
Name of the resource to search for.
Indicates whether the case of the case of the specified name should be ignored.
The parameter is .
The resource specified by is not a .
The object has been closed or disposed.
The value of a resource, if the value is a .
Searches for a resource with the specified name.
Name of the resource to search for.
The parameter is .
The resource specified by is not a .
The object has been closed or disposed.
The value of a resource, if the value is a .
Reads all the resources and stores them in a indicated in the property.
Returns an object to avoid a race condition with . This member is not intended to be used directly from your code.
An enumerator for the current object.
Instructs a object to ask for a particular version of a satellite assembly.
Initializes a new instance of the class.
A string that specifies the version of the satellite assemblies to load.
The parameter is .
Gets the version of the satellite assemblies with the required resources.
A string that contains the version of the satellite assemblies with the required resources.
Specifies whether a object looks for the resources of the app's default culture in the main assembly or in a satellite assembly.
Fallback resources are located in the main assembly.
Fallback resources are located in a satellite assembly.
The exception that is thrown when there are multiple incompatible interface methods overriding another method.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
A string that describes the error.
The exception that is the cause of the current exception.
Initializes a new instance of the class with a specified error message.
The localized error message string.
Specifies patch band information for targeted patching of .NET.
Initializes a new instance of the class.
The patch band.
Gets the patch band.
The patch band information.
Specifies the name of the property that accesses the attributed field.
Initializes a new instance of the class with the name of the property used to access the attributed field.
The name of the property used to access the attributed field.
Gets the name of the property used to access the attributed field.
The name of the property used to access the attributed field.
Represents a builder for asynchronous iterators.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Marks iteration as being completed, whether successfully or otherwise.
Creates an instance of the struct.
The initialized instance.
Invokes on the state machine while guarding the .
The state machine instance, passed by reference.
The type of the state machine.
Indicates whether a method is an asynchronous iterator.
Initializes a new instance of the class.
The type object for the underlying state machine type that's used to implement a state machine method.
Indicates the type of the async method builder that should be used by a language compiler to build the attributed type when used as the return type of an async method.
Initializes a new instance of the class.
The type of the associated builder.
Gets the type of the associated builder.
The type of the associated builder.
Indicates whether a method is marked with either the Async or async modifier.
Initializes a new instance of the class.
The type object for the underlying state machine type that's used to implement a state machine method.
Represents a builder for asynchronous methods that return a task.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the type.
A new instance of the builder.
Marks the task as failed and binds the specified exception to the task.
The exception to bind to the task.
is .
The task has already completed.
-or-
The builder is not initialized.
Marks the task as successfully completed.
The task has already completed.
-or-
The builder is not initialized.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
is .
The state machine was previously set.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
is .
Gets the task for this builder.
The builder is not initialized.
The task for this builder.
Represents a builder for asynchronous methods that returns a task and provides a parameter for the result.
The result to use to complete the task.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the class.
A new instance of the builder.
Marks the task as failed and binds the specified exception to the task.
The exception to bind to the task.
is .
The task has already completed.
Marks the task as successfully completed.
The result to use to complete the task.
The task has already completed.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
is .
The state machine was previously set.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
is .
Gets the task for this builder.
The task for this builder.
Represents a builder for asynchronous methods that return a .
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the struct.
The initialized instance.
Marks the task as failed and binds the specified exception to the task.
The exception to bind to the task.
Marks the task as successfully completed.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
Gets the task for this builder.
The task for this builder.
Represents a builder for asynchronous methods that returns a .
The type of the result produced by the task.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the struct.
The initialized instance.
Marks the task as failed and binds the specified exception to the task.
The exception to bind to the task.
Marks the task as successfully completed.
The result to use to complete the task.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
Gets the task for this builder.
The task for this builder.
Represents a builder for asynchronous methods that do not return a value.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the class.
A new instance of the builder.
Binds an exception to the method builder.
The exception to bind.
is .
The builder is not initialized.
Marks the method builder as successfully completed.
The builder is not initialized.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
is .
The state machine was previously set.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
is .
Indicates that a method should use the calling convention.
Initializes a new instance of the class.
This calling convention is not supported in this version of .NET.
Initializes a new instance of the class.
Indicates that the calling convention used is the member function variant.
Initializes a new instance of the class.
Indicates that a method should use the calling convention.
Initializes a new instance of the class.
Indicates that a method should suppress the GC transition as part of the calling convention.
Initializes a new instance of the class.
Indicates that a method should using the Swift calling convention.
Initializes a new instance of the class.
Indicates that a method should use the calling convention.
Initializes a new instance of the class.
Indicates that a parameter captures the expression passed for another parameter as a string.
Initializes a new instance of the class.
The name of the parameter whose expression should be captured as a string.
Gets the name of the parameter whose expression should be captured as a string.
The name of the parameter whose expression should be captured.
Tags parameter that should be filled with specific caller source file path.
Initializes a new instance of the class.
Tags parameter that should be filled with specific caller line number.
Initializes a new instance of the class.
Tags parameter that should be filled with specific caller member name.
Initializes a new instance of the class.
Initializes a new instance of that refers to the method on the type.
The type of the builder to use to construct the collection.
The name of the method on the builder to use to construct the collection.
Gets the type of the builder to use to construct the collection.
Gets the name of the method on the builder to use to construct the collection.
Specifies parameters that control the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler.
Marks an assembly as not requiring string-literal interning. In an application domain, the common language runtime creates one string object for each unique string literal, rather than making multiple copies. This behavior, called string interning, internally requires building auxiliary tables that consume memory resources.
Controls the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler.
Initializes a new instance of the class with the specified compilation relaxations.
The compilation relaxations.
Initializes a new instance of the class with the specified value.
One of the values.
Gets the compilation relaxations specified when the current object was constructed.
The compilation relaxations specified when the current object was constructed.
Use the enumeration with the property.
Indicates that compiler support for a particular feature is required for the location where this attribute is applied.
The used for the ref structs C# feature.
The used for the required members C# feature.
Initializes a instance for the passed in compiler feature.
The name of the required compiler feature.
The name of the compiler feature.
Gets a value that indicates whether the compiler can choose to allow access to the location where this attribute is applied if it does not understand .
to let the compiler choose to allow access to the location where this attribute is applied if it does not understand ; otherwise, .
Distinguishes a compiler-generated element from a user-generated element. This class cannot be inherited.
Initializes a new instance of the class.
Indicates that a class should be treated as if it has global scope.
Initializes a new instance of the class.
Represents an attribute that, when applied to an attribute class, instructs the compiler to flow applications of that attribute, from source code down to compiler-generated symbols. This flow can help IL-based analysis tools.
Initializes a new instance of the class.
Enables compilers to dynamically attach object fields to managed objects.
The reference type to which the field is attached.
The field's type. This must be a reference type.
Initializes a new instance of the class.
Adds a key to the table.
The key to add. represents the object to which the property is attached.
The key's property value.
is .
already exists.
Adds the key and value if the key doesn't exist, or updates the existing key's value if it does exist.
The key to add or update. May not be .
The value to associate with .
is .
Clears all the key/value pairs.
Searches for a specified key in the table and returns the corresponding value. If the key does not exist in the table, the method adds the given value and binds it to the specified key.
The key of the value to find. It cannot be .
The value to add and bind to , if one does not exist already.
is .
The value bound to in the current instance, after the method completes.
Searches for a specified key in the table and returns the corresponding value. If the key does not exist in the table, the method invokes the supplied factory to create a value that is bound to the specified key.
The key of the value to find. It cannot be .
The callback that creates a value for key, if one does not exist already. It cannot be .
or is .
The value bound to in the current instance, after the method completes.
Searches for a specified key in the table and returns the corresponding value. If the key does not exist in the table, the method invokes the supplied factory to create a value that is bound to the specified key.
The key of the value to find. It cannot be .
The callback that creates a value for key, if one does not exist already. It cannot be .
The additional argument to supply to upon invocation.
The type of the additional argument to use with the value factory.
or is .
The value bound to in the current instance, after the method completes.
Atomically searches for a specified key in the table and returns the corresponding value. If the key does not exist in the table, the method invokes the parameterless constructor of the class that represents the table's value to create a value that is bound to the specified key.
The key to search for. represents the object to which the property is attached.
is .
The class that represents the table's value does not define a parameterless constructor.
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The value that corresponds to , if already exists in the table; otherwise, a new value created by the parameterless constructor of the class defined by the generic type parameter.
Atomically searches for a specified key in the table and returns the corresponding value. If the key does not exist in the table, the method invokes a callback method to create a value that is bound to the specified key.
The key to search for. represents the object to which the property is attached.
A delegate to a method that can create a value for the given . It has a single parameter of type TKey, and returns a value of type TValue.
or is .
The value attached to , if already exists in the table; otherwise, the new value returned by the delegate.
Removes a key and its value from the table, and returns the removed value if it was present.
The key to remove.
When this method returns, contains the value removed from the table, if it was present.
is .
if the key is found and removed; otherwise, .
Removes a key and its value from the table.
The key to remove.
is .
if the key is found and removed; otherwise, .
Returns an enumerator that can be used to iterate through the table.
An enumerator that can be used to iterate through the table.
Returns an enumerator that can be used to iterate through the table.
An enumerator that can be used to iterate through the table.
Adds a key to the table if it doesn't already exist.
The key to add.
The key's property value.
is .
if the key/value pair was added; if the table already contained the key.
Gets the value of the specified key.
The key that represents an object with an attached property.
When this method returns, contains the attached property value. If is not found, contains the default value.
is .
if is found; otherwise, .
Represents a method that creates a non-default value to add as part of a key/value pair to a object.
The key that belongs to the value to create.
An instance of a reference type that represents the value to attach to the specified key.
Provides a type that can be used to configure how awaits on an are performed.
Asynchronously releases the unmanaged resources used by the .
A task that represents the asynchronous dispose operation.
Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.
The type of values to enumerate.
Configures how awaits on the tasks returned from an async iteration will be performed.
Whether to capture and marshal back to the current context.
The configured enumerable.
Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.
An enumerator for the class.
Sets the to be passed to when iterating.
The to use.
The configured enumerable.
Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.
The type of values to enumerate.
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources asynchronously.
A task that represents the asynchronous dispose operation.
Advances the enumerator asynchronously to the next element of the collection.
A that will complete with a result of true
if the enumerator was successfully advanced to the next element, or false if the enumerator has
passed the end of the collection.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Provides an awaitable object that enables configured awaits on a task.
Returns an awaiter for this awaitable object.
The awaiter.
Provides an awaiter for an awaitable () object.
Ends the await on the completed task.
The awaiter was not properly initialized.
The task was canceled.
The task completed in a faulted state.
The task was canceled.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is .
The awaiter was not properly initialized.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is .
The awaiter was not properly initialized.
Gets a value that specifies whether the task being awaited is completed.
The awaiter was not properly initialized.
if the task being awaited is completed; otherwise, .
Provides an awaitable object that enables configured awaits on a task.
The type of the result produced by this .
Returns an awaiter for this awaitable object.
The awaiter.
Provides an awaiter for an awaitable object().
Ends the await on the completed task.
The awaiter was not properly initialized.
The task was canceled.
The task completed in a faulted state.
The task was canceled.
The result of the completed task.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is .
The awaiter was not properly initialized.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is .
The awaiter was not properly initialized.
Gets a value that specifies whether the task being awaited has been completed.
The awaiter was not properly initialized.
if the task being awaited has been completed; otherwise, .
Provides an awaitable type that enables configured awaits on a .
Returns an awaiter for this instance.
The awaiter for this instance.
Provides an awaiter for a .
Gets the result of the ValueTask.
Schedules the continuation action for the .
The continuation action for the .
Schedules the continuation action for the .
The continuation action for the .
Gets a value that indicates whether the has completed.
if the has completed; otherwise, .
Provides an awaitable type that enables configured awaits on a .
The type of the produced result.
Returns an awaiter for this instance.
The awaiter for this instance.
Provides an awaiter for a .
The type of the result produced by the task.
Gets the result of the .
The result of the .
Schedules the continuation action for the .
The continuation action for the .
Schedules the continuation action for the .
The continuation action for the .
Gets a value that indicates whether the has completed.
if the has completed; otherwise, .
Defines a constant value that a compiler can persist for a field or method parameter.
Initializes a new instance of the class.
Gets the constant value stored by this attribute.
The constant value stored by this attribute.
Persists an 8-byte constant for a field or parameter.
Initializes a new instance of the class with the number of 100-nanosecond ticks that represent the date and time of this instance.
The number of 100-nanosecond ticks that represent the date and time of this instance.
Gets the number of 100-nanosecond ticks that represent the date and time of this instance.
The number of 100-nanosecond ticks that represent the date and time of this instance.
Stores the value of a constant in metadata. This class cannot be inherited.
Initializes a new instance of the class with the specified signed integer values.
The power of 10 scaling factor that indicates the number of digits to the right of the decimal point. Valid values are 0 through 28 inclusive.
A value of 0 indicates a positive value, and a value of 1 indicates a negative value.
The high 32 bits of the 96-bit .
The middle 32 bits of the 96-bit .
The low 32 bits of the 96-bit .
Initializes a new instance of the class with the specified unsigned integer values.
The power of 10 scaling factor that indicates the number of digits to the right of the decimal point. Valid values are 0 through 28 inclusive.
A value of 0 indicates a positive value, and a value of 1 indicates a negative value.
The high 32 bits of the 96-bit .
The middle 32 bits of the 96-bit .
The low 32 bits of the 96-bit .
> 28.
Gets the decimal constant stored in this attribute.
The decimal constant stored in this attribute.
Provides a hint to the common language runtime (CLR) indicating how likely a dependency is to be loaded. This class is used in a dependent assembly to indicate what hint should be used when the parent does not specify the attribute. This class cannot be inherited.
Initializes a new instance of the class with the specified binding.
One of the values that indicates the default binding preference.
Gets the value that indicates when an assembly loads a dependency.
One of the values.
Provides a handler used by the language compiler to process interpolated strings into instances.
Creates a handler used to translate an interpolated string into a .
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
An object that supplies culture-specific formatting information.
A buffer temporarily transferred to the handler for use as part of its formatting. Contents may be overwritten.
Creates a handler used to translate an interpolated string into a .
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
An object that supplies culture-specific formatting information.
Creates a handler used to translate an interpolated string into a .
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified string of chars to the handler.
The span to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified character span to the handler.
The span to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified value to the handler.
The value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The type of the value to write.
Writes the specified string to the handler.
The string to write.
Clears the handler.
Gets the built .
The built string.
Gets the built and clears the handler.
The built string.
Gets a span of the characters appended to the handler.
Indicates when a dependency is to be loaded by the referring assembly. This class cannot be inherited.
Initializes a new instance of the class with the specified value.
The dependent assembly to bind to.
One of the values.
Gets the value of the dependent assembly.
The name of the dependent assembly.
Gets the value that indicates when an assembly is to load a dependency.
One of the values.
Indicates that any private members contained in an assembly's types are not available to reflection.
Initializes a new instances of the class.
Disables the built-in runtime managed/unmanaged marshalling subsystem for P/Invokes, Delegate types, and unmanaged function pointer invocations.
Initializes a instance with default values.
Marks a type definition as discardable.
Initializes a new instance of the class with default values.
Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from .
Initializes a new instance of the class.
Indicates that a method is an extension method, or that a class or assembly contains extension methods.
Initializes a new instance of the class.
Represents an attribute that's used to mark extension members and associate them with a specific marker type (which provides detailed information about an extension block and its receiver parameter).
Initializes a new instance of the class.
The name of the marker type this extension member is associated with.
The name of the marker type this extension member is associated with.
Fixes the address of a static value type field throughout its lifetime. This class cannot be inherited.
Initializes a new instance of the class.
Indicates that a field should be treated as containing a fixed number of elements of the specified primitive type. This class cannot be inherited.
Initializes a new instance of the class.
The type of the elements contained in the buffer.
The number of elements in the buffer.
Gets the type of the elements contained in the fixed buffer.
The type of the elements.
Gets the number of elements in the fixed buffer.
The number of elements in the fixed buffer.
Provides a static method to create a object from a composite format string and its arguments.
Creates a instance from a composite format string and its arguments.
A composite format string.
The arguments whose string representations are to be inserted in the result string.
is .
-or-
is .
The object that represents the composite format string and its arguments.
Represents state machines that are generated for asynchronous methods. This type is intended for compiler use only.
Moves the state machine to its next state.
Configures the state machine with a heap-allocated replica.
The heap-allocated replica.
Represents an awaiter that schedules continuations when an await operation completes.
Schedules the continuation action that's invoked when the instance completes.
The action to invoke when the operation completes.
The argument is null (Nothing in Visual Basic).
Indicates the name by which an indexer is known in programming languages that do not support indexers directly.
Initializes a new instance of the class.
The name of the indexer, as shown to other languages.
Represents an inline array of with a fixed length of 10.
The type of elements in the array.
Represents an inline array of with a fixed length of 11.
The type of elements in the array.
Represents an inline array of with a fixed length of 12.
The type of elements in the array.
Represents an inline array of with a fixed length of 13.
The type of elements in the array.
Represents an inline array of with a fixed length of 14.
The type of elements in the array.
Represents an inline array of with a fixed length of 15.
The type of elements in the array.
Represents an inline array of with a fixed length of 16.
The type of elements in the array.
Represents an inline array of with a fixed length of 2.
The type of elements in the array.
Represents an inline array of with a fixed length of 3.
The type of elements in the array.
Represents an inline array of with a fixed length of 4.
The type of elements in the array.
Represents an inline array of with a fixed length of 5.
The type of elements in the array.
Represents an inline array of with a fixed length of 6.
The type of elements in the array.
Represents an inline array of with a fixed length of 7.
The type of elements in the array.
Represents an inline array of with a fixed length of 8.
The type of elements in the array.
Represents an inline array of with a fixed length of 9.
The type of elements in the array.
Indicates that the instance's storage is sequentially replicated times.
Creates a new instance with the specified length.
The number of sequential fields to replicate in the inline array type.
Gets the number of sequential fields to replicate in the inline array type.
The number of sequential fields to replicate in the inline array type.
Represents an operation that schedules continuations when it completes.
Schedules the continuation action that's invoked when the instance completes.
The action to invoke when the operation completes.
The argument is null (Nothing in Visual Basic).
Specifies that types that are ordinarily visible only within the current assembly are visible to a specified assembly.
Initializes a new instance of the class with the name of the specified friend assembly.
The name of a friend assembly.
This property is not implemented.
This property does not return a value.
Gets the name of the friend assembly to which all types and type members that are marked with the keyword are to be made visible.
A string that represents the name of the friend assembly.
Indicates which arguments to a method involving an interpolated string handler should be passed to that handler.
Initializes a new instance of the class.
The name of the argument that should be passed to the handler.
Initializes a new instance of the class.
The names of the arguments that should be passed to the handler.
Gets the names of the arguments that should be passed to the handler.
Indicates the attributed type is to be used as an interpolated string handler.
Initializes the .
Indicates that a structure is byref-like.
Creates a new instance of the class.
Indicates that the modified type has a modifier. This class cannot be inherited.
Reserved to be used by the compiler for tracking metadata.
This class should not be used by developers in source code.
Marks a program element as read-only.
Creates a new instance of the class.
Defines a property for accessing the value that an object references.
Gets or sets the value that an object references.
The value that the object references.
Reserved for use by a compiler for tracking metadata.
This attribute should not be used by developers in source code.
Initializes a new instance of .
Marks a field as volatile. This class cannot be inherited.
Indicates whether a method in Visual Basic is marked with the modifier.
Initializes a new instance of the class.
The type object for the underlying state machine type that's used to implement a state machine method.
Defines a general-purpose Tuple implementation that allows access to Tuple instance members without knowing the underlying Tuple type.
Returns the value of the specified element.
The index of the specified element. can range from 0 for of the to one less than the number of elements in the .
The value of the specified element.
Gets the number of elements in this instance.
The number of elements in this instance.
Specifies the preferred default binding for a dependent assembly.
The dependency is always loaded.
No preference specified.
The dependency is sometimes loaded.
Defines how a method is implemented.
Specifies that the method implementation is in Microsoft intermediate language (MSIL).
Specifies that the method is implemented in native code.
Specifies that the method implementation is in optimized intermediate language (OPTIL).
Specifies that the method implementation is provided by the runtime.
Specifies the details of how a method is implemented. This class cannot be inherited.
A value indicating what kind of implementation is provided for this method.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified value.
A bitmask representing the desired value, which specifies properties of the attributed method.
Initializes a new instance of the class with the specified value.
A value specifying properties of the attributed method.
Gets the value describing the attributed method.
The value describing the attributed method.
Specifies constants that define the details of how a method is implemented.
The method should be inlined if possible.
Unnecessary use of this attribute can reduce performance. The attribute might cause implementation limits to be encountered that will result in slower generated code. Always measure performance to ensure it's helpful to apply this attribute.
The method contains code that should always be optimized for performance.
It's rarely appropriate to use this attribute. Methods that apply this attribute bypass the first tier of tiered compilation and therefore don't benefit from optimizations that rely on tiered compilation. Those optimizations include dynamic PGO and optimizations based on initialized classes. Use of this attribute might also increase memory use. Always measure performance to ensure it's helpful to apply this attribute.
The method is declared, but its implementation is provided elsewhere.
The call is internal, that is, it calls a method that's implemented within the common language runtime.
The method cannot be inlined. Inlining is an optimization by which a method call is replaced with the method body.
The method is not optimized by the just-in-time (JIT) compiler or by native code generation (see Ngen.exe) when debugging possible code generation problems.
The method signature is exported exactly as declared.
The method can be executed by only one thread at a time. Static methods lock on the type, whereas instance methods lock on the instance. Only one thread can execute in any of the instance functions, and only one thread can execute in any of a class's static functions.
The method is implemented in unmanaged code.
Used to indicate to the compiler that a method should be called in its containing module's initializer.
Initializes a new instance of the class.
Reserved for use by a compiler for tracking metadata. This attribute should not be used by developers in source code.
Specifies metadata related to nullable reference types.
Initializes the attribute.
The flags value.
Initializes the attribute.
The flags value.
Reserved for use by a compiler for tracking metadata. This attribute should not be used by developers in source code.
Specifies metadata related to nullable reference types.
Initializes the attribute.
The flag value.
Reserved for use by a compiler for tracking metadata. This attribute should not be used by developers in source code.
Indicates whether metadata for internal members is included.
Initializes the attribute.
Indicates whether metadata for internal members is included.
Specifies the priority of a member in overload resolution. When unspecified, the default priority is 0.
Initializes a new instance of the class.
The priority of the attributed member. Higher numbers are prioritized, lower numbers are deprioritized. 0 is the default if no attribute is present.
The priority of the member. Higher numbers are prioritized, lower numbers are deprioritized.
Indicates that a method allows a variable number of arguments in its invocation.
Initializes a new instance of the class.
Represents a builder for asynchronous methods that return a .
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the struct.
The initialized instance.
Marks the task as failed and binds the specified exception to the task.
The exception to bind to the task.
Marks the task as successfully completed.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
Gets the task for this builder.
Represents a builder for asynchronous methods that returns a .
The type of the result.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
the awaiter
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
the awaiter
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the struct.
The initialized instance.
Marks the value task as failed and binds the specified exception to the value task.
The exception to bind to the value task.
Marks the value task as successfully completed.
The result to use to complete the value task.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
Gets the value task for this builder.
Ensures that any virtual call to the method, whether it uses the base signature or derived signature of the method, executes the most derived override.
Initializes a new instance of the class.
Identifies an assembly as a reference assembly, which contains metadata but no executable code.
Initializes a new instance of the class.
Initializes a new instance of the class by using the specified description.
The description of the reference assembly.
Gets the description of the reference assembly.
The description of the reference assembly.
Indicates the language version of the ref safety rules used when the module was compiled.
Initializes a new instance of the class.
The language version of the ref safety rules used when the module was compiled.
Gets the language version of the ref safety rules used when the module was compiled.
Specifies that a type has required members or that a member is required.
Initializes a instance with default values.
Reserved for use by a compiler for tracking metadata. This attribute should not be used by developers in source code.
Initializes the attribute.
Specifies whether to wrap exceptions that do not derive from the class with a object. This class cannot be inherited.
Initializes a new instance of the class.
Gets or sets a value that indicates whether to wrap exceptions that do not derive from the class with a object.
if exceptions that do not derive from the class should appear wrapped with a object; otherwise, .
Defines APIs to determine whether specific features are supported by the common language runtime.
Represents a runtime feature where types can define ref fields.
Represents a runtime feature where byref-like types can be used in generic parameters.
Represents a runtime feature where overriding methods can return more derived types than the method they override.
Represents a runtime feature where interfaces can define default method implementations.
Indicates that this version of the runtime supports and as numeric types.
Represents the portable PDB runtime feature.
Represents a runtime feature where C# function pointers can be declared with an unmanaged calling convention.
Indicates that this version of runtime supports virtual static members of interfaces.
Determines whether a specified feature is supported by the common language runtime.
The name of the feature.
if is supported; otherwise, .
Gets a value that indicates whether the runtime compiles dynamic code.
if the runtime compiles dynamic code; if it doesn't compile dynamic code or doesn't know about this property.
Gets a value that indicates whether the runtime supports dynamic code.
if the runtime supports dynamic code; if it doesn't support dynamic code or doesn't know about this property.
Provides a set of static methods and properties that provide support for compilers. This class cannot be inherited.
Allocates memory that's associated with the and is freed if and when the is unloaded.
The type associated with the allocated memory.
The amount of memory to allocate, in bytes.
The allocated memory.
Creates a boxed object of the specified type from the data located at the target reference.
The target data.
The type of box to create.
The specified type handle is .
The specified type cannot have a boxed instance of itself created.
The passed in type is a byref-like type.
A boxed object containing the specified data.
Provides a fast way to access constant data stored in a module as a .
A field handle that specifies the location of the data to be referred to by the . The Rva of the field must be aligned on a natural boundary of .
The type of the ReadOnlySpan data.
refers to a field that's not an Rva or is misaligned, or is of an invalid type.
The data stored in the field.
Ensures that the remaining stack space is large enough to execute the average .NET function.
The available stack space is insufficient to execute the average .NET function.
Determines whether the specified instances are considered equal.
The first object to compare.
The second object to compare.
if is the same instance as , or if both are , or if both are the same value type and the values of their underlying memory are equal; otherwise, .
Executes code using a while using another to execute additional code in case of an exception.
A delegate to the code to try.
A delegate to the code to run if an exception occurs.
The data to pass to and .
Serves as a hash function for a particular object, and is suitable for use in algorithms and data structures that use hash codes, such as a hash table.
An object to retrieve the hash code for.
A hash code for the object identified by the parameter.
Boxes a value type.
The value type to be boxed.
A boxed copy of if it is a value class; otherwise, itself.
Slices the specified array using the specified range.
The array to slice.
An object that determines the portion of to include in the slice.
The type of the elements in the array.
The subarray defined by .
Returns an uninitialized instance of the system-provided type.
A system-provided type.
An object representing the uninitialized system-provided type instance.
Provides a fast way to initialize an array from data that is stored in a module.
The array to be initialized.
A field handle that specifies the location of the data used to initialize the array.
Returns a value that indicates whether the specified type is a reference type or a value type that contains references or by-refs.
The type.
if the given type is a reference type or a value type that contains references or by-refs; otherwise, .
Designates a body of code as a constrained execution region (CER).
Designates a body of code as a constrained execution region (CER) without performing any probing.
Provides a way for applications to dynamically prepare event delegates.
The event delegate to prepare.
Indicates that the specified delegate should be prepared for inclusion in a constrained execution region (CER).
The delegate type to prepare.
Prepares a method for inclusion in a constrained execution region (CER) with the specified instantiation.
A handle to the method to prepare.
The instantiation to pass to the method.
Prepares a method for inclusion in a constrained execution region (CER).
A handle to the method to prepare.
Probes for a certain amount of stack space to ensure that a stack overflow cannot happen within a subsequent block of code (assuming that your code uses only a finite and moderate amount of stack space). We recommend that you use a constrained execution region (CER) instead of this method.
Ensures that the type initializer (also known as a static constructor) for the specified type has been run.
A type handle that specifies the type for which a type initializer should be run.
The type initializer throws an exception.
Ensures a specified module constructor method has run by the time this method returns.
A handle that specifies the module constructor method to run.
The module constructor throws an exception.
Gets the size of an object of the given type.
The type to get the size of.
The passed-in type is not a valid type to get the size of.
The size of instances of the type.
Tries to ensure there is sufficient stack to execute the average .NET function.
if sufficient stack is present; otherwise, .
Gets the offset, in bytes, to the data in the given string.
The byte offset, from the start of the object to the first character in the string.
Represents a method to run when an exception occurs.
Data to pass to the delegate.
to express that an exception was thrown; otherwise, .
Represents a delegate to code that should be run in a try block.
Data to pass to the delegate.
Wraps an exception that does not derive from the class. This class cannot be inherited.
Initializes a new instance of the that contains the inner exception object.
The exception getting wrapped.
Sets the object with information about the exception.
The object that holds the serialized object data about the exception being thrown.
The object that contains contextual information about the source or destination.
The parameter is .
Gets the object that was wrapped by the object.
The object that was wrapped by the object.
Reserved for use by a compiler for tracking metadata. This attribute should not be used by developers in source code.
Initializes the attribute.
Indicates to the compiler that the .locals init flag should not be set in nested method headers when emitting to metadata.
Initializes a new instance of the class.
Indicates that a type or member is treated in a special way by the runtime or tools. This class cannot be inherited.
Initializes a new instance of the class.
Allows you to determine whether a method is a state machine method.
Initializes a new instance of the class.
The type object for the underlying state machine type that was generated by the compiler to implement the state machine method.
Returns the type object for the underlying state machine type that was generated by the compiler to implement the state machine method.
Gets the type object for the underlying state machine type that was generated by the compiler to implement the state machine method.
Deprecated. Freezes a string literal when creating native images using the Ngen.exe (Native Image Generator). This class cannot be inherited.
Initializes a new instance of the class.
Holds a reference to a value.
The type of the value that the references.
Represents the value that the references.
Initializes a new StrongBox that can receive a value when used in a reference call.
Initializes a new instance of the class by using the supplied value.
A value that the will reference.
Gets or sets the value that the references.
The value that the references.
Prevents the Ildasm.exe (IL Disassembler) from disassembling an assembly. This class cannot be inherited.
Initializes a new instance of the class.
Indicates that a switch expression that was non-exhaustive failed to match its input at runtime. The exception optionally contains an object representing the unmatched value.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with an unmatched switch value.
The switch value that does not match any switch cases.
Initializes a new instance of the class with the specified detailed description and the specified exception.
The message to display to the end user.
A reference to the inner exception that is the cause of this exception.
Initializes a new instance of the class with the specified message.
The message to display to the end user.
Sets the with the parameter name and additional exception information.
Stores the data that was being used to serialize or deserialize the object that the was serializing or deserializing.
Describes the source and destination of the stream that generated the exception, as well as a means for serialization to retain that context and an additional caller-defined context.
Gets the exception message.
The complete message string.
Gets the unmatched value associated with the exception.
The unmatched value causing the exception.
Provides an object that waits for the completion of an asynchronous task.
Ends the wait for the completion of the asynchronous task.
The object was not properly initialized.
The task was canceled.
The task completed in a state.
The task was canceled.
Sets the action to perform when the object stops waiting for the asynchronous task to complete.
The action to perform when the wait operation completes.
is .
The object was not properly initialized.
The awaiter was not properly initialized.
Schedules the continuation action for the asynchronous task that is associated with this awaiter.
The action to invoke when the await operation completes.
is .
The awaiter was not properly initialized.
Gets a value that indicates whether the asynchronous task has completed.
The object was not properly initialized.
if the task has completed; otherwise, .
Represents an object that waits for the completion of an asynchronous task and provides a parameter for the result.
The result for the task.
Ends the wait for the completion of the asynchronous task.
The object was not properly initialized.
The task was canceled.
The task completed in a state.
The task was canceled.
The result of the completed task.
Sets the action to perform when the object stops waiting for the asynchronous task to complete.
The action to perform when the wait operation completes.
is .
The object was not properly initialized.
Schedules the continuation action for the asynchronous task associated with this awaiter.
The action to invoke when the await operation completes.
is .
The awaiter was not properly initialized.
Gets a value that indicates whether the asynchronous task has completed.
The object was not properly initialized.
if the task has completed; otherwise, .
Indicates that the use of a value tuple on a member is meant to be treated as a tuple with element names.
Initializes a new instance of the class.
A string array that specifies, in a pre-order depth-first traversal of a type's construction, which value tuple occurrences are meant to carry element names.
Specifies, in a pre-order depth-first traversal of a type's construction, which value tuple elements are meant to carry element names.
An array that indicates which value tuple elements are meant to carry element names.
Specifies a source in another assembly.
Initializes a new instance of the class.
The source in another assembly.
is or empty.
Gets the assembly-qualified name of the source type.
The assembly-qualified name of the source type.
Specifies a destination in another assembly.
Initializes a new instance of the class specifying a destination .
The destination in another assembly.
Gets the destination in another assembly.
The destination in another assembly.
Contains generic, low-level functionality for manipulating managed and unmanaged pointers.
Adds an offset to the given managed pointer.
The managed pointer to add the offset to.
The offset to add.
The elemental type of the managed pointer.
A new managed pointer that reflects the addition of the specified offset to the source pointer.
Adds an element offset to the given managed pointer.
The managed pointer to add the offset to.
The offset to add.
The elemental type of the managed pointer.
A new managed pointer that reflects the addition of the specified offset to the source pointer.
Adds an element offset to the given managed pointer.
The managed pointer to add the offset to.
The offset to add.
The elemental type of the managed pointer.
A new managed pointer that reflects the addition of the specified offset to the source pointer.
Adds an element offset to the given unmanaged pointer.
The unmanaged pointer to add the offset to.
The offset to add.
The type whose size will be used as a scale factor for .
A new unmanaged pointer that reflects the addition of the specified offset to the source pointer.
Adds a byte offset to the given managed pointer.
The managed pointer to add the offset to.
The offset to add.
The elemental type of the managed pointer.
A new managed pointer that reflects the addition of the specified byte offset to the source pointer.
Adds a byte offset to the given managed pointer.
The managed pointer to add the offset to.
The offset to add.
The elemental type of the managed pointer.
A new managed pointer that reflects the addition of the specified byte offset to the source pointer.
Determines whether the specified managed pointers point to the same location.
The first managed pointer to compare.
The second managed pointer to compare.
The elemental type of the managed pointers.
if and point to the same location; otherwise, .
Casts the given object to the specified type.
The object to cast.
The type which the object will be cast to.
The original object, cast to the given type.
Reinterprets the given managed pointer as a new managed pointer to a value of type .
The managed pointer to reinterpret.
The type of managed pointer to reinterpret.
The desired type of the managed pointer.
A managed pointer to a value of type .
Converts a managed pointer into an unmanaged pointer.
The managed pointer to convert.
The elemental type of the managed pointer.
An unmanaged pointer corresponding to the original source pointer.
Reinterprets the given read-only reference as a mutable reference.
The read-only reference to reinterpret.
The underlying type of the reference.
A mutable reference to a value of type .
Converts an unmanaged pointer into a managed pointer to a value of type .
The unmanaged pointer to convert.
The elemental type of the managed pointer.
A managed pointer to a value of type .
Reinterprets the given value of type as a value of type .
The size of and are not the same.
A value of type .
Determines the byte offset from origin to target from the given managed pointers.
The managed pointer to the origin.
The managed pointer to the target.
The elemental type of the managed pointers.
The byte offset from origin to target, that is, - .
Copies a value of type to the given location.
The location to copy to.
A pointer to the value to copy.
The type of value to copy.
Copies a value of type to the given location.
The location to copy to.
A reference to the value to copy.
The type of value to copy.
Copies bytes from the source address to the destination address.
The managed pointer corresponding to the destination address to copy to.
The managed pointer corresponding to the source address to copy from.
The number of bytes to copy.
Copies bytes from the source address to the destination address.
The unmanaged pointer corresponding to the destination address to copy to.
The unmanaged pointer corresponding to the source address to copy from.
The number of bytes to copy.
Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses.
The managed pointer corresponding to the destination address to copy to.
The managed pointer corresponding to the source address to copy from.
The number of bytes to copy.
Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses.
The unmanaged pointer corresponding to the destination address to copy to.
The unmanaged pointer corresponding to the source address to copy from.
The number of bytes to copy.
Initializes a block of memory at the given location with a given initial value.
The managed pointer referencing the start of the memory block to initialize.
The value to initialize all bytes of the memory block to.
The number of bytes to initialize.
Initializes a block of memory at the given location with a given initial value.
The unmanaged pointer referencing the start of the memory block to initialize.
The value to initialize all bytes of the memory block to.
The number of bytes to initialize.
Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address.
The managed pointer referencing the start of the memory block to initialize.
The value to initialize all bytes of the memory block to.
The number of bytes to initialize.
Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address.
The unmanaged pointer referencing the start of the memory block to initialize.
The value to initialize all bytes of the memory block to.
The number of bytes to initialize.
Returns a value that indicates whether a specified managed pointer is greater than another specified managed pointer.
The first managed pointer to compare.
The second managed pointer to compare.
The elemental type of the managed pointer.
if is greater than ; otherwise, .
Determines whether the memory address referenced by is greater than or equal to the memory address referenced by .
Returns a value that indicates whether a specified managed pointer is less than another specified managed pointer.
The first managed pointer to compare.
The second managed pointer to compare.
The elemental type of the managed pointer.
if is less than ; otherwise, .
Determines whether the memory address referenced by is less than or equal to the memory address referenced by .
Determines if a given managed pointer to a value of type is a null reference.
The managed pointer to check.
The elemental type of the managed pointer.
if is a null reference; otherwise, .
Returns a null managed pointer to a value of type .
The elemental type of the managed pointer.
A null managed pointer to a value of type .
Reads a value of type from the given location.
An unmanaged pointer containing the address to read from.
The type of the value to read.
A value of type read from the given location.
Reads a value of type from the given address without assuming architecture dependent alignment of the source address.
A managed pointer containing the address to read from.
The type of the value to read.
A value of type read from the given address.
Reads a value of type from the given location without assuming architecture dependent alignment of the source address.
An unmanaged pointer containing the address to read from.
The type of the value to read.
A value of type read from the given location.
Returns the size of a value of the given type parameter.
The type whose size is to be retrieved.
The size, in bytes, of a value of type .
Bypasses definite assignment rules for a given reference.
The reference whose initialization should be skipped.
The type of the reference.
Subtracts an offset from the given managed pointer.
The managed pointer to subtract the offset from.
The offset to subtract.
The elemental type of the managed pointer.
A new managed pointer that reflects the subtraction of the specified offset from the source pointer.
Subtracts an element offset from the given managed pointer.
The managed pointer to subtract the offset from.
The offset to subtract.
The elemental type of the managed pointer.
A new managed pointer that reflects the subtraction of the specified offset from the source pointer.
Subtracts an element offset from the given managed pointer.
The managed pointer to subtract the offset from.
The offset to subtract.
The elemental type of the managed pointer.
A new managed pointer that reflects the subtraction of the specified offset from the source pointer.
Subtracts an element offset from the given unmanaged pointer.
The unmanaged pointer to subtract the offset from.
The offset to subtract.
The type whose size will be used as a scale factor for .
A new unmanaged pointer that reflects the subtraction of the specified offset from the source pointer.
Subtracts a byte offset from the given managed pointer.
The managed pointer to subtract the offset from.
The offset to subtract.
The elemental type of the managed pointer.
A new managed pointer that reflects the subtraction of the specified byte offset from the source pointer.
Subtracts a byte offset from the given managed pointer.
The managed pointer to subtract the offset from.
The offset to subtract.
The elemental type of the managed pointer.
A new managed pointer that reflects the subtraction of the specified byte offset from the source pointer.
Returns a to a boxed value.
The value to unbox.
The type to be unboxed.
is , and is a non-nullable value type.
is not a boxed value type.
-or-
is not a boxed .
cannot be found.
A to the boxed value .
Writes a value of type to the given location.
The location to write to.
The value to write.
The type of the value to write.
Writes a value of type to the given location without assuming architecture dependent alignment of the destination address.
A managed pointer containing the address to write to.
The value to write.
The type of the value to write.
Writes a value of type to the given location without assuming architecture dependent alignment of the destination address.
A managed pointer containing the address to write to.
The value to write.
The type of the value to write.
Provides access to an inaccessible member of a specific type.
Instantiates an providing access to a member of kind .
The kind of the target to which access is provided.
Gets the kind of member to which access is provided.
Gets or sets the name of the member to which access is provided.
Specifies the kind of target to which an is providing access.
Provide access to a constructor.
Provide access to a field.
Provide access to a method.
Provide access to a static field.
Provide access to a static method.
Provides access to an inaccessible type.
Instantiates an providing access to a type supplied by .
A fully qualified or partially qualified type name.
Fully qualified or partially qualified type name to target.
Specifies that a type contains an unmanaged array that might potentially overflow. This class cannot be inherited.
Initializes a new instance of the class.
Provides an awaiter for a .
Gets the result of the ValueTask.
Schedules the continuation action for this .
The continuation action for this .
Schedules the continuation action for this ValueTask.
The continuation action for this .
Gets a value that indicates whether the has completed.
if the ValueTask has completed; otherwise, .
Provides an awaiter for a .
The type of the result produced by the task.
Gets the result of the ValueTask.
The result of the completed task.
Schedules the continuation action for this .
The action to perform when the wait operation completes.
Schedules the continuation action for this ValueTask.
The continuation action for this .
Gets a value that indicates whether the has completed.
if the has completed; otherwise, .
Provides the context for waiting when asynchronously switching into a target environment.
Retrieves a object for this instance of the class.
The object that is used to monitor the completion of an asynchronous operation.
Provides an awaiter for switching into a target environment.
Ends the await operation.
Sets the continuation to invoke.
The action to invoke asynchronously.
is .
Posts the back to the current context.
The action to invoke asynchronously.
The argument is .
Gets a value that indicates whether a yield is not required.
Always , which indicates that a yield is always required for .
Specifies a method's behavior when called within a constrained execution region.
In the face of exceptional conditions, the method might fail. In this case, the method will report back to the calling method whether it succeeded or failed. The method must have a CER around the method body to ensure that it can report the return value.
The method, type, or assembly has no concept of a CER. It does not take advantage of CER guarantees.
In the face of exceptional conditions, the method is guaranteed to succeed. You should always construct a CER around the method that is called, even when it is called from within a non-CER region. A method is successful if it accomplishes what is intended. For example, marking with ReliabilityContractAttribute(Cer.Success) implies that when it is run under a CER, it always returns a count of the number of elements in the and it can never leave the internal fields in an undetermined state.
Specifies a reliability contract.
In the face of exceptional conditions, the common language runtime (CLR) makes no guarantees regarding state consistency in the current application domain.
In the face of exceptional conditions, the method is guaranteed to limit state corruption to the current instance.
In the face of exceptional conditions, the CLR makes no guarantees regarding state consistency; that is, the condition might corrupt the process.
In the face of exceptional conditions, the method is guaranteed not to corrupt state. (This does not guarantee that the method will never fail; however, it does guarantee that such a failure will never corrupt state.)
Ensures that all finalization code in derived classes is marked as critical.
Initializes a new instance of the class.
Releases all the resources used by the class.
Instructs the native image generation service to prepare a method for inclusion in a constrained execution region (CER).
Initializes a new instance of the class.
Defines a contract for reliability between the author of some code, and the developers who have a dependency on that code.
Initializes a new instance of the class with the specified guarantee and value.
One of the values.
One of the values.
Gets the value that determines the behavior of a method, type, or assembly when called under a Constrained Execution Region (CER).
One of the values.
Gets the value of the reliability contract.
One of the values.
Enables code to be run and aborted asynchronously.
Runs code that can be aborted asynchronously.
The delegate that represents the code to execute.
The cancellation token that can be used to abort execution.
The method is not supported on this platform.
The argument is .
The current thread is already running the method.
The execution was aborted.
Represents a dependent garbage-collection handle. The handle will conditionally keep a dependent object instance alive as long as a target object instance is alive as well, without representing a strong reference to the target instance.
Initializes a new instance of the struct with the specified arguments.
The target object instance to track.
The dependent object instance to associate with .
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets or sets the dependent object instance for the current handle.
is .
Gets a value indicating whether this instance was constructed with and has not yet been disposed.
if this instance was constructed with and has not yet been disposed; otherwise.
Gets or sets the target object instance for the current handle. The target can only be set to a value once the instance has been created. Doing so will cause to start returning as well, and to become eligible for collection even if the previous target is still alive.
is or the input value is not .
The target object instance for the current handle.
Gets the values of both and (if available) as an atomic operation.
That is, even if is concurrently set to , calling this method will either return for both target and dependent, or return both previous values.
If and were used sequentially in this scenario instead, it would be possible to sometimes successfully retrieve the previous target, but then fail to get the dependent.
is .
The values of and .
Represents an exception whose state is captured at a certain point in code.
Creates an object that represents the specified exception at the current point in code.
The exception whose state is captured, and which is represented by the returned object.
is .
An object that represents the specified exception at the current point in code.
Stores the current stack trace into the specified instance.
The unthrown exception.
The argument was .
The argument was previously thrown or previously had a stack trace stored into it.
The exception instance with the stack trace included.
Stores the provided stack trace into the specified instance.
The unthrown exception.
The stack trace string to persist within . This is normally acquired from the property of the remote exception instance.
The or argument was .
The argument was previously thrown or previously had a stack trace stored into it.
The exception instance.
Throws the exception that's represented by the current object, after restoring the state that was saved when the exception was captured.
Throws the source exception, maintaining the original Watson information and augmenting rather than replacing the original stack trace.
The exception whose state is captured, then rethrown.
Gets the exception that's represented by the current instance.
The exception that's represented by the current instance.
Raises the event.
The exception to pass to event handlers.
Sets a handler for unhandled exceptions.
is .
A handler has already been set.
Provides data for the notification event that is raised when a managed exception first occurs, before the common language runtime begins searching for event handlers.
Initializes a new instance of the class with a specified exception.
The exception that was just thrown by managed code, and that will be examined by the event.
The managed exception object that corresponds to the exception thrown in managed code.
The newly thrown exception.
Enables managed code to handle exceptions that indicate a corrupted process state.
Initializes a new instance of the class.
Indicates whether the next blocking garbage collection compacts the large object heap (LOH).
The large object heap (LOH) will be compacted during the next blocking generation 2 garbage collection.
The large object heap (LOH) is not compacted.
Adjusts the time that the garbage collector intrudes in your application.
Disables garbage collection concurrency and reclaims objects in a batch call. This is the most intrusive mode. This mode is designed for maximum throughput at the expense of responsiveness.
Enables garbage collection concurrency and reclaims objects while the application is running. This is the default mode for garbage collection on a workstation and is less intrusive than . It balances responsiveness with throughput. This mode is equivalent to garbage collection on a workstation that is concurrent.
Enables garbage collection that is more conservative in reclaiming objects. Full collections occur only if the system is under memory pressure, whereas generation 0 and generation 1 collections might occur more frequently. This mode is not available for the server garbage collector.
Indicates that garbage collection is suspended while the app is executing a critical path.
is a read-only value; that is, you cannot assign the value to the property. You specify the no GC region latency mode by calling the method and terminate it by calling the method.
Enables garbage collection that tries to minimize latency over an extended period. The collector tries to perform only generation 0, generation 1, and concurrent generation 2 collections. Full blocking collections may still occur if the system is under memory pressure.
Specifies the garbage collection settings for the current process.
Gets a value that indicates whether server garbage collection is enabled.
if server garbage collection is enabled; otherwise, .
Gets or sets a value that indicates whether a full blocking garbage collection compacts the large object heap (LOH).
One of the enumeration values that indicates whether a full blocking garbage collection compacts the LOH.
Gets or sets the current latency mode for garbage collection.
The property is being set to an invalid value.
-or-
The property cannot be set to .
One of the enumeration values that specifies the latency mode.
Indicates the processor architecture.
A 32-bit ARM processor architecture.
A 64-bit ARM processor architecture.
A 32-bit ARMv6 processor architecture.
A LoongArch64 processor architecture.
A PowerPC 64-bit (little-endian) processor architecture.
A RiscV 64-bit processor architecture.
The S390x platform architecture.
The WebAssembly platform.
An Intel-based 64-bit processor architecture.
An Intel-based 32-bit processor architecture.
Dictates which character set marshaled strings should use.
Marshal strings as multiple-byte character strings: the system default Windows (ANSI) code page on Windows, and UTF-8 on Unix.
Automatically marshal strings appropriately for the target operating system. See Charsets and marshaling for details. Although the common language runtime default is , languages may override this default. For example, by default C# and Visual Basic mark all methods and types as .
This value is obsolete and has the same behavior as .
Marshal strings as Unicode 2-byte character strings.
Controls accessibility of an individual managed type or member, or of all types within an assembly, to COM.
Initializes a new instance of the class.
to indicate that the type is visible to COM; otherwise, . The default is .
Gets a value that indicates whether the COM type is visible.
if the type is visible; otherwise, . The default value is .
Represents a wrapper class for handle resources.
Specifies the handle to be wrapped.
Initializes a new instance of the class with the specified invalid handle value.
The value of an invalid handle (usually 0 or -1).
The derived class resides in an assembly without unmanaged code access permission.
Marks the handle for releasing and freeing resources.
Releases all resources used by the .
Releases the unmanaged resources used by the class specifying whether to perform a normal dispose operation.
for a normal dispose operation; to finalize the handle.
Frees all resources associated with the handle.
When overridden in a derived class, executes the code required to free the handle.
if the handle is released successfully; otherwise, in the event of a catastrophic failure, . In this case, it generates a releaseHandleFailed Managed Debugging Assistant.
Sets the handle to the specified pre-existing handle.
The pre-existing handle to use.
Marks a handle as invalid.
Gets a value indicating whether the handle is closed.
if the handle is closed; otherwise, .
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
if the handle is valid; otherwise, .
The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class from serialization data.
The object that holds the serialized object data.
The contextual information about the source or destination.
is .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message and the HRESULT of the error.
The error message that specifies the reason for the exception.
The HRESULT of the error.
Initializes a new instance of the class with a specified error message.
The error message that specifies the reason for the exception.
Returns a string that contains the HRESULT of the error.
A string that represents the HRESULT.
Gets the of the error.
The of the error.
Indicates the physical position of fields within the unmanaged representation of a class or structure.
Initializes a new instance of the class with the offset in the structure to the beginning of the field.
The offset in bytes from the beginning of the structure to the beginning of the field.
Gets the offset from the beginning of the structure to the beginning of the field.
The offset from the beginning of the structure to the beginning of the field.
Provides a way to access a managed object from unmanaged memory.
Retrieves the address of object data in a handle.
The handle is any type other than .
The address of the pinned data object.
Allocates a handle of the specified type for the specified object.
The object that uses the .
One of the values, indicating the type of to create.
An instance with nonprimitive (non-blittable) members cannot be pinned.
A new of the specified type. This must be released with when it is no longer needed.
Allocates a handle for the specified object.
The object that uses the .
A new that protects the object from garbage collection. This must be released with when it is no longer needed.
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Indicates whether the current instance is equal to another instance of the same type.
An instance to compare with this instance.
if the current instance is equal to the other instance; otherwise, .
Releases a .
The handle was freed or never initialized.
Returns a new object created from a handle to a managed object.
An handle to a managed object to create a object from.
The value of the parameter is .
A new object that corresponds to the value parameter.
Returns an identifier for the current object.
An identifier for the current object.
Returns a value indicating whether two objects are equal.
A object to compare with the parameter.
A object to compare with the parameter.
if the and parameters are equal; otherwise, .
A is stored using an internal integer representation.
An that indicates the handle for which the conversion is required.
The stored object using an internal integer representation.
A is stored using an internal integer representation.
The for which the integer is required.
The integer value.
Returns a value indicating whether two objects are not equal.
A object to compare with the parameter.
A object to compare with the parameter.
if the and parameters are not equal; otherwise, .
Returns the internal integer representation of a object.
A object to retrieve an internal integer representation from.
An object that represents a object.
Gets a value indicating whether the handle is allocated.
if the handle is allocated; otherwise, .
Gets or sets the object this handle represents.
The handle was freed, or never initialized.
The object this handle represents.
Represents a strongly typed GC handle to a managed object.
The type of the object this tracks to.
Allocates a handle for the specified object.
The object that uses the .
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Indicates whether this instance and a specified object are equal.
The object to compare with the current instance.
true if obj and this instance are the same type and represent the same value; otherwise, false.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the other parameter; otherwise, false.
Returns a new object created from a handle to a managed object.
An handle to a managed object to create a object from.
A new object that corresponds to the value parameter.
Returns the hash code for the current instance.
A hash code for the current instance.
Returns the internal integer representation of a object.
A object to retrieve an internal integer representation from.
An object that represents a object.
Gets a value that indicates whether this handle has been allocated or not.
Gets or sets the object this handle represents.
The handle is not initialized or already disposed.
Provides extension methods to operate with GC handles.
Retrieves the address of the array data in .
The handle to retrieve the pointer from.
The handle is not initialized or is already disposed.
The address of the 0th array element of the pinned array, or if the handle doesn't point to any object.
Retrieves the address of the string data in .
The handle to retrieve the pointer from.
The handle is not initialized or is already disposed.
The address of the 0th character of the pinned , or if the handle doesn't point to any object.
Represents the types of handles the type can allocate.
This handle type represents an opaque handle, meaning you cannot resolve the address of the pinned object through the handle. You can use this type to track an object and prevent its collection by the garbage collector. This enumeration member is useful when an unmanaged client holds the only reference, which is undetectable from the garbage collector, to a managed object.
This handle type is similar to , but allows the address of the pinned object to be taken. This prevents the garbage collector from moving the object and hence undermines the efficiency of the garbage collector. Use the method to free the allocated handle as soon as possible.
This handle type is used to track an object, but allow it to be collected. When an object is collected, the contents of the are zeroed. references are zeroed before the finalizer runs, so even if the finalizer resurrects the object, the reference is still zeroed.
This handle type is similar to , but the handle is not zeroed if the object is resurrected during finalization.
Indicates that data should be marshaled from the caller to the callee, but not back to the caller.
Initializes a new instance of the class.
Controls the layout of an object when exported to unmanaged code.
The runtime automatically chooses an appropriate layout for the members of an object in unmanaged memory. Objects defined with this enumeration member cannot be exposed outside of managed code. Attempting to do so generates an exception.
The precise position of each member of an object in unmanaged memory is explicitly controlled, subject to the setting of the field. Each member must use the to indicate the position of that field within the type.
The members of the object are laid out sequentially, in the order in which they appear when exported to unmanaged memory. The members are laid out according to the packing specified in , and can be noncontiguous.
Specifies that this marshaller entry-point type is a contiguous collection marshaller.
Constructs a default instance of the attribute.
Indicates an entry point type for defining a marshaller.
Initializes a new instance of the class.
The managed type to marshal.
The marshalling mode this attribute applies to.
The type used for marshalling.
Gets the managed type to marshal.
Gets the type used for marshalling.
Gets the marshalling mode this attribute applies to.
Placeholder type for a generic parameter.
Represents the different marshalling modes.
All modes. A marshaller specified with this mode will be used if there's no specific marshaller for a given usage mode.
Elements of arrays passed with in or by-value in interop scenarios.
Elements of arrays passed with out or passed by-value with only in interop scenarios.
Elements of arrays passed with ref or passed by-value with both and in interop scenarios.
By-value and in parameters in managed-to-unmanaged scenarios, like P/Invoke.
out parameters in managed-to-unmanaged scenarios, like P/Invoke.
ref parameters in managed-to-unmanaged scenarios, like P/Invoke.
By-value and in parameters in unmanaged-to-managed scenarios, like Reverse P/Invoke.
out parameters in unmanaged-to-managed scenarios, like Reverse P/Invoke.
ref parameters in unmanaged-to-managed scenarios, like Reverse P/Invoke.
Attribute used to provide a default custom marshaller type for a given managed type.
Initializes a new instance of that provides a native marshalling type.
The marshaller type used to convert the attributed type from managed to native code.
Gets the marshaller type used to convert the attributed type from managed to native code.
Supports marshalling a from managed value to a contiguous native array of the unmanaged values of the elements.
The managed element type of the span.
The unmanaged type for the elements of the span.
Supports marshalling from managed into unmanaged in a call from managed code to unmanaged code.
Frees resources.
Initializes the marshaller.
The span to be marshalled.
The buffer that may be used for marshalling.
Returns a span that points to the memory where the managed values of the array are stored.
A span over managed values of the array.
Returns a reference to the marshalled array.
A reference that can be pinned and directly passed to unmanaged code.
Pins the managed span to a pointer to pass directly to unmanaged code.
The managed span.
A reference that can be pinned and directly passed to unmanaged code.
Returns a span that points to the memory where the unmanaged values of the array should be stored.
A span where unmanaged values of the array should be stored.
Returns the unmanaged value representing the array.
The unmanaged value representing the array.
Gets the size of the caller-allocated buffer to allocate.
Supports marshalling from unmanaged to managed in a call from managed code to unmanaged code. For example, return values and out parameters in P/Invoke methods.
Frees resources.
Initializes the marshaller.
A pointer to the array to be unmarshalled from native to managed.
Returns a span that points to the memory where the managed elements of the array should be stored.
The number of elements in the array.
A span where managed values of the array should be stored.
Returns a span that points to the memory where the unmanaged elements of the array are stored.
The number of elements in the array.
A span over unmanaged values of the array.
Returns the managed value representing the native array.
A span over managed values of the array.
Supports marshalling from managed into unmanaged in a call from unmanaged code to managed code.
Allocates the space to store the unmanaged elements.
The managed span.
The number of elements in the span.
A pointer to the block of memory for the unmanaged elements.
Gets a span of the managed collection elements.
The managed collection.
A span of the managed collection elements.
Gets a span of the space where the unmanaged collection elements should be stored.
The pointer to the block of memory for the unmanaged elements.
The number of elements that will be copied into the memory block.
A span over the unmanaged memory that can contain the specified number of elements.
Marshals -derived types following the lifetime rules for objects.
The -derived type.
Marshals a as its underlying handle value as an parameter or a parameter passed by value in managed-to-unmanaged scenarios like P/Invokes.
Releases any references that are keeping the managed handle alive.
Initializes the marshaller from a managed handle.
The managed handle.
Gets the unmanaged handle.
The unmanaged handle.
Marshals a as its underlying handle value as an parameter in managed-to-unmanaged scenarios like P/Invokes.
Initializes a new instance of in a default state.
Frees any resources and reference counts owned by the marshaller.
Initializes the marshaller from an unmanaged handle.
The unmanaged handle.
Retrieves the managed handle from the marshaller.
The managed handle.
Marshals a as its underlying handle value as a parameter in managed-to-unmanaged scenarios like P/Invokes.
Initializes a new instance of in a default state.
Frees any resources and reference counts owned by the marshaller.
Initializes the marshaller from a managed handle.
The managed handle
Initializes the marshaller from an unmanaged handle.
The unmanaged handle.
Notifies the marshaller that the native call has been invoked.
Retrieves the managed handle from the marshaller.
The managed handle.
Retrieves the unmanaged handle.
The unmanaged handle
Supports marshalling a from managed value to a contiguous native array of the unmanaged values of the elements.
The managed element type of the span.
The unmanaged type for the elements of the span.
Allocates space to store the managed elements.
The unmanaged value.
The number of elements in the unmanaged collection.
A span over enough memory to contain elements.
Allocates the space to store the unmanaged elements.
The managed span.
The number of elements in the span.
A pointer to the block of memory for the unmanaged elements.
Frees the allocated unmanaged memory.
A pointer to the allocated unmanaged memory.
Gets a span of the space where the managed collection elements should be stored.
A span over the space to store the managed elements.
A span over the managed memory that can contain the specified number of elements.
Gets a span of the managed collection elements.
The managed collection.
A span of the managed collection elements.
Gets a span of the space where the unmanaged collection elements should be stored.
The pointer to the block of memory for the unmanaged elements.
The number of elements that will be copied into the memory block.
A span over the unmanaged memory that can contain the specified number of elements.
Gets a span of the native collection elements.
The unmanaged value.
The number of elements in the unmanaged collection.
A span over the native collection elements.
Supports marshalling from managed into unmanaged in a call from managed code to unmanaged code.
Frees resources.
Initializes the marshaller.
The span to be marshalled.
The buffer that may be used for marshalling.
Gets a span that points to the memory where the managed values of the array are stored.
A span over the managed values of the array.
Returns a reference to the marshalled array.
A reference that can be pinned and directly passed to unmanaged code.
Gets a pinnable reference to the managed span.
The managed span.
A reference that can be pinned and directly passed to unmanaged code.
Returns a span that points to the memory where the unmanaged values of the array should be stored.
A span where unmanaged values of the array should be stored.
Returns the unmanaged value representing the array.
The unmanaged value representing the array.
Gets the size of the caller-allocated buffer to allocate.
Provides methods to interoperate with , , , and .
Casts a of one primitive type, , to a .
The source slice to convert.
The type of items in the read-only span.
contains managed object references.
The property of the new would exceed Int32.MaxValue
A read-only span of type .
Casts a of one primitive type, , to a .
The source slice to convert.
The type of items in the span.
contains managed object references.
The property of the new would exceed Int32.MaxValue
A span of type .
Creates a instance from a .
The read-only memory buffer.
The type of items in the read-only memory buffer.
A memory block that represents the same memory as the .
Reinterprets a read-only span of bytes as a read-only reference to the structure of type .
The read-only span to reinterpret.
The type of the returned reference.
contains managed object references.
The read-only reference to the structure of type .
Reinterprets a span of bytes as a reference to the structure of type .
The span to reinterpret.
The type of the returned reference.
contains managed object references.
The reference to the structure of type .
Casts a read-only span of one primitive type to a read-only span of another primitive type.
The source slice to convert.
The type of the source span.
The type of the target span.
or contains managed object references.
The property of the new would exceed .
The converted read-only span.
Casts a span of one primitive type to a span of another primitive type.
The source slice to convert.
The type of the source span.
The type of the target span.
or contains managed object references.
The property of the new would exceed .
The converted span.
Creates a new memory buffer over the portion of the pre-pinned target array beginning at the index and consisting of items.
The pre-pinned source array.
The index of at which to begin the memory block.
The number of items to include in the memory block.
The type of the array.
is covariant, and the type of is not exactly .
The or the end index is not in the range of 0 to .
A block of memory over the specified elements of . If is , or if and are 0, the method returns a instance of zero.
Creates a new read-only span over a portion of a regular managed object.
A reference to data.
The number of elements that contains.
The type of the data items.
A read-only span.
Creates a new read-only span for a null-terminated sequence of bytes.
The pointer to the null-terminated sequence of bytes.
The property of the new would exceed Int32.MaxValue.
A read-only span representing the specified sequence of bytes, or an empty span if the pointer is .
Creates a new read-only span for a null-terminated string.
The pointer to the null-terminated string of characters.
The property of the new would exceed Int32.MaxValue.
A read-only span representing the specified null-terminated string, or an empty span if the pointer is .
Creates a new span over a portion of a regular managed object.
A reference to data.
The number of elements that contains.
The type of the data items.
A span.
Returns a reference to the 0th element of . If the array is empty, returns a reference to where the 0th element would have been stored. Such a reference may be used for pinning but must never be dereferenced.
The array to analyze.
is .
A reference to the 0th element of .
Returns a reference to the 0th element of . If the array is empty, returns a reference to where the 0th element would have been stored. Such a reference may be used for pinning but must never be dereferenced.
The array to analyze.
The type of the array elements.
is .
Reference to the 0th element in .
Returns a reference to the element of the read-only span at index 0.
The read-only span from which the reference is retrieved.
The type of items in the span.
A reference to the element at index 0.
Returns a reference to the element of the span at index 0.
The span from which the reference is retrieved.
The type of items in the span.
A reference to the element at index 0.
Reads a structure of type out of a read-only span of bytes.
A read-only span.
The type of the item to retrieve from the read-only span.
contains managed object references.
is smaller than 's length in bytes.
The structure retrieved from the read-only span.
Creates an view of the given read-only memory buffer.
A read-only memory buffer.
The type of the items in the read-only memory buffer.
An enumerable view of .
Tries to get an array segment from the underlying memory buffer. The return value indicates the success of the operation.
A read-only memory buffer.
When this method returns, contains the array segment retrieved from the underlying read-only memory buffer. If the method fails, the method returns a default array segment.
The type of items in the read-only memory buffer.
if the method call succeeds; otherwise.
Tries to retrieve a , start index, and length from the underlying read-only memory buffer.
The read-only memory buffer for which to get the memory manager.
When the method returns, the manager of .
When the method returns, the offset from the start of the that the represents.
When the method returns, the length of the that the represents.
The type of the items in the read-only memory buffer.
The type of the to retrieve.
if the method succeeded; otherwise, .
Tries to retrieve a from the underlying read-only memory buffer.
The read-only memory buffer for which to get the memory manager.
When the method returns, the manager of .
The type of the items in the read-only memory buffer.
The type of the to retrieve.
if the method retrieved the memory manager; otherwise, .
Tries to get the underlying string from a .
Read-only memory containing a block of characters.
When the method returns, the string contained in the memory buffer.
The starting location in .
The number of characters in .
if the method successfully retrieves the underlying string; otherwise, .
Tries to read a structure of type from a read-only span of bytes.
A read-only span of bytes.
When the method returns, an instance of .
The type of the structure to retrieve.
contains managed object references.
if the method succeeds in retrieving an instance of the structure; otherwise, .
Tries to write a structure of type into a span of bytes.
The span of bytes to contain the structure.
The structure to be written to the span.
The type of the structure.
contains managed object references.
if the write operation succeeded; otherwise, . The method returns if the span is too small to contain .
Writes a structure of type into a span of bytes.
The span of bytes to contain the structure.
The structure to be written to the span.
The type of the structure.
contains managed object references.
is too small to contain .
Represents an operating system platform.
Creates a new instance.
The name of the platform that this instance represents.
is an empty string.
is .
An object that represents the operating system.
Determines whether the current instance is equal to the specified object.
if is a instance and its name is the same as the current object; otherwise, .
if is a instance and its name is the same as the current object.
Determines whether the current instance and the specified instance are equal.
The object to compare with the current instance.
if the current instance and are equal; otherwise, .
Returns the hash code for this instance.
The hash code for this instance.
Determines whether two objects are equal.
The first object to compare.
The second object to compare.
if and are equal; otherwise, .
Determines whether two instances are unequal.
The first object to compare.
The second object to compare.
if and are unequal; otherwise, .
Returns the string representation of this instance.
A string that represents this instance.
Gets an object that represents the FreeBSD operating system.
An object that represents the FreeBSD operating system.
Gets an object that represents the Linux operating system.
An object that represents the Linux operating system.
Gets an object that represents the OSX operating system.
An object that represents the OSX operating system.
Gets an object that represents the Windows operating system.
An object that represents the Windows operating system.
Indicates that data should be marshaled from callee back to caller.
Initializes a new instance of the class.
Represents a strongly typed GC handle to a managed object.
The type of the object this tracks to.
Allocates a handle for the specified object.
The object that uses the .
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Indicates whether this instance and a specified object are equal.
The object to compare with the current instance.
true if obj and this instance are the same type and represent the same value; otherwise, false.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the other parameter; otherwise, false.
Returns a new object created from a handle to a managed object.
An handle to a managed object to create a object from.
A new object that corresponds to the value parameter.
Retrieves the address of object data in a .
The handle is not initialized or is already disposed.
The address of first instance field of the pinned object, or if the handle doesn't point to any object.
Returns the hash code for the current instance.
A hash code for the current instance.
Returns the internal integer representation of a object.
A object to retrieve an internal integer representation from.
An object that represents a object.
Gets a value that indicates whether this handle has been allocated or not.
Gets or sets the object this handle represents.
The handle is not initialized or is already disposed.
Provides information about the .NET runtime installation.
Indicates whether the current application is running on the specified platform.
A platform.
if the current app is running on the specified platform; otherwise, .
Gets the name of the .NET installation on which an app is running.
The name of the .NET installation on which the app is running.
Gets the platform architecture on which the current app is running.
The platform architecture on which the current app is running.
Gets a string that describes the operating system on which the app is running.
An opaque string that describes the operating system on which the app is running.
Gets the process architecture of the currently running app.
The process architecture of the currently running app.
Gets the platform for which the runtime was built (or on which an app is running).
An opaque string that identifies the platform for which the runtime was built (or on which an app is running).
Provides a controlled memory buffer that can be used for reading and writing. Attempts to access memory outside the controlled buffer (underruns and overruns) raise exceptions.
Creates a new instance of the class, and specifies whether the buffer handle is to be reliably released.
to reliably release the handle during the finalization phase; to prevent reliable release (not recommended).
Obtains a pointer from a object for a block of memory.
A byte pointer, passed by reference, to receive the pointer from within the object. You must set this pointer to before you call this method.
The method has not been called.
Specifies the allocation size of the memory buffer by using the specified number of elements and element size. You must call this method before you use the instance.
The number of elements in the buffer.
The size of each element in the buffer.
is less than zero.
-or-
is less than zero.
-or-
multiplied by is greater than the available address space.
Defines the allocation size of the memory region in bytes. You must call this method before you use the instance.
The number of bytes in the buffer.
is less than zero.
-or-
is greater than the available address space.
Defines the allocation size of the memory region by specifying the number of value types. You must call this method before you use the instance.
The number of elements of the value type to allocate memory for.
The value type to allocate memory for.
is less than zero.
-or-
multiplied by the size of each element is greater than the available address space.
Reads a value type from memory at the specified offset.
The location from which to read the value type. You may have to consider alignment issues.
The value type to read.
The method has not been called.
The value type that was read from memory.
Reads the specified number of value types from memory starting at the offset, and writes them into an array starting at the index.
The location from which to start reading.
The output array to write to.
The location in the output array to begin writing to.
The number of value types to read from the input array and to write to the output array.
The value type to read.
is less than zero.
-or-
is less than zero.
is .
The length of the array minus the index is less than .
The method has not been called.
Reads value types from memory starting at the offset, and writes them into a span. The number of value types that will be read is determined by the length of the span.
The location from which to start reading.
The output span to write to.
The value type to read.
Releases a pointer that was obtained by the method.
The method has not been called.
Writes a value type to memory at the given location.
The location at which to start writing. You may have to consider alignment issues.
The value to write.
The value type to write.
The method has not been called.
Writes the specified number of value types to a memory location by reading bytes starting from the specified location in the input array.
The location in memory to write to.
The input array.
The offset in the array to start reading from.
The number of value types to write.
The value type to write.
is .
or is less than zero.
The length of the input array minus is less than .
The method has not been called.
Writes the value types from a read-only span to a memory location.
The location in memory to write to.
The input span.
The value type to write.
Gets the size of the buffer, in bytes.
The method has not been called.
The number of bytes in the memory buffer.
Represents a wrapper class for operating system handles. This class must be inherited.
Specifies the handle to be wrapped.
Initializes a new instance of the class with the specified invalid handle value.
The value of an invalid handle (usually 0 or -1). Your implementation of should return for this value.
to reliably let release the handle during the finalization phase; otherwise, (not recommended).
The derived class resides in an assembly without unmanaged code access permission.
Marks the handle for releasing and freeing resources.
Manually increments the reference counter on instances.
if the reference counter was successfully incremented; otherwise, .
The SafeHandle has been disposed.
Returns the value of the field.
An representing the value of the field. If the handle has been marked invalid with , this method still returns the original handle value, which can be a stale value.
Manually decrements the reference counter on a instance.
Releases all resources used by the class.
Releases the unmanaged resources used by the class specifying whether to perform a normal dispose operation.
for a normal dispose operation; to finalize the handle.
Frees all resources associated with the handle.
When overridden in a derived class, executes the code required to free the handle.
if the handle is released successfully; otherwise, in the event of a catastrophic failure, . In this case, it generates a releaseHandleFailed Managed Debugging Assistant.
Sets the handle to the specified pre-existing handle.
The pre-existing handle to use.
Marks a handle as no longer used.
Gets a value indicating whether the handle is closed.
if the handle is closed; otherwise, .
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
if the handle value is invalid; otherwise, .
Lets you control the physical layout of the data fields of a class or structure in memory.
Indicates whether string data fields within the class should be marshaled as or by default.
Controls the alignment of data fields of a class or structure in memory.
Indicates the absolute size of the class or structure.
Initializes a new instance of the class with the specified enumeration member.
A 16-bit integer that represents one of the values that specifies how the class or structure should be arranged.
Initializes a new instance of the class with the specified enumeration member.
One of the enumeration values that specifies how the class or structure should be arranged.
Gets the value that specifies how the class or structure is arranged.
One of the enumeration values that specifies how the class or structure is arranged.
Indicates that a garbage collection transition should be skipped when an unmanaged function call is made.
Instance constructor.
Represents the Swift error context, indicating that the argument is the error context.
Creates a new instance of the SwiftError struct with the specified pointer value.
The pointer value representing the error context.
Gets the pointer of the error context.
Represents the Swift return buffer context.
Creates a new instance of the SwiftIndirectResult struct with the specified pointer value.
The pointer value representing return buffer context.
Gets the pointer of the return buffer register.
Represents the Swift 'self' context, indicating that the argument is the self context.
Creates a new instance of the SwiftSelf struct with the specified pointer value.
The pointer value representing the self context.
Gets the pointer of the self context.
Represents the Swift 'self' context when the argument is Swift frozen struct T, which is either enregistered into multiple registers, or passed by reference in the 'self' register.
The type of the frozen struct to pass in the 'self' context.
Creates a new instance of the SwiftSelf struct with the specified value.
The value representing the self context.
Gets the value representing the Swift frozen struct.
Identifies how to marshal parameters or fields to unmanaged code.
An ANSI character string that is a length-prefixed single byte. You can use this member on the data type.
A dynamic type that determines the type of an object at run time and marshals the object as that type. This member is valid for platform invoke methods only.
A 4-byte Boolean value ( != 0, = 0). This is the Win32 BOOL type.
A Unicode character string that is a length-prefixed double byte. You can use this member, which is the default string in COM, on the data type.
When the property is set to , the field must be set to indicate the number of elements in the array. The field can optionally contain the of the array elements when it is necessary to differentiate among string types. You can use this only on an array that whose elements appear as fields in a structure.
Used for in-line, fixed-length character arrays that appear within a structure. types behave like C-style, fixed-size strings inside a structure (for example, char s[5]). The character type used with is determined by the argument of the attribute applied to the containing structure. Always use the field to indicate the size of the array.
A currency type. Used on a to marshal the decimal value as a COM currency type instead of as a .
Specifies the custom marshaler class when used with the or field. The field can be used to pass additional information to the custom marshaler. You can use this member on any reference type. This member is valid for parameters and return values only. It cannot be used on fields.
A native type that is associated with an or an and that causes the parameter to be exported as an HRESULT in the exported type library.
An integer that can be used as a C-style function pointer. You can use this member on a data type or on a type that inherits from a .
A Windows Runtime string. You can use this member on the data type. Built-in support for WinRT was removed in .NET 5. See Formerly built-in supported types for workaround.
A 1-byte signed integer. You can use this member to transform a Boolean value into a 1-byte, C-style ( = 1, = 0).
A 2-byte signed integer.
A 4-byte signed integer.
An 8-byte signed integer.
A COM pointer ( in Microsoft Visual Basic 6.0).
A Windows Runtime interface pointer. You can use this member on the data type. Built-in support for WinRT was removed in .NET 5.
A COM interface pointer. The of the interface is obtained from the class metadata. Use this member to specify the exact interface type or the default interface type if you apply it to a class. This member produces the same behavior as when you apply it to the data type.
A COM pointer. You can use this member on the data type.
A pointer to the first element of a C-style array. When marshaling from managed to unmanaged code, the length of the array is determined by the length of the managed array. When marshaling from unmanaged to managed code, the length of the array is determined from the and fields, optionally followed by the unmanaged type of the elements within the array when it is necessary to differentiate among string types.
A single byte, null-terminated ANSI character string. You can use this member on the and data types.
A pointer to a C-style structure that you use to marshal managed formatted classes. This member is valid for platform invoke methods only.
A Unicode character string. This value is supported only for platform invoke and not for COM interop, because exporting a string of type is not supported.
A pointer to a UTF-8 encoded string.
A 2-byte, null-terminated Unicode character string. You cannot use the value with an unmanaged string unless the string was created by using the unmanaged function.
A 4-byte floating-point number.
An 8-byte floating-point number.
A , which is a self-describing array that carries the type, rank, and bounds of the associated array data. You can use this member with the field to override the default element type.
A VARIANT, which is used to marshal managed formatted classes and value types.
A platform-dependent, signed integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows.
A platform-dependent, unsigned integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows.
A length-prefixed, Unicode string. You rarely use this BSTR-like member.
A 1-byte unsigned integer.
A 2-byte unsigned integer.
A 4-byte unsigned integer.
An 8-byte unsigned integer.
A 2-byte, OLE-defined VARIANT_BOOL type ( = -1, = 0).
A value that enables Visual Basic to change a string in unmanaged code and have the results reflected in managed code. This value is only supported for platform invoke.
Represents a strongly typed GC handle to a managed object.
The type of the object this tracks to.
Initializes a new instance of .
The object that uses the .
to track the object when it's resurrected in the finalizer; otherwise, .
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Indicates whether this instance and a specified object are equal.
The object to compare with the current instance.
true if obj and this instance are the same type and represent the same value; otherwise, false.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the other parameter; otherwise, false.
Returns a new object created from a handle to a managed object.
An handle to a managed object to create a object from.
A new object that corresponds to the value parameter.
Returns the hash code for the current instance.
A hash code for the current instance.
Sets the object this handle represents.
The handle is not initialized or is already disposed.
Returns the internal integer representation of a object.
A object to retrieve an internal integer representation from.
An object that represents a object.
Tries to retrieve the target object that is referenced by the current object.
When this method returns, contains the target object, if it is available.
The handle is not initialized or is already disposed.
if the target was retrieved; otherwise, .
Gets a value that indicates whether this handle has been allocated or not.
Provides information about the Just In Time compiler. This class cannot be inherited.
Gets the amount of time the JIT Compiler has spent compiling methods. If is , then this value is scoped to the current thread; otherwise, this is a global value.
to return a value specific to the current thread; to return a global value. The default value is .
The amount of time the JIT Compiler has spent compiling methods.
Gets the number of bytes of intermediate language that have been compiled. If is , then this value is scoped to the current thread; otherwise, this is a global value.
to return a value specific to the current thread; to return a global value. The default value is .
The number of bytes of IL the JIT has compiled.
Gets the number of methods that have been compiled. If is , then this value is scoped to the current thread; otherwise, this is a global value.
to return a value specific to the current thread; to return a global value. The default value is .
The number of methods the JIT has compiled.
Checks for sufficient memory resources before executing an operation. This class cannot be inherited.
Initializes a new instance of the class, specifying the amount of memory required for successful execution.
The required memory size, in megabytes. This must be a positive value.
The specified memory size is negative or 0.
There is insufficient memory to begin execution of the code protected by the gate.
Releases all resources used by the .
Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the object.
Improves the startup performance of application domains in applications that require the just-in-time (JIT) compiler by performing background compilation of methods that are likely to be executed, based on profiles created during previous compilations.
Enables optimization profiling for the current application domain, and sets the folder where the optimization profile files are stored. On a single-core computer, the method is ignored.
The full path to the folder where profile files are stored for the current application domain.
Starts just-in-time (JIT) compilation of the methods that were previously recorded in the specified profile file, on a background thread. Starts the process of recording current method use, which later overwrites the specified profile file.
The file name of the profile to use.
Wraps marshal-by-value object references, allowing them to be returned through an indirection.
Initializes an instance of the class, wrapping the given object .
The object that is wrapped by the new .
Returns the wrapped object.
The wrapped object.
Indicates that a class is to be notified when deserialization of the entire object graph has been completed. This interface is not called when you deserialize with .
Runs when the entire object graph has been deserialized.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
Provides the connection between an instance of and the formatter-provided class best suited to parse the data inside the .
Converts a value to the given .
The object to be converted.
The into which is to be converted.
The converted .
Converts a value to the given .
The object to be converted.
The into which is to be converted.
The converted .
Converts a value to a .
The object to be converted.
The converted .
Converts a value to an 8-bit unsigned integer.
The object to be converted.
The converted .
Converts a value to a Unicode character.
The object to be converted.
The converted .
Converts a value to a .
The object to be converted.
The converted .
Converts a value to a .
The object to be converted.
The converted .
Converts a value to a double-precision floating-point number.
The object to be converted.
The converted .
Converts a value to a 16-bit signed integer.
The object to be converted.
The converted .
Converts a value to a 32-bit signed integer.
The object to be converted.
The converted .
Converts a value to a 64-bit signed integer.
The object to be converted.
The converted .
Converts a value to a .
The object to be converted.
The converted .
Converts a value to a single-precision floating-point number.
The object to be converted.
The converted .
Converts a value to a .
The object to be converted.
The converted .
Converts a value to a 16-bit unsigned integer.
The object to be converted.
The converted .
Converts a value to a 32-bit unsigned integer.
The object to be converted.
The converted .
Converts a value to a 64-bit unsigned integer.
The object to be converted.
The converted .
Indicates that the current interface implementer is a reference to another object.
Returns the real object that should be deserialized, rather than the object that the serialized stream specifies.
The from which the current object is deserialized.
The caller does not have the required permission. The call will not work on a medium trusted server.
The actual object that is put into the graph.
Enables serialization of custom exception data in security-transparent code.
This method is called when the instance is deserialized.
An object that contains the state of the instance.
Allows an object to control its own serialization and deserialization through binary and XML serialization.
Populates a with the data needed to serialize the target object.
The to populate with data.
The destination (see ) for this serialization.
The caller does not have the required permission.
When applied to a method, specifies that the method is called immediately after deserialization of an object in an object graph. The order of deserialization relative to other objects in the graph is non-deterministic.
Initializes a new instance of the class.
When applied to a method, specifies that the method is called during deserialization of an object in an object graph. The order of deserialization relative to other objects in the graph is non-deterministic.
Initializes a new instance of the class.
When applied to a method, specifies that the method is called after serialization of an object in an object graph. The order of serialization relative to other objects in the graph is non-deterministic.
Initializes a new instance of the class.
When applied to a method, specifies that the method is called during serialization of an object in an object graph. The order of serialization relative to other objects in the graph is non-deterministic.
Initializes a new instance of the class.
Specifies that a field can be missing from a serialization stream so that the and the does not throw an exception.
Initializes a new instance of the class.
Gets or sets a version number to indicate when the optional field was added.
The version of the .
Provides data for the event.
Stores the state of the exception.
A state object that is serialized with the instance.
Gets or sets an object that describes the source and destination of a serialized stream.
An object that describes the source and destination of a serialized stream.
Holds the value, , and name of a serialized object.
Gets the name of the object.
The name of the object.
Gets the of the object.
The of the object.
Gets the value contained in the object.
The value contained in the object.
The exception thrown when an error occurs during serialization or deserialization.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class from serialized data.
The serialization information object holding the serialized object data in the name-value form.
The contextual information about the source or destination of the exception.
The parameter is .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified message.
Indicates the reason why the exception occurred.
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Initializes a new instance of the class.
The of the object to serialize.
The used during deserialization.
Indicates whether the object requires same token in partial trust.
Creates a new instance of the class.
The of the object to serialize.
The used during deserialization.
or is .
Adds a Boolean value into the store.
The name to associate with the value, so it can be deserialized later.
The Boolean value to serialize.
The parameter is .
A value has already been associated with .
Adds an 8-bit unsigned integer value into the store.
The name to associate with the value, so it can be deserialized later.
The byte value to serialize.
The parameter is .
A value has already been associated with .
Adds a Unicode character value into the store.
The name to associate with the value, so it can be deserialized later.
The character value to serialize.
The parameter is .
A value has already been associated with .
Adds a value into the store.
The name to associate with the value, so it can be deserialized later.
The value to serialize.
The parameter is .
A value has already been associated with .
Adds a decimal value into the store.
The name to associate with the value, so it can be deserialized later.
The decimal value to serialize.
If The parameter is .
If a value has already been associated with .
Adds a double-precision floating-point value into the store.
The name to associate with the value, so it can be deserialized later.
The double value to serialize.
The parameter is .
A value has already been associated with .
Adds a 16-bit signed integer value into the store.
The name to associate with the value, so it can be deserialized later.
The value to serialize.
The parameter is .
A value has already been associated with .
Adds a 32-bit signed integer value into the store.
The name to associate with the value, so it can be deserialized later.
The value to serialize.
The parameter is .
A value has already been associated with .
Adds a 64-bit signed integer value into the store.
The name to associate with the value, so it can be deserialized later.
The Int64 value to serialize.
The parameter is .
A value has already been associated with .
Adds a value into the store, where is associated with and is serialized as being of .
The name to associate with the value, so it can be deserialized later.
The value to be serialized. Any children of this object will automatically be serialized.
The to associate with the current object. This parameter must always be the type of the object itself or of one of its base classes.
If or is .
A value has already been associated with .
Adds the specified object into the store, where it is associated with a specified name.
The name to associate with the value, so it can be deserialized later.
The value to be serialized. Any children of this object will automatically be serialized.
is .
A value has already been associated with .
Adds an 8-bit signed integer value into the store.
The name to associate with the value, so it can be deserialized later.
The value to serialize.
The parameter is .
A value has already been associated with .
Adds a single-precision floating-point value into the store.
The name to associate with the value, so it can be deserialized later.
The single value to serialize.
The parameter is .
A value has already been associated with .
Adds a 16-bit unsigned integer value into the store.
The name to associate with the value, so it can be deserialized later.
The value to serialize.
The parameter is .
A value has already been associated with .
Adds a 32-bit unsigned integer value into the store.
The name to associate with the value, so it can be deserialized later.
The value to serialize.
The parameter is .
A value has already been associated with .
Adds a 64-bit unsigned integer value into the store.
The name to associate with the value, so it can be deserialized later.
The value to serialize.
The parameter is .
A value has already been associated with .
Retrieves a Boolean value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a Boolean value.
An element with the specified name is not found in the current instance.
The Boolean value associated with .
Retrieves an 8-bit unsigned integer value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to an 8-bit unsigned integer.
An element with the specified name is not found in the current instance.
The 8-bit unsigned integer associated with .
Retrieves a Unicode character value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a Unicode character.
An element with the specified name is not found in the current instance.
The Unicode character associated with .
Retrieves a value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a value.
An element with the specified name is not found in the current instance.
The value associated with .
Retrieves a decimal value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a decimal.
An element with the specified name is not found in the current instance.
A decimal value from the .
Retrieves a double-precision floating-point value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a double-precision floating-point value.
An element with the specified name is not found in the current instance.
The double-precision floating-point value associated with .
Returns a used to iterate through the name-value pairs in the store.
A for parsing the name-value pairs contained in the store.
Retrieves a 16-bit signed integer value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a 16-bit signed integer.
An element with the specified name is not found in the current instance.
The 16-bit signed integer associated with .
Retrieves a 32-bit signed integer value from the store.
The name of the value to retrieve.
is .
The value associated with cannot be converted to a 32-bit signed integer.
An element with the specified name is not found in the current instance.
The 32-bit signed integer associated with .
Retrieves a 64-bit signed integer value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a 64-bit signed integer.
An element with the specified name is not found in the current instance.
The 64-bit signed integer associated with .
Retrieves an 8-bit signed integer value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to an 8-bit signed integer.
An element with the specified name is not found in the current instance.
The 8-bit signed integer associated with .
Retrieves a single-precision floating-point value from the store.
The name of the value to retrieve.
is .
The value associated with cannot be converted to a single-precision floating-point value.
An element with the specified name is not found in the current instance.
The single-precision floating-point value associated with .
Retrieves a value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a .
An element with the specified name is not found in the current instance.
The associated with .
Retrieves a 16-bit unsigned integer value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a 16-bit unsigned integer.
An element with the specified name is not found in the current instance.
The 16-bit unsigned integer associated with .
Retrieves a 32-bit unsigned integer value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a 32-bit unsigned integer.
An element with the specified name is not found in the current instance.
The 32-bit unsigned integer associated with .
Retrieves a 64-bit unsigned integer value from the store.
The name associated with the value to retrieve.
is .
The value associated with cannot be converted to a 64-bit unsigned integer.
An element with the specified name is not found in the current instance.
The 64-bit unsigned integer associated with .
Retrieves a value from the store.
The name associated with the value to retrieve.
The of the value to retrieve. If the stored value cannot be converted to this type, the system will throw a .
or is .
The value associated with cannot be converted to .
An element with the specified name is not found in the current instance.
The object of the specified associated with .
Sets the of the object to serialize.
The of the object to serialize.
The parameter is .
Gets or sets the assembly name of the type to serialize during serialization only.
The value the property is set to is .
The full name of the assembly of the type to serialize.
Gets or sets the full name of the to serialize.
The value this property is set to is .
The full name of the type to serialize.
Gets whether the assembly name has been explicitly set.
if the assembly name has been explicitly set; otherwise, .
Gets whether the full type name has been explicitly set.
if the full type name has been explicitly set; otherwise, .
Gets the number of members that have been added to the store.
The number of members that have been added to the current .
Returns the type of the object to be serialized.
The type of the object being serialized.
Provides a formatter-friendly mechanism for parsing the data in . This class cannot be inherited.
Updates the enumerator to the next item.
if a new element is found; otherwise, .
Resets the enumerator to the first item.
Gets the item currently being examined.
The enumerator has not started enumerating items or has reached the end of the enumeration.
The item currently being examined.
Gets the name for the item currently being examined.
The enumerator has not started enumerating items or has reached the end of the enumeration.
The item name.
Gets the type of the item currently being examined.
The enumerator has not started enumerating items or has reached the end of the enumeration.
The type of the item currently being examined.
Gets the current item in the collection.
The enumeration has not started or has already ended.
A that contains the current serialization data.
Gets the value of the item currently being examined.
The enumerator has not started enumerating items or has reached the end of the enumeration.
The value of the item currently being examined.
Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.
Initializes a new instance of the class with a given context state, and some additional information.
A bitwise combination of the values that specify the source or destination context for this .
Any additional information to be associated with the . This information is available to any object that implements or any serialization surrogate. Most users do not need to set this parameter.
Initializes a new instance of the class with a given context state.
A bitwise combination of the values that specify the source or destination context for this .
Determines whether two instances contain the same values.
An object to compare with the current instance.
if the specified object is an instance of and equals the value of the current instance; otherwise, .
Returns a hash code of this object.
The value that contains the source or destination of the serialization for this .
Gets context specified as part of the additional context.
The context specified as part of the additional context.
Gets the source or destination of the transmitted data.
During serialization, the destination of the transmitted data. During deserialization, the source of the data.
Defines a set of flags that specifies the source or destination context for the stream during serialization.
Specifies that the serialized data can be transmitted to or received from any of the other contexts.
Specifies that the object graph is being cloned. Users can assume that the cloned graph will continue to exist within the same process and be safe to access handles or other references to unmanaged resources.
Specifies that the source or destination context is a different AppDomain. (For a description of AppDomains, see Application Domains).
Specifies that the source or destination context is a different computer.
Specifies that the source or destination context is a different process on the same computer.
Specifies that the source or destination context is a file. Users can assume that files will last longer than the process that created them and not serialize objects in such a way that deserialization will require accessing any data from the current process.
Specifies that the serialization context is unknown.
Specifies that the source or destination context is a persisted store, which could include databases, files, or other backing stores. Users can assume that persisted data will last longer than the process that created the data and not serialize objects so that deserialization will require accessing any data from the current process.
Specifies that the data is remoted to a context in an unknown location. Users cannot make any assumptions whether this is on the same computer.
Indicates that the .NET class library method to which this attribute is applied is unlikely to be affected by servicing releases, and therefore is eligible to be inlined across Native Image Generator (NGen) images.
Initializes a new instance of the class.
The reason why the method to which the attribute is applied is considered to be eligible for inlining across Native Image Generator (NGen) images.
Gets the reason why the method to which this attribute is applied is considered to be eligible for inlining across Native Image Generator (NGen) images.
The reason why the method is considered to be eligible for inlining across NGen images.
Defines the compatibility guarantee of a component, type, or type member that may span multiple versions.
Initializes a new instance of the class with a value that indicates a library, type, or member's guaranteed level of compatibility across multiple versions.
One of the enumeration values that specifies the level of compatibility that is guaranteed across multiple versions.
Gets a value that indicates the guaranteed level of compatibility of a library, type, or type member that spans multiple versions.
One of the enumeration values that specifies the level of compatibility that is guaranteed across multiple versions.
Describes the compatibility guarantee of a component, type, or type member that may span multiple versions.
The developer promises multi-version exchange compatibility for the type. Consumers of the type can expect compatibility across future versions and can use the type in all their interfaces. Versioning problems cannot be fixed by side-by-side execution.
The developer does not guarantee compatibility across versions. Consumers of the component, type, or member can expect future versions to break the existing client.
The component has been tested to work when more than one version of the assembly is loaded into the same application domain. Future versions can break compatibility. However, when such breaking changes are made, the old version is not modified but continues to exist alongside the new version.
The developer promises stable compatibility across versions. Consumers of the type can expect that future versions will not break the existing client. However, if they do and if the client has not used the type in its interfaces, side-by-side execution may fix the problem.
Represents the name of a version of .NET.
Initializes a new instance of the class from a string, a object that identifies a .NET version, and a profile name.
A string that identifies a .NET Framework version.
An object that contains .NET Framework version information.
A profile name.
is .
is .
-or-
is .
Initializes a new instance of the class from a string and a object that identify a .NET version.
A string that identifies a .NET Framework version.
An object that contains .NET Framework version information.
is .
is .
-or-
is .
Initializes a new instance of the class from a string that contains information about a version of .NET.
A string that contains .NET Framework version information.
is .
-or-
has fewer than two components or more than three components.
-or-
does not include a major and minor version number.
-or-
does not include a valid version number.
is .
Returns a value that indicates whether this instance represents the same .NET version as a specified object.
The object to compare to the current instance.
if every component of the current object matches the corresponding component of ; otherwise, .
Returns a value that indicates whether this instance represents the same .NET version as a specified instance.
The object to compare to the current instance.
if every component of the current object matches the corresponding component of ; otherwise, .
Returns the hash code for the object.
A 32-bit signed integer that represents the hash code of this instance.
Returns a value that indicates whether two objects represent the same .NET version.
The first object to compare.
The second object to compare.
if the and parameters represent the same .NET Framework version; otherwise, .
Returns a value that indicates whether two objects represent different .NET versions.
The first object to compare.
The second object to compare.
if the and parameters represent different .NET versions; otherwise, .
Returns the string representation of this object.
A string that represents this object.
Gets the full name of this object.
The full name of this object.
Gets the identifier of this object.
The identifier of this object.
Gets the profile name of this object.
The profile name of this object.
Gets the version of this object.
An object that contains version information about this object.
Marks APIs that were obsoleted in a given operating system version.
Initializes a new instance of the attribute class for the specified obsoleted OS platform with an additional message.
The obsoleted OS platform name, optionally including a version.
Additional information about the obsoletion, for example, a suggested alternative for the obsoleted API.
Initializes a new instance of the class for the specified obsoleted OS platform.
The obsoleted OS platform name, optionally including a version.
Gets the optional additional message provided for the attribute.
A string that represents the message, or if there is none.
Gets or sets the URL for corresponding documentation.
The string that represents a URL to corresponding documentation.
Base type for all platform-specific API attributes.
Gets the name and optional version of the platform that the attribute applies to.
The applicable platform name and optional version.
Indicates that an API is in preview. This attribute allows call sites to be flagged with a diagnostic that indicates that a preview feature is used. Authors can use this attribute to ship preview features in their assemblies.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified message.
An optional message associated with this attribute instance.
Gets the optional message associated with this attribute instance.
Gets or sets the optional URL associated with this attribute instance.
Specifies the resource consumed by the member of a class. This class cannot be inherited.
Initializes a new instance of the class specifying the scope of the consumed resource and the scope of how it is consumed.
The for the consumed resource.
The used by this member.
Initializes a new instance of the class specifying the scope of the consumed resource.
The for the consumed resource.
Gets the consumption scope for this member.
A object specifying the resource scope used by this member.
Gets the resource scope for the consumed resource.
A object specifying the resource scope of the consumed member.
Specifies the resource exposure for a member of a class. This class cannot be inherited.
Initializes a new instance of the class with the specified exposure level.
The scope of the resource.
Gets the resource exposure scope.
A object.
Identifies the scope of a sharable resource.
The state is shared by objects within an .
The resource is visible at an assembly scope.
The state is shared by objects within a library.
The state is shared by objects within the machine.
There is no shared state.
The resource is visible to only the type.
The state is shared within a process.
Indicates that an API is supported for a specified platform or operating system. If a version is specified, the API cannot be called from an earlier version. Multiple attributes can be applied to indicate support on multiple operating systems.
Initializes a new instance of the attribute class for the specified supported OS platform.
The supported OS platform name, optionally including a version.
Annotates a custom guard field, property or method with a supported platform name and optional version.
Multiple attributes can be applied to indicate guard for multiple supported platforms.
Initializes a new instance of the attribute class for the specified supported OS platform.
The supported OS platform name the attributed member would guard, optionally including a version.
Identifies the version of .NET that a particular assembly was compiled against.
Initializes an instance of the class by specifying the .NET version against which an assembly was built.
The version of .NET against which the assembly was built.
is .
Gets the display name of the .NET version against which an assembly was built.
The display name of the .NET version.
Gets the name of the .NET version against which a particular assembly was compiled.
The name of the .NET version with which the assembly was compiled.
Specifies the operating system that a project targets, for example, Windows or iOS.
Initializes a new instance of the attribute class for the specified target OS platform.
The target OS platform name.
Marks APIs that were removed or are unsupported in a given operating system version.
Initializes a new instance of the attribute class for the specified unsupported OS platform with an additional message.
The unsupported OS platform name, optionally including a version.
Additional message that mostly suggests a replacement for the unsupported API.
Initializes a new instance of the attribute class for the specified unsupported OS platform.
The unsupported OS platform name, optionally including a version.
Gets the optional additional message provided for the attribute.
A string that represents the message, or if there is none.
Annotates the custom guard field, property or method with an unsupported platform name and optional version.
Multiple attributes can be applied to indicate guard for multiple unsupported platforms.
Initializes a new instance of the attribute class for the specified unsupported OS platform.
The unsupported OS platform name the attributed member would guard, optionally including a version.
Provides methods to aid developers in writing version-safe code. This class cannot be inherited.
Returns a version-safe name based on the specified resource name, the intended resource consumption scope, and the type using the resource.
The name of the resource.
The beginning of the scope range.
The end of the scope range.
The of the resource.
The values for and are invalid. The resource type in the enumeration is going from a more restrictive resource type to a more general resource type.
is .
A version-safe name.
Returns a version-safe name based on the specified resource name and the intended resource consumption source.
The name of the resource.
The scope of the resource.
The desired resource consumption scope.
A version-safe name.
References a variable-length argument list.
Represents a field using an internal metadata token.
Indicates whether the current instance is equal to the specified object.
The object to compare to the current instance.
if is a and equal to the value of the current instance; otherwise, .
Indicates whether the current instance is equal to the specified .
The to compare to the current instance.
if the value of is equal to the value of the current instance; otherwise, .
Returns a new object created from a handle to a RuntimeFieldInfo.
An IntPtr handle to a RuntimeFieldInfo to create a object from.
A new object that corresponds to the value parameter.
Returns the hash code for this instance.
A 32-bit signed integer that is the hash code for this instance.
Populates a with the data necessary to deserialize the field represented by the current instance.
The object to populate with serialization information.
(Reserved) The place to store and retrieve serialized data.
is .
The property of the current instance is not a valid handle.
Indicates whether two structures are equal.
The to compare to .
The to compare to .
if is equal to ; otherwise, .
Indicates whether two structures are not equal.
The to compare to .
The to compare to .
if is not equal to ; otherwise, .
Returns the internal pointer representation of a object.
A object to retrieve an internal pointer representation from.
An object that represents a object.
Gets a handle to the field represented by the current instance.
An that contains the handle to the field represented by the current instance.
is a handle to the internal metadata representation of a method.
Indicates whether this instance is equal to a specified object.
A to compare to this instance.
if is a and equal to the value of this instance; otherwise, .
Indicates whether this instance is equal to a specified .
A to compare to this instance.
if is equal to the value of this instance; otherwise, .
Returns a new object created from a handle to a RuntimeMethodInfo.
An IntPtr handle to a RuntimeMethodInfo to create a object from.
A new object that corresponds to the value parameter.
Obtains a pointer to the method represented by this instance.
The caller does not have the necessary permission to perform this operation.
A pointer to the method represented by this instance.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Populates a with the data necessary to deserialize the field represented by this instance.
The object to populate with serialization information.
(Reserved) The place to store and retrieve serialized data.
is .
is invalid.
Indicates whether two instances of are equal.
A to compare to .
A to compare to .
if the value of is equal to the value of ; otherwise, .
Indicates whether two instances of are not equal.
A to compare to .
A to compare to .
if the value of is unequal to the value of ; otherwise, .
Returns the internal pointer representation of a object.
A object to retrieve an internal pointer representation from.
An object that represents a object.
Gets the value of this instance.
A that is the internal metadata representation of a method.
Represents a type using an internal metadata token.
Indicates whether the specified object is equal to the current structure.
An object to compare to the current instance.
if is a structure and is equal to the value of this instance; otherwise, .
Indicates whether the specified structure is equal to the current structure.
The structure to compare to the current instance.
if the value of is equal to the value of this instance; otherwise, .
Returns a new object created from a handle to a RuntimeType.
An IntPtr handle to a RuntimeType to create a object from.
A new object that corresponds to the value parameter.
Returns the hash code for the current instance.
A 32-bit signed integer hash code.
Gets a handle to the module that contains the type represented by the current instance.
A structure representing a handle to the module that contains the type represented by the current instance.
Populates a with the data necessary to deserialize the type represented by the current instance.
The object to be populated with serialization information.
(Reserved) The location where serialized data will be stored and retrieved.
is .
is invalid.
Indicates whether an object and a structure are equal.
An object to compare to .
A structure to compare to .
if is a structure and is equal to ; otherwise, .
Indicates whether a structure is equal to an object.
A structure to compare to .
An object to compare to .
if is a and is equal to ; otherwise, .
Indicates whether an object and a structure are not equal.
An object to compare to .
A structure to compare to .
if is a and is not equal to ; otherwise, .
Indicates whether a structure is not equal to an object.
A structure to compare to .
An object to compare to .
if is a structure and is not equal to ; otherwise, .
Returns the internal pointer representation of a object.
A object to retrieve an internal pointer representation from.
An object that represents a object.
Gets a handle to the type represented by this instance.
A handle to the type represented by this instance.
Represents an 8-bit signed integer.
Represents the largest possible value of . This field is constant.
Represents the smallest possible value of . This field is constant.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not an .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Compares this instance to a specified 8-bit signed integer and returns an indication of their relative values.
An 8-bit signed integer to compare.
A signed integer that indicates the relative order of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if is an instance of and equals the value of this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified value.
An value to compare to this instance.
if has the same value as this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number that is in a specified style and culture-specific format to its 8-bit signed equivalent.
A span containing the characters representing the number to convert. The span is interpreted by using the style specified by .
A bitwise combination of the enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about . If is , the thread current culture is used.
An 8-bit signed byte value that is equivalent to the number specified in the parameter.
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number that is in a specified style and culture-specific format to its 8-bit signed equivalent.
A string that contains the number to convert. The string is interpreted by using the style specified by .
A bitwise combination of the enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about . If is , the thread current culture is used.
is not a value.
-or-
is not a combination of and .
is .
is not in a format that is compliant with .
represents a number that is less than SByte.MinValue or greater than SByte.MaxValue.
-or-
includes non-zero, fractional digits.
An 8-bit signed byte value that is equivalent to the number specified in the parameter.
Converts the string representation of a number in a specified style to its 8-bit signed integer equivalent.
A string that contains a number to convert. The string is interpreted using the style specified by .
A bitwise combination of the enumeration values that indicates the style elements that can be present in . A typical value to specify is .
is .
is not in a format that is compliant with .
represents a number less than SByte.MinValue or greater than SByte.MaxValue.
-or-
includes non-zero, fractional digits.
is not a value.
-or-
is not a combination of and values.
An 8-bit signed integer that is equivalent to the number specified in .
Converts the string representation of a number in a specified culture-specific format to its 8-bit signed integer equivalent.
A string that represents a number to convert. The string is interpreted using the style.
An object that supplies culture-specific formatting information about . If is , the thread current culture is used.
is .
is not in the correct format.
represents a number less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to the number specified in .
Converts the string representation of a number to its 8-bit signed integer equivalent.
A string that represents a number to convert. The string is interpreted using the style.
is .
does not consist of an optional sign followed by a sequence of digits (zero through nine).
represents a number less than SByte.MinValue or greater than SByte.MaxValue.
An 8-bit signed integer that is equivalent to the number contained in the parameter.
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is unused.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is unused.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to do so throws an .
This parameter is ignored.
In all cases.
None. This conversion is not supported.
For a description of this member, see .
This parameter is unused.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The to which to convert this value.
A implementation that provides information about the format of the returned value.
The value of the current instance, converted to an object of type .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance, consisting of a negative sign if the value is negative, and a sequence of digits ranging from 0 to 9 with no leading zeroes.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance, as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A standard or custom numeric format string.
An object that supplies culture-specific formatting information.
is invalid.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A standard or custom numeric format string.
is invalid.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current 8-bit signed integer instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 8-bit signed integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 8-bit signed integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the span representation of a number in a specified style and culture-specific format to its equivalent, and returns a value that indicates whether the conversion succeeded.
A span containing the characters that represent the number to convert.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 8-bit signed integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than SByte.MinValue or greater than SByte.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the span representation of a number to its equivalent, and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the number to convert.
When this method returns, contains the 8-bit signed integer value that is equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in the correct format, or represents a number that is less than SByte.MinValue or greater than SByte.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the string representation of a number in a specified style and culture-specific format to its equivalent, and returns a value that indicates whether the conversion succeeded.
A string representing a number to convert.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 8-bit signed integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than SByte.MinValue or greater than SByte.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the string representation of a number to its equivalent, and returns a value that indicates whether the conversion succeeded.
A string that contains a number to convert.
When this method returns, contains the 8-bit signed integer value that is equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in the correct format, or represents a number that is less than SByte.MinValue or greater than SByte.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
Allows an assembly to be called by partially trusted code. Without this declaration, only fully trusted callers are able to use the assembly. This class cannot be inherited.
Initializes a new instance of the class.
Gets or sets the default partial trust visibility for code that is marked with the (APTCA) attribute.
One of the enumeration values. The default is .
The exception that is thrown when an error occurs during a cryptographic operation.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with the specified error code.
The error code.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message in the specified format.
The format used to output the error message.
The error message that explains the reason for the exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Defines methods implemented by permission types.
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Throws a at run time if the security requirement is not met.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not an instance of the same class as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Creates a permission that is the union of the current permission and the specified permission.
A permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Defines the methods that convert permission object state to and from XML element representation.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Manages the stack walk that determines whether all callers in the call stack have the required permissions to access a protected resource.
Asserts that the calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource.
The calling code does not have .
Determines at run time whether all callers in the call stack have been granted the permission specified by the current permission object.
A caller higher in the call stack does not have the permission specified by the current permission object.
-or-
A caller in the call stack has called on the current permission object.
Causes every for the current object that passes through the calling code to fail.
Causes every for all objects except the current one that passes through the calling code to fail, even if code higher in the call stack has been granted permission to access other resources.
Specifies the default partial-trust visibility for code that is marked with the (APTCA) attribute.
The assembly has been audited for partial trust, but it is not visible to partial-trust code in all hosts. To make the assembly visible to partial-trust code, add it to the property.
The assembly can always be called by partial-trust code.
Specifies the base attribute class for code access security.
Initializes a new instance of with the specified .
One of the values.
Specifies whether a permission should have all or no access to resources at creation.
No access to the resource protected by the permission.
Full access to the resource protected by the permission.
Specifies the security actions that can be performed using declarative security.
The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource (see Using the Assert Method).
All callers higher in the call stack are required to have been granted the permission specified by the current permission object.
The ability to access the resource specified by the current permission object is denied to callers, even if they have been granted permission to access it (see Using the Deny Method).
The derived class inheriting the class or overriding a method is required to have been granted the specified permission.
The immediate caller is required to have been granted the specified permission. Do not use in the .NET Framework 4. For full trust, use instead; for partial trust, use .
Only the resources specified by this permission object can be accessed, even if the code has been granted permission to access other resources.
The request for the minimum permissions required for code to run. This action can only be used within the scope of the assembly.
The request for additional permissions that are optional (not required to run). This request implicitly refuses all other permissions not specifically requested. This action can only be used within the scope of the assembly.
The request that permissions that might be misused will not be granted to the calling code. This action can only be used within the scope of the assembly.
Specifies the base attribute class for declarative security from which is derived.
Initializes a new instance of with the specified .
One of the values.
When overridden in a derived class, creates a permission object that can then be serialized into binary form and persistently stored along with the in an assembly's metadata.
A serializable permission object.
Gets or sets a security action.
One of the values.
Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.
if full permission to the protected resource is declared; otherwise, .
Allows security actions for to be applied to code using declarative security. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets a value indicating whether permission to assert that all this code's callers have the requisite permission for the operation is declared.
if permission to assert is declared; otherwise, .
Gets or sets a value that indicates whether code has permission to perform binding redirection in the application configuration file.
if code can perform binding redirects; otherwise, .
Gets or sets a value indicating whether permission to manipulate is declared.
if permission to manipulate is declared; otherwise, .
Gets or sets a value indicating whether permission to alter or manipulate domain security policy is declared.
if permission to alter or manipulate security policy in an application domain is declared; otherwise, .
Gets or sets a value indicating whether permission to alter or manipulate evidence is declared.
if the ability to alter or manipulate evidence is declared; otherwise, .
Gets or sets a value indicating whether permission to view and manipulate security policy is declared.
if permission to manipulate security policy is declared; otherwise, .
Gets or sets a value indicating whether permission to manipulate the current principal is declared.
if permission to manipulate the current principal is declared; otherwise, .
Gets or sets a value indicating whether permission to manipulate threads is declared.
if permission to manipulate threads is declared; otherwise, .
Gets or sets a value indicating whether permission to execute code is declared.
if permission to execute code is declared; otherwise, .
Gets or sets all permission flags comprising the permissions.
An attempt is made to set this property to an invalid value. See for the valid values.
One or more of the values combined using a bitwise OR.
Gets or sets a value indicating whether code can plug into the common language runtime infrastructure, such as adding Remoting Context Sinks, Envoy Sinks and Dynamic Sinks.
if code can plug into the common language runtime infrastructure; otherwise, .
Gets or sets a value indicating whether code can configure remoting types and channels.
if code can configure remoting types and channels; otherwise, .
Gets or sets a value indicating whether code can use a serialization formatter to serialize or deserialize an object.
if code can use a serialization formatter to serialize or deserialize an object; otherwise, .
Gets or sets a value indicating whether permission to bypass code verification is declared.
if permission to bypass code verification is declared; otherwise, .
Gets or sets a value indicating whether permission to call unmanaged code is declared.
if permission to call unmanaged code is declared; otherwise, .
Specifies access flags for the security permission object.
The unrestricted state of the permission.
Ability to assert that all this code's callers have the requisite permission for the operation.
Permission to perform explicit binding redirection in the application configuration file. This includes redirection of .NET assemblies that have been unified as well as other assemblies found outside .NET.
Ability to create and manipulate an .
Ability to specify domain policy.
Ability to provide evidence, including the ability to alter the evidence provided by the common language runtime.
This is a powerful permission that should only be granted to highly trusted code.
Ability to view and modify policy.
This is a powerful permission that should only be granted to highly trusted code.
Ability to manipulate the principal object.
Ability to use certain advanced operations on threads.
Permission for the code to run. Without this permission, managed code will not be executed.
This flag has no effect when used dynamically with stack modifiers such as , , and .
Permission to plug code into the common language runtime infrastructure, such as adding Remoting Context Sinks, Envoy Sinks and Dynamic Sinks.
No security access.
Permission to configure Remoting types and channels.
Ability to provide serialization services. Used by serialization formatters.
Ability to skip verification of code in this assembly. Code that is unverifiable can be run if this permission is granted.
This is a powerful permission that should be granted only to highly trusted code.
This flag has no effect when used dynamically with stack modifiers such as , , and .
Ability to call unmanaged code.
Since unmanaged code potentially allows other permissions to be bypassed, this is a dangerous permission that should only be granted to highly trusted code. It is used for such applications as calling native code using PInvoke or using COM interop.
Represents a collection that can contain many different types of permissions.
Initializes a new instance of the class with the specified .
One of the enumeration values that specifies the permission set's access to resources.
The parameter is not a valid .
Initializes a new instance of the class with initial values taken from the parameter.
The set from which to take the value of the new , or to create an empty .
Adds a specified permission to the .
The permission to add.
The method is called from a .
The union of the permission added and any permission of the same type that already exists in the .
Adds a specified permission to the .
The permission to add.
The method is called from a .
The union of the permission added and any permission of the same type that already exists in the , or if is .
Declares that the calling code can access the resource protected by a permission demand through the code that calls this method, even if callers higher in the stack have not been granted permission to access the resource. Using can create security vulnerabilities.
The instance asserted has not been granted to the asserting code.
-or-
There is already an active for the current frame.
Gets a value indicating whether the contains permissions that are not derived from .
if the contains permissions that are not derived from ; otherwise, .
Converts an encoded from one XML encoding format to another XML encoding format.
A string representing one of the following encoding formats: ASCII, Unicode, or Binary. Possible values are "XMLASCII" or "XML", "XMLUNICODE", and "BINARY".
An XML-encoded permission set.
A string representing one of the following encoding formats: ASCII, Unicode, or Binary. Possible values are "XMLASCII" or "XML", "XMLUNICODE", and "BINARY".
In all cases.
An encrypted permission set with the specified output format.
Creates a copy of the .
A copy of the .
Copies the permission objects of the set to the indicated location in an .
The target array to which to copy.
The starting position in the array to begin copying (zero based).
The parameter is .
The parameter has more than one dimension.
The parameter is out of the range of the parameter.
Forces a at run time if all callers higher in the call stack have not been granted the permissions specified by the current instance.
A caller in the call chain does not have the permission demanded.
Causes any that passes through the calling code for a permission that has an intersection with a permission of a type contained in the current to fail.
A previous call to has already restricted the permissions for the current stack frame.
Determines whether the specified or object is equal to the current .
The object to compare with the current .
if the specified object is equal to the current object; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter is not a valid permission element.
-or-
The parameter's version number is not supported.
Returns an enumerator for the permissions of the set.
An enumerator object for the permissions of the set.
Returns an enumerator for the permissions of the set.
An enumerator object for the permissions of the set.
Gets a hash code for the object that is suitable for use in hashing algorithms and data structures such as a hash table.
A hash code for the current object.
Gets a permission object of the specified type, if it exists in the set.
The type of the desired permission object.
A copy of the permission object of the type specified by the parameter contained in the , or if none exists.
Gets a permission object of the specified type, if it exists in the set.
The type of the permission object.
A copy of the permission object, of the type specified by the parameter, contained in the , or if none exists.
Creates and returns a permission set that is the intersection of the current and the specified .
A permission set to intersect with the current .
A new permission set that represents the intersection of the current and the specified target. This object is if the intersection is empty.
Gets a value indicating whether the is empty.
if the is empty; otherwise, .
Determines whether the current is a subset of the specified .
The permission set to test for the subset relationship. This must be either a or a .
if the current is a subset of the parameter; otherwise, .
Determines whether the is .
if the is ; otherwise, .
Causes any that passes through the calling code for any that is not a subset of the current to fail.
Removes a permission of a certain type from the set.
The type of permission to delete.
The method is called from a .
The permission removed from the set.
Removes a permission of a certain type from the set.
The type of the permission to remove.
The method is called from a .
The permission removed from the set.
Causes any previous for the current frame to be removed and no longer be in effect.
There is no previous for the current frame.
Sets a permission to the , replacing any existing permission of the same type.
The permission to set.
The method is called from a .
The set permission.
Sets a permission to the , replacing any existing permission of the same type.
The permission to set.
The method is called from a .
The set permission.
Runs when the entire object graph has been deserialized.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
Returns a string representation of the .
A representation of the .
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates a that is the union of the current and the specified .
The permission set to form the union with the current .
A new permission set that represents the union of the current and the specified .
Gets the number of permission objects contained in the permission set.
The number of permission objects contained in the .
Gets a value indicating whether the collection is read-only.
Always .
Gets a value indicating whether the collection is guaranteed to be thread safe.
Always .
Gets the root object of the current collection.
The root object of the current collection.
Defines the basic functionality of an identity object.
Gets the type of authentication used.
The type of authentication used to identify the user.
Gets a value that indicates whether the user has been authenticated.
if the user was authenticated; otherwise, .
Gets the name of the current user.
The name of the user on whose behalf the code is running.
Defines the basic functionality of a principal object.
Determines whether the current principal belongs to the specified role.
The name of the role for which to check membership.
if the current principal is a member of the specified role; otherwise, .
Gets the identity of the current principal.
The object associated with the current principal.
Specifies how principal and identity objects should be created for an application domain. The default is .
No principal or identity objects should be created.
Principal and identity objects for the unauthenticated entity should be created. An unauthenticated entity has set to the empty string ("") and set to .
Principal and identity objects that reflect the operating system token associated with the current execution thread should be created, and the associated operating system groups should be mapped into roles.
Defines security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.
The server process cannot obtain identification information about the client, and it cannot impersonate the client.
The server process can impersonate the client's security context on remote systems.
The server process can obtain information about the client, such as security identifiers and privileges, but it cannot impersonate the client. This is useful for servers that export their own objects, for example, database products that export tables and views. Using the retrieved client-security information, the server can make access-validation decisions without being able to use other services that are using the client's security context.
The server process can impersonate the client's security context on its local system. The server cannot impersonate the client on remote systems.
An impersonation level is not assigned.
Specifies that code or an assembly performs security-critical operations.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified scope.
One of the enumeration values that specifies the scope of the attribute.
Gets the scope for the attribute.
One of the enumeration values that specifies the scope of the attribute. The default is , which indicates that the attribute applies only to the immediate target.
Specifies the scope of a .
The attribute applies to all code that follows it.
The attribute applies only to the immediate target.
Represents the XML object model for encoding security objects. This class cannot be inherited.
Initializes a new instance of the class with the specified tag and text.
The tag name of the XML element.
The text content within the element.
The parameter is .
The parameter or parameter is invalid in XML.
Initializes a new instance of the class with the specified tag.
The tag name of an XML element.
The parameter is .
The parameter is invalid in XML.
Adds a name/value attribute to an XML element.
The name of the attribute.
The value of the attribute.
The parameter or parameter is .
The parameter or parameter is invalid in XML.
-or-
An attribute with the name specified by the parameter already exists.
Adds a child element to the XML element.
The child element to add.
The parameter is .
Finds an attribute by name in an XML element.
The name of the attribute for which to search.
The parameter is .
The value associated with the named attribute, or if no attribute with exists.
Creates and returns an identical copy of the current object.
A copy of the current object.
Compares two XML element objects for equality.
An XML element object to which to compare the current XML element object.
if the tag, attribute names and values, child elements, and text fields in the current XML element are identical to their counterparts in the parameter; otherwise, .
Replaces invalid XML characters in a string with their valid XML equivalent.
The string within which to escape invalid characters.
The input string with invalid characters replaced.
Creates a security element from an XML-encoded string.
The XML-encoded string from which to create the security element.
contains one or more single quotation mark characters.
is .
A created from the XML.
Determines whether a string is a valid attribute name.
The attribute name to test for validity.
if the parameter is a valid XML attribute name; otherwise, .
Determines whether a string is a valid attribute value.
The attribute value to test for validity.
if the parameter is a valid XML attribute value; otherwise, .
Determines whether a string is a valid tag.
The tag to test for validity.
if the parameter is a valid XML tag; otherwise, .
Determines whether a string is valid as text within an XML element.
The text to test for validity.
if the parameter is a valid XML text element; otherwise, .
Finds a child by its tag name.
The tag for which to search in child elements.
The parameter is .
The first child XML element with the specified tag value, or if no child element with exists.
Finds a child by its tag name and returns the contained text.
The tag for which to search in child elements.
is .
The text contents of the first child element with the specified tag value.
Produces a string representation of an XML element and its constituent attributes, child elements, and text.
The XML element and its contents.
Gets or sets the attributes of an XML element as name/value pairs.
The name or value of the object is invalid.
The name is not a valid XML attribute name.
The object for the attribute values of the XML element.
Gets or sets the array of child elements of the XML element.
A child of the XML parent node is .
The ordered child elements of the XML element as security elements.
Gets or sets the tag name of an XML element.
The tag is .
The tag is not valid in XML.
The tag name of an XML element.
Gets or sets the text within an XML element.
The text is not valid in XML.
The value of the text within an XML element.
The exception that is thrown when a security error is detected.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
is .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the permission type that caused the exception to be thrown, and the permission state.
The error message that explains the reason for the exception.
The type of the permission that caused the exception to be thrown.
The state of the permission that caused the exception to be thrown.
Initializes a new instance of the class with a specified error message and the permission type that caused the exception to be thrown.
The error message that explains the reason for the exception.
The type of the permission that caused the exception to be thrown.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Sets the with information about the .
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The parameter is .
Returns a representation of the current .
A string representation of the current .
Gets or sets the demanded security permission, permission set, or permission set collection that failed.
A permission, permission set, or permission set collection object.
Gets or sets the denied security permission, permission set, or permission set collection that caused a demand to fail.
A permission, permission set, or permission set collection object.
Gets or sets information about the failed assembly.
An that identifies the failed assembly.
Gets or sets the granted permission set of the assembly that caused the .
The XML representation of the granted set of the assembly.
Gets or sets the information about the method associated with the exception.
A object describing the method.
Gets or sets the state of the permission that threw the exception.
The state of the permission at the time the exception was thrown.
Gets or sets the type of the permission that failed.
The type of the permission that failed.
Gets or sets the permission, permission set, or permission set collection that is part of the permit-only stack frame that caused a security check to fail.
A permission, permission set, or permission set collection object.
Gets or sets the refused permission set of the assembly that caused the .
The XML representation of the refused permission set of the assembly.
Gets or sets the URL of the assembly that caused the exception.
A URL that identifies the location of the assembly.
Indicates the set of security rules the common language runtime should enforce for an assembly.
Initializes a new instance of the class using the specified rule set value.
One of the enumeration values that specifies the transparency rules set.
Gets the rule set to be applied.
One of the enumeration values that specifies the transparency rules to be applied.
Determines whether fully trusted transparent code should skip Microsoft intermediate language (MSIL) verification.
if MSIL verification should be skipped; otherwise, . The default is .
Identifies the set of security rules the common language runtime should enforce for an assembly.
Indicates that the runtime will enforce level 1 (.NET Framework version 2.0) transparency rules.
Indicates that the runtime will enforce level 2 transparency rules.
Unsupported. Using this value results in a being thrown.
Identifies types or members as security-critical and safely accessible by transparent code.
Initializes a new instance of the class.
Specifies that an assembly cannot cause an elevation of privilege.
Initializes a new instance of the class.
Identifies which of the nonpublic members are accessible by transparent code within the assembly.
Initializes a new instance of the class.
Allows managed code to call into unmanaged code without a stack walk. This class cannot be inherited.
Initializes a new instance of the class.
Marks modules containing unverifiable code. This class cannot be inherited.
Initializes a new instance of the class.
The exception that is thrown when the security policy requires code to be type safe and the verification process is unable to verify that the code is type safe.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with an explanatory message.
A message indicating the reason the exception occurred.
Indicates that a class can be serialized using binary or XML serialization. This class cannot be inherited.
Initializes a new instance of the class.
Represents a single-precision floating-point number.
Represents the natural logarithmic base, specified by the constant, e.
Represents the smallest positive value that is greater than zero. This field is constant.
Represents the largest possible value of . This field is constant.
Represents the smallest possible value of . This field is constant.
Represents not a number (). This field is constant.
Represents negative infinity. This field is constant.
Represents the number negative zero (-0).
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.
Represents positive infinity. This field is constant.
Represents the number of radians in one turn, specified by the constant, τ.
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Computes the arc-cosine of a value.
The value, in radians, whose arc-cosine is to be computed.
The arc-cosine of .
Computes the hyperbolic arc-cosine of a value.
The value, in radians, whose hyperbolic arc-cosine is to be computed.
The hyperbolic arc-cosine of .
Computes the arc-cosine of a value and divides the result by pi.
The value whose arc-cosine is to be computed.
The arc-cosine of , divided by pi.
Computes the arc-sine of a value.
The value, in radians, whose arc-sine is to be computed.
The arc-sine of .
Computes the hyperbolic arc-sine of a value.
The value, in radians, whose hyperbolic arc-sine is to be computed.
The hyperbolic arc-sine of .
Computes the arc-sine of a value and divides the result by pi.
The value whose arc-sine is to be computed.
The arc-sine of , divided by pi.
Computes the arc-tangent of a value.
The value, in radians, whose arc-tangent is to be computed.
The arc-tangent of .
Computes the arc-tangent of the quotient of two values.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by .
Computes the arc-tangent for the quotient of two values and divides the result by pi.
The y-coordinate of a point.
The x-coordinate of a point.
The arc-tangent of divided-by , divided by pi.
Computes the hyperbolic arc-tangent of a value.
The value, in radians, whose hyperbolic arc-tangent is to be computed.
The hyperbolic arc-tangent of .
Computes the arc-tangent of a value and divides the result by pi.
The value whose arc-tangent is to be computed.
The arc-tangent of , divided by pi.
Returns the largest value that compares less than a specified value.
The value to be bitwise decremented.
The largest value that compares less than .
Returns the smallest value that compares greater than a specified value.
The value to be bitwise incremented.
The smallest value that compares greater than .
Computes the cube-root of a value.
The value whose cube-root is to be computed.
The cube-root of .
Computes the ceiling of a value.
The value whose ceiling is to be computed.
The ceiling of .
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Clamps a value to an inclusive minimum and maximum value using platform-specific behavior for NaN and NegativeZero.
The value to clamp.
The inclusive minimum to which value should clamp.
The inclusive maximum to which value should clamp.
The result of clamping value to the inclusive range of min and max.
Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
An object to compare, or .
is not a .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than , or this instance is not a number () and is a number.
- Zero This instance is equal to , or this instance and value are both not a number (), , or .
- Greater than zero This instance is greater than , OR this instance is a number and is not a number (), OR is .
Compares this instance to a specified single-precision floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified single-precision floating-point number.
A single-precision floating-point number to compare.
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than , or this instance is not a number () and is a number.
- Zero This instance is equal to , or both this instance and are not a number (), , or .
- Greater than zero This instance is greater than , or this instance is a number and is not a number ().
Converts a value to a specified integer type using saturation on overflow
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Converts a value to a specified integer type using platform specific behavior on overflow.
The value to be converted.
The integer type to which value is converted.
An instance of TInteger created from value.
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Computes the cosine of a value.
The value, in radians, whose cosine is to be computed.
The cosine of .
Computes the hyperbolic cosine of a value.
The value, in radians, whose hyperbolic cosine is to be computed.
The hyperbolic cosine of .
Computes the cosine of a value that has been multipled by pi.
The value, in half-revolutions, whose cosine is to be computed.
The cosine of multiplied-by pi.
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Converts a given value from degrees to radians.
The value to convert to radians.
The value of converted to radians.
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if is an instance of and equals the value of this instance; otherwise, .
Returns a value indicating whether this instance and a specified object represent the same value.
An object to compare with this instance.
if is equal to this instance; otherwise, .
Computes E raised to a given power.
The power to which E is raised.
E raised to the power of .
Computes 10 raised to a given power.
The power to which 10 is raised.
10
Computes 10 raised to a given power and subtracts one.
The power to which 10 is raised.
10 - 1
Computes 2 raised to a given power.
The power to which 2 is raised.
2
Computes 2 raised to a given power and subtracts one.
The power to which 2 is raised.
2 - 1
Computes E raised to a given power and subtracts one.
The power to which E is raised.
E - 1
Computes the floor of a value.
The value whose floor is to be computed.
The floor of .
Computes the fused multiply-add of three values.
The value that multiplies.
The value that multiplies .
The value that is added to the product of and .
The result of times plus computed as one ternary operation.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Computes the hypotenuse given two values representing the lengths of the shorter sides in a right-angled triangle.
The value to square and add to .
The value to square and add to .
The square root of -squared plus -squared.
Computes the remainder of two values as specified by IEEE 754.
The value that divides.
The value that divides .
The remainder of divided-by as specified by IEEE 754.
Computes the integer logarithm of a value.
The value whose integer logarithm is to be computed.
The integer logarithm of .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines whether the specified value is finite (zero, subnormal or normal).
A single-precision floating-point number.
if the specified value is finite (zero, subnormal or normal); otherwise, .
Returns a value indicating whether the specified number evaluates to negative or positive infinity.
A single-precision floating-point number.
if evaluates to or ; otherwise, .
Determines if a value represents an integral value.
The value to be checked.
if is an integer; otherwise, .
Returns a value that indicates whether the specified value is not a number ().
A single-precision floating-point number.
if evaluates to not a number (); otherwise, .
Determines whether the specified value is negative.
A single-precision floating-point number.
if negative, otherwise.
Returns a value indicating whether the specified number evaluates to negative infinity.
A single-precision floating-point number.
if evaluates to ; otherwise, .
Determines whether the specified value is normal.
A single-precision floating-point number.
if is normal; otherwise.
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Returns a value indicating whether the specified number evaluates to positive infinity.
A single-precision floating-point number.
if evaluates to ; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines whether the specified value is subnormal.
A single-precision floating-point number.
if is subnormal; otherwise.
Performs a linear interpolation between two values based on the given weight.
The first value, which is intended to be the lower bound.
The second value, which is intended to be the upper bound.
A value, intended to be between 0 and 1, that indicates the weight of the interpolation.
The interpolated value.
Computes the logarithm of a value in the specified base.
The value whose logarithm is to be computed.
The base in which the logarithm is to be computed.
The base- logarithm of .
Computes the natural (base-E logarithm of a value.
The value whose natural logarithm is to be computed.
The natural logarithm of .
Computes the base-10 logarithm of a value.
The value whose base-10 logarithm is to be computed.
The base-10 logarithm of .
Computes the base-10 logarithm of a value plus one.
The value to which one is added before computing the base-10 logarithm.
log10( + 1)
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Computes the base-2 logarithm of a value plus one.
The value to which one is added before computing the base-2 logarithm.
log2( + 1)
Computes the natural (base-E) logarithm of a value plus one.
The value to which one is added before computing the natural logarithm.
loge( + 1)
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is greater using platform-specific behavior for NaN and NegativeZero.
The value to compare with y.
The value to compare with x.
x if it is greater than y; otherwise, y.
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which is lesser using platform-specific behavior for NaN and NegativeZero.
The value to compare with y.
The value to compare with x.
x if it is lesser than y; otherwise, y.
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of (left * right) + addend.
The value to be multiplied with right.
The value to be multiplied with left.
The value to be added to the result of left multiplied by right.
An estimate of (left * right) + addend.
Returns a value that indicates whether two specified values are equal.
The first value to compare.
The second value to compare.
if and are equal; otherwise, .
Returns a value that indicates whether a specified value is greater than another specified value.
The first value to compare.
The second value to compare.
if is greater than ; otherwise, .
Returns a value that indicates whether a specified value is greater than or equal to another specified value.
The first value to compare.
The second value to compare.
if is greater than or equal to ; otherwise, .
Returns a value that indicates whether two specified values are not equal.
The first value to compare.
The second value to compare.
if and are not equal; otherwise, .
Returns a value that indicates whether a specified value is less than another specified value.
The first value to compare.
The second value to compare.
if is less than ; otherwise, .
Returns a value that indicates whether a specified value is less than or equal to another specified value.
The first value to compare.
The second value to compare.
if is less than or equal to ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts a character span that contains the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent.
A character span that contains the number to convert.
A bitwise combination of enumeration values that indicate the style elements that can be present in . A typical value to specify is combined with .
An object that supplies culture-specific formatting information about .
does not represent a numeric value.
is not a value.
-or-
is the value.
A single-precision floating-point number that is equivalent to the numeric value or symbol specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent.
A string that contains a number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is combined with .
An object that supplies culture-specific formatting information about .
is .
does not represent a numeric value.
is not a value.
-or-
is the value.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number that is less than Single.MinValue or greater than Single.MaxValue.
A single-precision floating-point number equivalent to the numeric value or symbol specified in .
Converts the string representation of a number in a specified style to its single-precision floating-point number equivalent.
A string that contains a number to convert.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is combined with .
is .
is not a number in a valid format.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number that is less than Single.MinValue or greater than Single.MaxValue.
is not a value.
-or-
includes the value.
A single-precision floating-point number that is equivalent to the numeric value or symbol specified in .
Converts the string representation of a number in a specified culture-specific format to its single-precision floating-point number equivalent.
A string that contains a number to convert.
An object that supplies culture-specific formatting information about .
is .
does not represent a number in a valid format.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number less than Single.MinValue or greater than Single.MaxValue.
A single-precision floating-point number equivalent to the numeric value or symbol specified in .
Converts the string representation of a number to its single-precision floating-point number equivalent.
A string that contains a number to convert.
is .
does not represent a number in a valid format.
.NET Framework and .NET Core 2.2 and earlier versions only: represents a number less than Single.MinValue or greater than Single.MaxValue.
A single-precision floating-point number equivalent to the numeric value or symbol specified in .
Computes a value raised to a given power.
The value that is raised to the power of .
The power to which is raised.
raised to the power of .
Converts a given value from radians to degrees.
The value to convert to degrees.
The value of converted to degrees.
Computes an estimate of the reciprocal of a value.
The value whose estimate of the reciprocal is to be computed.
An estimate of the reciprocal of .
Computes an estimate of the reciprocal square root of a value.
The value whose estimate of the reciprocal square root is to be computed.
An estimate of the reciprocal square root of .
Computes the n-th root of a value.
The value whose -th root is to be computed.
The degree of the root to be computed.
The -th root of .
Rounds a value to a specified number of fractional-digits using the default rounding mode ().
The value to round.
The number of fractional digits to which should be rounded.
The mode under which should be rounded.
The result of rounding to fractional-digits using .
Rounds a value to a specified number of fractional-digits using the default rounding mode ().
The value to round.
The number of fractional digits to which should be rounded.
The result of rounding to fractional-digits using the default rounding mode.
Rounds a value to the nearest integer using the specified rounding mode.
The value to round.
The mode under which should be rounded.
The result of rounding to the nearest integer using .
Rounds a value to the nearest integer using the default rounding mode ().
The value to round.
The result of rounding to the nearest integer using the default rounding mode.
Computes the product of a value and its base-radix raised to the specified power.
The value that base-radix raised to the power of multiplies.
The value to which base-radix is raised before multipliying .
The product of and base-radix raised to the power of .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Computes the sine of a value.
The value, in radians, whose sine is to be computed.
The sine of .
Computes the sine and cosine of a value.
The value, in radians, whose sine and cosine are to be computed.
The sine and cosine of .
Computes the sine and cosine of a value.
The value, in radians, whose sine and cosine are to be computed.
The sine and cosine of .
Computes the hyperbolic sine of a value.
The value, in radians, whose hyperbolic sine is to be computed.
The hyperbolic sine of .
Computes the sine of a value that has been multiplied by pi.
The value, in half-revolutions, that is multipled by pi before computing its sine.
The sine of multiplied-by pi.
Computes the square-root of a value.
The value whose square-root is to be computed.
The square-root of .
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
The type to which to convert this value.
An object that supplies information about the format of the returned value.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current exponent.
The length, in bits, of the shortest two's complement representation of the current exponent.
Gets the length, in bits, of the current significand.
The length, in bits, of the current significand.
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Tries to write the current exponent, in big-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current exponent, in little-endian format, to a given span.
The span to which the current exponent should be written.
When this method returns, contains the number of bytes written to .
if the exponent was succesfully written to ; otherwise, .
Tries to write the current significand, in big-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Tries to write the current significand, in little-endian format, to a given span.
The span to which the current significand should be written.
When this method returns, contains the number of bytes written to .
if the significand was succesfully written to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Computes the tangent of a value.
The value, in radians, whose tangent is to be computed.
The tangent of .
Computes the hyperbolic tangent of a value.
The value, in radians, whose hyperbolic tangent is to be computed.
The hyperbolic tangent of .
Computes the tangent of a value that has been multipled by pi.
The value, in half-revolutions, that is multipled by pi before computing its tangent.
The tangent of multiplied-by pi.
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A numeric format string.
is invalid.
The string representation of the value of this instance as specified by .
Truncates a value.
The value to truncate.
The truncation of .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current float number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the charactes that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its single-precision floating-point number equivalent.
A read-only UTF-8 character span that contains the number to convert.
When this method returns, contains a single-precision floating-point number equivalent of the numeric value or symbol contained in if the conversion succeeded or zero if the conversion failed. The conversion fails if the is or is not in a valid format. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the span representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A read-only character span that contains the number to convert. The span is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is combined with .
An object that supplies culture-specific formatting information about .
When this method returns, contains the single-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , represents a number less than Single.MinValue or greater than Single.MaxValue, or if is not a valid combination of enumerated constants. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number in a character span to its single-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
>A character span that contains the string representation of the number to convert.
When this method returns, contains the single-precision floating-point number equivalent of the parameter, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or empty or is not a number in a valid format. If is a valid number less than Single.MinValue, is . If is a valid number greater than Single.MaxValue, is . This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A string representing a number to convert.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is combined with .
An object that supplies culture-specific formatting information about .
When this method returns, contains the single-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or if is not a valid combination of enumeration constants. It also fails on .NET Framework or .NET Core 2.2 and earlier versions if represents a number less than Single.MinValue or greater than Single.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is the value.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its single-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
A string representing a number to convert.
When this method returns, contains single-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or or is not a number in a valid format. It also fails on .NET Framework and .NET Core 2.2 and earlier versions if represents a number less than Single.MinValue or greater than Single.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the mathematical constant e.
Gets the mathematical constant pi.
Gets the mathematical constant tau.
Gets the smallest value such that can be added to 0 that does not result in 0.
Gets a value that represents NaN.
Gets a value that represents negative infinity.
Gets a value that represents negative zero.
Gets a value that represents positive infinity.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Gets the value -1 for the type.
Provides a type-safe and memory-safe representation of a contiguous region of arbitrary memory.
The type of items in the .
Creates a new object that includes a specified number of elements of an array starting at a specified index.
The source array.
The zero-based index of the first element to include in the new .
The number of elements to include in the new .
is , but or is non-zero.
-or-
is outside the bounds of the array.
-or-
and exceeds the number of elements in the array.
is a reference type, and is not an array of type .
Creates a new object over the entirety of a specified array.
The array from which to create the object.
is a reference type, and is not an array of type .
Creates a new of length 1 around the specified reference.
A reference to data.
Creates a new object from a specified number of elements starting at a specified memory address.
A pointer to the starting address of a specified number of elements in memory.
The number of elements to be included in the .
is a reference type or contains pointers and therefore cannot be stored in unmanaged memory.
is negative.
Clears the contents of this object.
Copies the contents of this into a destination .
The destination object.
is shorter than the source .
Calls to this method are not supported.
Not supported.
Calls to this method are not supported.
Calls to this method are not supported.
Fills the elements of this span with a specified value.
The value to assign to each element of the span.
Returns an enumerator for this .
An enumerator for this span.
Throws a .
Calls to this method are not supported.
Calls to this method always throw a .
Returns a reference to an object of type T that can be used for pinning.
This method is intended to support .NET compilers and is not intended to be called by user code.
A reference to the element of the span at index 0, or if the span is empty.
Returns a value that indicates whether two objects are equal.
The first span to compare.
The second span to compare.
if the two objects are equal; otherwise, .
Defines an implicit conversion of an array to a .
The array to convert to a .
The span that corresponds to .
Defines an implicit conversion of an to a .
The array segment to be converted to a .
A span that corresponds to the array segment.
Defines an implicit conversion of a to a .
The object to convert to a .
A read-only span that corresponds to the current instance.
Returns a value that indicates whether two objects are not equal.
The first span to compare.
The second span to compare.
if the two objects are not equal; otherwise, .
Forms a slice out of the current span starting at a specified index for a specified length.
The zero-based index at which to begin this slice.
The desired length for the slice.
or + is less than zero or greater than .
A span that consists of elements from the current span starting at .
Forms a slice out of the current span that begins at a specified index.
The zero-based index at which to begin the slice.
is less than zero or greater than .
A span that consists of all elements of the current span from to the end of the span.
Copies the contents of this span into a new array.
An array containing the data in the current span.
Returns the string representation of this object.
The string representation of this object.
Attempts to copy the current to a destination and returns a value that indicates whether the copy operation succeeded.
The target of the copy operation.
if the copy operation succeeded; otherwise, .
Returns an empty object.
An empty object.
Returns a value that indicates whether the current is empty.
if the current span is empty; otherwise, .
Gets the element at the specified zero-based index.
The zero-based index of the element.
is less than zero or greater than or equal to .
The element at the specified index.
Returns the length of the current span.
The length of the current span.
Provides an enumerator for the elements of a .
Advances the enumerator to the next item of the .
if the enumerator successfully advanced to the next item; if the end of the span has been passed.
Sets the enumerator to its initial position, which is before the first element in the collection.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets a reference to the item at the current position of the enumerator.
The element in the at the current position of the enumerator.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The exception that is thrown when the execution stack exceeds the stack size. This class cannot be inherited.
Initializes a new instance of the class, setting the property of the new instance to a system-supplied message that describes the error, such as "The requested operation caused a stack overflow." This message takes into account the current system culture.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
A that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Indicates that the COM threading model for an application is single-threaded apartment (STA).
Initializes a new instance of the class.
Represents text as a sequence of UTF-16 code units.
Represents the empty string. This field is read-only.
Initializes a new instance of the class to the value indicated by a specified Unicode character repeated a specified number of times.
A Unicode character.
The number of times occurs.
is less than zero.
Initializes a new instance of the class to the value indicated by an array of Unicode characters, a starting character position within that array, and a length.
An array of Unicode characters.
The starting position within .
The number of characters within to use.
is .
or is less than zero.
-or-
The sum of and is greater than the number of elements in .
Initializes a new instance of the class to the Unicode characters indicated in the specified character array.
An array of Unicode characters.
Initializes a new instance of the class to the value indicated by a specified pointer to an array of Unicode characters, a starting character position within that array, and a length.
A pointer to an array of Unicode characters.
The starting position within .
The number of characters within to use.
or is less than zero, + cause a pointer overflow, or the current process does not have read access to all the addressed characters.
specifies an array that contains an invalid Unicode character, or + specifies an address less than 64000.
Initializes a new instance of the class to the value indicated by a specified pointer to an array of Unicode characters.
A pointer to a null-terminated array of Unicode characters.
The current process does not have read access to all the addressed characters.
specifies an array that contains an invalid Unicode character, or specifies an address less than 64000.
Initializes a new instance of the class to the Unicode characters indicated in the specified read-only span.
A read-only span of Unicode characters.
Initializes a new instance of the class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting position within that array, a length, and an object.
A pointer to an array of 8-bit signed integers.
The starting position within .
The number of sbytes within to use.
An object that specifies how the array referenced by is encoded. If is , ANSI encoding is assumed.
is .
or is less than zero.
-or-
The address specified by + is too large for the current platform; that is, the address calculation overflowed.
-or-
The length of the new string to initialize is too large to allocate.
The address specified by + is less than 64K.
-or-
A new instance of could not be initialized using , assuming is encoded as specified by .
, , and collectively specify an invalid address.
Initializes a new instance of the class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting position within that array, and a length.
A pointer to an array of 8-bit signed integers. The integers are interpreted using the current system code page encoding on Windows (referred to as CP_ACP) and as UTF-8 encoding on non-Windows.
The starting position within .
The number of sbytes within to use.
is .
or is less than zero.
-or-
The address specified by + is too large for the current platform; that is, the address calculation overflowed.
-or-
The length of the new string to initialize is too large to allocate.
The address specified by + is less than 64K.
-or-
A new instance of could not be initialized using , assuming is encoded in ANSI.
, , and collectively specify an invalid address.
Initializes a new instance of the class to the value indicated by a pointer to an array of 8-bit signed integers.
A pointer to a null-terminated array of 8-bit signed integers. The integers are interpreted using the current system code page encoding on Windows (referred to as CP_ACP) and as UTF-8 encoding on non-Windows.
is .
A new instance of could not be initialized using , assuming is encoded in ANSI.
The length of the new string to initialize, which is determined by the null termination character of , is too large to allocate.
specifies an invalid address.
Returns a reference to this instance of .
This instance of .
Compares substrings of two specified objects, ignoring or honoring their case and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
The first string to use in the comparison.
The position of the substring within .
The second string to use in the comparison.
The position of the substring within .
The maximum number of characters in the substrings to compare.
to ignore case during the comparison; otherwise, .
An object that supplies culture-specific comparison information. If is , the current culture is used.
is greater than ..
-or-
is greater than ..
-or-
, , or is negative.
-or-
Either or is , and is greater than zero.
An integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero The substring in precedes the substring in in the sort order.
- Zero The substrings occur in the same position in the sort order, or is zero.
- Greater than zero The substring in follows the substring in in the sort order.
Compares substrings of two specified objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
The first string to use in the comparison.
The position of the substring within .
The second string to use in the comparison.
The position of the substring within .
The maximum number of characters in the substrings to compare.
to ignore case during the comparison; otherwise, .
is greater than ..
-or-
is greater than ..
-or-
, , or is negative.
-or-
Either or is , and is greater than zero.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero The substring in precedes the substring in in the sort order.
- Zero The substrings occur in the same position in the sort order, or is zero.
- Greater than zero The substring in follows the substring in in the sort order.
Compares substrings of two specified objects using the specified comparison options and culture-specific information to influence the comparison, and returns an integer that indicates the relationship of the two substrings to each other in the sort order.
The first string to use in the comparison.
The starting position of the substring within .
The second string to use in the comparison.
The starting position of the substring within .
The maximum number of characters in the substrings to compare.
An object that supplies culture-specific comparison information. If is , the current culture is used.
Options to use when performing the comparison (such as ignoring case or symbols).
is not a value.
is greater than .
-or-
is greater than .
-or-
, , or is negative.
-or-
Either or is , and is greater than zero.
An integer that indicates the lexical relationship between the two substrings, as shown in the following table.
Value Condition- Less than zero The substring in precedes the substring in in the sort order.
- Zero The substrings occur in the same position in the sort order, or is zero.
- Greater than zero The substring in follows the substring in in the sort order.
Compares substrings of two specified objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
The first string to use in the comparison.
The position of the substring within .
The second string to use in the comparison.
The position of the substring within .
The maximum number of characters in the substrings to compare.
One of the enumeration values that specifies the rules to use in the comparison.
is greater than ..
-or-
is greater than ..
-or-
, , or is negative.
-or-
Either or is , and is greater than zero.
is not a value.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero The substring in precedes the substring in in the sort order.
- Zero The substrings occur in the same position in the sort order, or the parameter is zero.
- Greater than zero The substring in follows the substring in in the sort order.
Compares substrings of two specified objects and returns an integer that indicates their relative position in the sort order.
The first string to use in the comparison.
The position of the substring within .
The second string to use in the comparison.
The position of the substring within .
The maximum number of characters in the substrings to compare.
is greater than ..
-or-
is greater than ..
-or-
, , or is negative.
-or-
Either or is , and is greater than zero.
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value Condition- Less than zero The substring in precedes the substring in in the sort order.
- Zero The substrings occur in the same position in the sort order, or is zero.
- Greater than zero The substring in follows the substring in in the sort order.
Compares two specified objects, ignoring or honoring their case, and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
to ignore case during the comparison; otherwise, .
An object that supplies culture-specific comparison information. If is , the current culture is used.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero precedes in the sort order.
- Zero occurs in the same position as in the sort order.
- Greater than zero follows in the sort order.
Compares two specified objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
to ignore case during the comparison; otherwise, .
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero precedes in the sort order.
- Zero occurs in the same position as in the sort order.
- Greater than zero follows in the sort order.
Compares two specified objects using the specified comparison options and culture-specific information to influence the comparison, and returns an integer that indicates the relationship of the two strings to each other in the sort order.
The first string to compare.
The second string to compare.
The culture that supplies culture-specific comparison information. If is , the current culture is used.
Options to use when performing the comparison (such as ignoring case or symbols).
is not a value.
A 32-bit signed integer that indicates the lexical relationship between and , as shown in the following table
Value Condition- Less than zero precedes in the sort order.
- Zero occurs in the same position as in the sort order.
- Greater than zero follows in the sort order.
Compares two specified objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
One of the enumeration values that specifies the rules to use in the comparison.
is not a value.
is not supported.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero precedes in the sort order.
- Zero is in the same position as in the sort order.
- Greater than zero follows in the sort order.
Compares two specified objects and returns an integer that indicates their relative position in the sort order.
The first string to compare.
The second string to compare.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero precedes in the sort order.
- Zero occurs in the same position as in the sort order.
- Greater than zero follows in the sort order.
Compares substrings of two specified objects by evaluating the numeric values of the corresponding objects in each substring.
The first string to use in the comparison.
The starting index of the substring in .
The second string to use in the comparison.
The starting index of the substring in .
The maximum number of characters in the substrings to compare.
is not and is greater than ..
-or-
is not and is greater than ..
-or-
, , or is negative.
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero The substring in is less than the substring in .
- Zero The substrings are equal, or is zero.
- Greater than zero The substring in is greater than the substring in .
Compares two specified objects by evaluating the numeric values of the corresponding objects in each string.
The first string to compare.
The second string to compare.
An integer that indicates the lexical relationship between the two comparands.
Value Condition- Less than zero is less than .
- Zero and are equal.
- Greater than zero is greater than .
Compares this instance with a specified and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified .
An object that evaluates to a .
is not a .
A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the parameter.
Value Condition- Less than zero This instance precedes .
- Zero This instance has the same position in the sort order as .
- Greater than zero This instance follows .
-or-
is .
Compares this instance with a specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified string.
The string to compare with this instance.
A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the parameter.
Value Condition- Less than zero This instance precedes .
- Zero This instance has the same position in the sort order as .
- Greater than zero This instance follows .
-or-
is .
Concatenates the members of a constructed collection of type .
A collection object that implements and whose generic type argument is .
is .
The concatenated strings in , or if is an empty .
Concatenates the string representations of three specified objects.
The first object to concatenate.
The second object to concatenate.
The third object to concatenate.
The concatenated string representations of the values of , , and .
Concatenates the string representations of two specified objects.
The first object to concatenate.
The second object to concatenate.
The concatenated string representations of the values of and .
Creates the string representation of a specified object.
The object to represent, or .
The string representation of the value of , or if is .
Concatenates the string representations of the elements in a specified array.
An object array that contains the elements to concatenate.
is .
Out of memory.
The concatenated string representations of the values of the elements in .
Concatenates the string representations of four specified read-only character spans.
The first read-only character span to concatenate.
The second read-only character span to concatenate.
The third read-only character span to concatenate.
The fourth read-only character span to concatenate.
The concatenated string representations of the values of , , and .
Concatenates the string representations of three specified read-only character spans.
The first read-only character span to concatenate.
The second read-only character span to concatenate.
The third read-only character span to concatenate.
The concatenated string representations of the values of , and .
Concatenates the string representations of two specified read-only character spans.
The first read-only character span to concatenate.
The second read-only character span to concatenate.
The concatenated string representations of the values of and .
Concatenates the string representations of the elements in a specified span of objects.
A span of objects that contains the elements to concatenate.
The concatenated string representations of the values of the elements in .
Concatenates the elements of a specified span of .
A span of instances.
The concatenated elements of .
Concatenates four specified instances of .
The first string to concatenate.
The second string to concatenate.
The third string to concatenate.
The fourth string to concatenate.
The concatenation of , , , and .
Concatenates three specified instances of .
The first string to concatenate.
The second string to concatenate.
The third string to concatenate.
The concatenation of , , and .
Concatenates two specified instances of .
The first string to concatenate.
The second string to concatenate.
The concatenation of and .
Concatenates the elements of a specified array.
An array of string instances.
is .
Out of memory.
The concatenated elements of .
Concatenates the members of an implementation.
A collection object that implements the interface.
The type of the members of .
is .
The concatenated members in .
Returns a value indicating whether a specified character occurs within this string, using the specified comparison rules.
The character to seek.
One of the enumeration values that specifies the rules to use in the comparison.
if the parameter occurs within this string; otherwise, .
Returns a value indicating whether a specified character occurs within this string.
The character to seek.
if the parameter occurs within this string; otherwise, .
Returns a value indicating whether a specified string occurs within this string, using the specified comparison rules.
The string to seek.
One of the enumeration values that specifies the rules to use in the comparison.
if the parameter occurs within this string, or if is the empty string (""); otherwise, .
Returns a value indicating whether a specified substring occurs within this string.
The string to seek.
is .
if the parameter occurs within this string, or if is the empty string (""); otherwise, .
Creates a new instance of with the same value as a specified .
The string to copy.
is .
A new string with the same value as .
Copies a specified number of characters from a specified position in this instance to a specified position in an array of Unicode characters.
The index of the first character in this instance to copy.
An array of Unicode characters to which characters in this instance are copied.
The index in at which the copy operation begins.
The number of characters in this instance to copy to .
is .
, , or is negative
-or-
does not identify a position in the current instance.
-or-
does not identify a valid index in the array.
-or-
is greater than the length of the substring from to the end of this instance
-or-
is greater than the length of the subarray from to the end of the array.
Copies the contents of this string into the destination span.
The span into which to copy this string's contents.
The destination span is shorter than the source string.
Creates a new string by using the specified provider to control the formatting of the specified interpolated string.
An object that supplies culture-specific formatting information.
The interpolated string, passed by reference.
The string that results for formatting the interpolated string using the specified format provider.
Creates a new string by using the specified provider to control the formatting of the specified interpolated string.
An object that supplies culture-specific formatting information.
The initial buffer that may be used as temporary space as part of the formatting operation. The contents of this buffer may be overwritten.
The interpolated string, passed by reference.
The string that results for formatting the interpolated string using the specified format provider.
Creates a new string with a specific length and initializes it after creation by using the specified callback.
The length of the string to create.
The element to pass to .
A callback to initialize the string.
The type of the element to pass to .
The created string.
Determines whether the end of this string instance matches the specified character.
The character to compare to the character at the end of this instance.
if matches the end of this instance; otherwise, .
Determines whether the end of this string instance matches the specified string when compared using the specified culture.
The string to compare to the substring at the end of this instance.
to ignore case during the comparison; otherwise, .
Cultural information that determines how this instance and are compared. If is , the current culture is used.
is .
if the parameter matches the end of this string; otherwise, .
Determines whether the end of this string instance matches the specified string when compared using the specified comparison option.
The string to compare to the substring at the end of this instance.
One of the enumeration values that determines how this string and are compared.
is .
is not a value.
if the parameter matches the end of this string; otherwise, .
Determines whether the end of this string instance matches the specified string.
The string to compare to the substring at the end of this instance.
is .
if matches the end of this instance; otherwise, .
Returns an enumeration of from this string.
A string rune enumerator.
Determines whether this instance and a specified object, which must also be a object, have the same value.
The string to compare to this instance.
if is a and its value is the same as this instance; otherwise, . If is , the method returns .
Determines whether two specified objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
The first string to compare, or .
The second string to compare, or .
One of the enumeration values that specifies the rules for the comparison.
is not a value.
if the value of the parameter is equal to the value of the parameter; otherwise, .
Determines whether two specified objects have the same value.
The first string to compare, or .
The second string to compare, or .
if the value of is the same as the value of ; otherwise, . If both and are , the method returns .
Determines whether this string and a specified object have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
The string to compare to this instance.
One of the enumeration values that specifies how the strings will be compared.
is not a value.
if the value of the parameter is the same as this string; otherwise, .
Determines whether this instance and another specified object have the same value.
The string to compare to this instance.
if the value of the parameter is the same as the value of this instance; otherwise, . If is , the method returns .
Replaces the format items in a string with the string representation of three specified objects. A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
The first object to format.
The second object to format.
The third object to format.
is .
is invalid.
-or-
The index of a format item is less than zero, or greater than two.
A copy of in which the format items have been replaced by the string representations of , , and .
Replaces the format items in a string with the string representation of two specified objects. A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
The first object to format.
The second object to format.
is .
is invalid.
-or-
The index of a format item is not zero or one.
A copy of in which format items are replaced by the string representations of and .
Replaces the format item or items in a specified string with the string representation of the corresponding object. A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
The object to format.
is .
is invalid.
-or-
The index of a format item is not zero.
A copy of in which the format item or items have been replaced by the string representation of .
Replaces the format items in a string with the string representations of corresponding objects in a specified array. A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
An object array that contains zero or more objects to format.
or is .
is invalid.
-or-
The index of a format item is less than zero, or greater than or equal to the length of the array.
A copy of in which the format items have been replaced by the string representation of the corresponding objects in .
Replaces the format items in a string with the string representations of corresponding objects in a specified span.
A parameter supplies culture-specific formatting information.
An object that supplies culture-specific formatting information.
A composite format string.
An object span that contains zero or more objects to format.
A copy of in which the format items have been replaced by the string representation of the corresponding objects in .
Replaces the format item or items in a with the string representation of the corresponding objects in the specified format.
An object that supplies culture-specific formatting information.
A .
An array of objects to format.
or is .
The index of a format item is greater than or equal to the number of supplied arguments.
The formatted string.
Replaces the format item or items in a with the string representation of the corresponding objects in the specified format.
An object that supplies culture-specific formatting information.
A .
A span of objects to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
The formatted string.
Replaces the format items in a string with the string representation of three specified objects.
A composite format string.
The first object to format.
The second object to format.
The third object to format.
is .
is invalid.
-or-
The index of a format item is less than zero, or greater than two.
A copy of in which the format items have been replaced by the string representations of , , and .
Replaces the format items in a string with the string representation of two specified objects.
A composite format string.
The first object to format.
The second object to format.
is .
is invalid.
-or-
The index of a format item is not zero or one.
A copy of in which format items are replaced by the string representations of and .
Replaces one or more format items in a string with the string representation of a specified object.
A composite format string.
The object to format.
is .
The format item in is invalid.
-or-
The index of a format item is not zero.
A copy of in which any format items are replaced by the string representation of .
Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
A composite format string.
An object array that contains zero or more objects to format.
or is .
is invalid.
-or-
The index of a format item is less than zero, or greater than or equal to the length of the array.
A copy of in which the format items have been replaced by the string representation of the corresponding objects in .
Replaces the format item in a specified string with the string representation of a corresponding object in a specified span.
A composite format string.
An object span that contains zero or more objects to format.
A copy of in which the format items have been replaced by the string representation of the corresponding objects in .
Replaces the format item or items in a with the string representation of the corresponding objects in the specified format.
An object that supplies culture-specific formatting information.
A .
The first object to format.
The type of the first object to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
The formatted string.
Replaces the format item or items in a with the string representation of the corresponding objects in the specified format.
An object that supplies culture-specific formatting information.
A .
The first object to format.
The second object to format.
The type of the first object to format.
The type of the second object to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
The formatted string.
Replaces the format item or items in a with the string representation of the corresponding objects in the specified format.
An object that supplies culture-specific formatting information.
A .
The first object to format.
The second object to format.
The third object to format.
The type of the first object to format.
The type of the second object to format.
The type of the third object to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
The formatted string.
Retrieves an object that can iterate through the individual characters in this string.
An enumerator object.
Returns the hash code for this string.
A 32-bit signed integer hash code.
Returns the hash code for the provided read-only character span using the specified rules.
A read-only character span.
One of the enumeration values that specifies the rules to use in the comparison.
A 32-bit signed integer hash code.
Returns the hash code for the provided read-only character span.
A read-only character span.
A 32-bit signed integer hash code.
Returns the hash code for this string using the specified rules.
One of the enumeration values that specifies the rules to use in the comparison.
A 32-bit signed integer hash code.
Returns a reference to the element of the string at index zero.
This method is intended to support .NET compilers and is not intended to be called by user code.
The string is null.
A reference to the first character in the string, or a reference to the string's null terminator if the string is empty.
Returns the for the class.
The enumerated constant, .
Reports the zero-based index of the first occurrence of the specified character in this instance. The search starts at a specified character position and examines a specified number of character positions.
A Unicode character to seek.
The search starting position.
The number of character positions to examine.
or is negative.
-or-
is greater than the length of this string.
-or-
is greater than the length of this string minus .
The zero-based index position of from the start of the string if that character is found, or -1 if it is not.
Reports the zero-based index of the first occurrence of the specified Unicode character in this string. The search starts at a specified character position.
A Unicode character to seek.
The search starting position.
is less than 0 (zero) or greater than the length of the string.
The zero-based index position of from the start of the string if that character is found, or -1 if it is not.
Reports the zero-based index of the first occurrence of the specified Unicode character in this string. A parameter specifies the type of search to use for the specified character.
The character to seek.
An enumeration value that specifies the rules for the search.
is not a valid value.
The zero-based index of if that character is found, or -1 if it is not.
Reports the zero-based index of the first occurrence of the specified Unicode character in this string.
A Unicode character to seek.
The zero-based index position of if that character is found, or -1 if it is not.
Reports the zero-based index of the first occurrence of the specified string in the current object. Parameters specify the starting search position in the current string, the number of characters in the current string to search, and the type of search to use for the specified string.
The string to seek.
The search starting position.
The number of character positions to examine.
One of the enumeration values that specifies the rules for the search.
is .
or is negative.
-or-
is greater than the length of this instance.
-or-
is greater than the length of this string minus .
is not a valid value.
The zero-based index position of the parameter from the start of the current instance if that string is found, or -1 if it is not. If is , the return value is .
Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position and examines a specified number of character positions.
The string to seek.
The search starting position.
The number of character positions to examine.
is .
or is negative.
-or-
is greater than the length of this string.
-or-
is greater than the length of this string minus .
The zero-based index position of from the start of the current instance if that string is found, or -1 if it is not. If is , the return value is .
Reports the zero-based index of the first occurrence of the specified string in the current object. Parameters specify the starting search position in the current string and the type of search to use for the specified string.
The string to seek.
The search starting position.
One of the enumeration values that specifies the rules for the search.
is .
is less than 0 (zero) or greater than the length of this string.
is not a valid value.
The zero-based index position of the parameter from the start of the current instance if that string is found, or -1 if it is not. If is , the return value is .
Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position.
The string to seek.
The search starting position.
is .
is less than 0 (zero) or greater than the length of this string.
The zero-based index position of from the start of the current instance if that string is found, or -1 if it is not. If is , the return value is .
Reports the zero-based index of the first occurrence of the specified string in the current object. A parameter specifies the type of search to use for the specified string.
The string to seek.
One of the enumeration values that specifies the rules for the search.
is .
is not a valid value.
The index position of the parameter if that string is found, or -1 if it is not. If is , the return value is 0.
Reports the zero-based index of the first occurrence of the specified string in this instance.
The string to seek.
is .
The zero-based index position of if that string is found, or -1 if it is not. If is , the return value is 0.
Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position and examines a specified number of character positions.
A Unicode character array containing one or more characters to seek.
The search starting position.
The number of character positions to examine.
is .
or is negative.
-or-
+ is greater than the number of characters in this instance.
The zero-based index position of the first occurrence in this instance where any character in was found; -1 if no character in was found.
Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position.
A Unicode character array containing one or more characters to seek.
The search starting position.
is .
is negative.
-or-
is greater than the number of characters in this instance.
The zero-based index position of the first occurrence in this instance where any character in was found; -1 if no character in was found.
Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters.
A Unicode character array containing one or more characters to seek.
is .
The zero-based index position of the first occurrence in this instance where any character in was found; -1 if no character in was found.
Returns a new string in which a specified string is inserted at a specified index position in this instance.
The zero-based index position of the insertion.
The string to insert.
is .
is negative or greater than the length of this instance.
A new string that is equivalent to this instance, but with inserted at position .
Retrieves the system's reference to the specified .
A string to search for in the intern pool.
is .
The system's reference to , if it is interned; otherwise, a new reference to a string with the value of .
Retrieves a reference to a specified .
The string to search for in the intern pool.
is .
A reference to if it is in the common language runtime intern pool; otherwise, .
Indicates whether this string is in Unicode normalization form C.
The current instance contains invalid Unicode characters.
if this string is in normalization form C; otherwise, .
Indicates whether this string is in the specified Unicode normalization form.
A Unicode normalization form.
The current instance contains invalid Unicode characters.
if this string is in the normalization form specified by the parameter; otherwise, .
Indicates whether the specified string is or an empty string ("").
The string to test.
if the parameter is or an empty string (""); otherwise, .
Indicates whether a specified string is , empty, or consists only of white-space characters.
The string to test.
if the parameter is or , or if consists exclusively of white-space characters.
Concatenates the string representations of an array of objects, using the specified separator between each member.
The character to use as a separator. is included in the returned string only if has more than one element.
An array of objects whose string representations will be concatenated.
is .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of the elements of delimited by the character.
-or-
if has zero elements.
Concatenates the string representations of a span of objects, using the specified separator between each member.
The character to use as a separator. is included in the returned string only if value has more than one element.
A span of objects whose string representations will be concatenated.
A string that consists of the elements of delimited by the character.
-or- if has zero elements.
Concatenates a span of strings, using the specified separator between each member.
The character to use as a separator. is included in the returned string only if has more than one element.
A span that contains the elements to concatenate.
A string that consists of the elements of delimited by the string.
-or- if has zero elements.
Concatenates an array of strings, using the specified separator between each member, starting with the element in located at the position, and concatenating up to elements.
Concatenates an array of strings, using the specified separator between each member, starting with the element located at the specified index and including a specified number of elements.
An array of strings to concatenate.
The first item in to concatenate.
The number of elements from to concatenate, starting with the element in the position.
is .
or are negative.
-or-
is greater than the length of - .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of elements of starting at delimited by the character.
-or-
if is zero.
Concatenates an array of strings, using the specified separator between each member.
The character to use as a separator. is included in the returned string only if has more than one element.
An array of strings to concatenate.
is .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of the elements of delimited by the character.
-or-
if has zero elements.
Concatenates the members of a constructed collection of type , using the specified separator between each member.
The string to use as a separator. is included in the returned string only if has more than one element.
A collection that contains the strings to concatenate.
is .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of the elements of delimited by the string.
-or-
if has zero elements.
Concatenates the elements of an object array, using the specified separator between each element.
The string to use as a separator. is included in the returned string only if has more than one element.
An array that contains the elements to concatenate.
is .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of the elements of delimited by the string.
-or-
if has zero elements.
-or-
.NET Framework only: if the first element of is .
Concatenates the string representations of a span of objects, using the specified separator between each member.
The string to use as a separator. is included in the returned string only if has more than one element.
A span of objects whose string representations will be concatenated.
A string that consists of the elements of delimited by the string.
-or- if has zero elements.
Concatenates a span of strings, using the specified separator between each member.
The string to use as a separator. is included in the returned string only if has more than one element.
A span that contains the elements to concatenate.
A string that consists of the elements of delimited by the string.
-or- if has zero elements.
Concatenates the specified elements of a string array, using the specified separator between each element.
The string to use as a separator. is included in the returned string only if has more than one element.
An array that contains the elements to concatenate.
The first element in to use.
The number of elements of to use.
is .
or is less than 0.
-or-
plus is greater than the number of elements in .
Out of memory.
A string that consists of elements of starting at delimited by the character.
-or-
if is zero.
Concatenates all the elements of a string array, using the specified separator between each element.
The string to use as a separator. is included in the returned string only if has more than one element.
An array that contains the elements to concatenate.
is .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of the elements in delimited by the string.
-or-
if has zero elements.
Concatenates the members of a collection, using the specified separator between each member.
The character to use as a separator. is included in the returned string only if has more than one element.
A collection that contains the objects to concatenate.
The type of the members of .
is .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of the members of delimited by the character.
-or-
if has no elements.
Concatenates the members of a collection, using the specified separator between each member.
The string to use as a separator. is included in the returned string only if has more than one element.
A collection that contains the objects to concatenate.
The type of the members of .
is .
The length of the resulting string overflows the maximum allowed length (Int32.MaxValue).
A string that consists of the elements of delimited by the string.
-or-
if has no elements.
Reports the zero-based index position of the last occurrence of the specified Unicode character in a substring within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
The Unicode character to seek.
The starting position of the search. The search proceeds from toward the beginning of this instance.
The number of character positions to examine.
The current instance does not equal , and is less than zero or greater than or equal to the length of this instance.
-or-
The current instance does not equal , and - + 1 is less than zero.
The zero-based index position of if that character is found, or -1 if it is not found or if the current instance equals .
Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string.
The Unicode character to seek.
The starting position of the search. The search proceeds from toward the beginning of this instance.
The current instance does not equal , and is less than zero or greater than or equal to the length of this instance.
The zero-based index position of if that character is found, or -1 if it is not found or if the current instance equals .
Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
The Unicode character to seek.
The zero-based index position of if that character is found, or -1 if it is not.
Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for the specified number of character positions. A parameter specifies the type of comparison to perform when searching for the specified string.
The string to seek.
The search starting position. The search proceeds from toward the beginning of this instance.
The number of character positions to examine.
One of the enumeration values that specifies the rules for the search.
is .
is negative.
-or-
The current instance does not equal , and is negative.
-or-
The current instance does not equal , and is greater than the length of this instance.
-or-
The current instance does not equal , and + 1 - specifies a position that is not within this instance.
-or-
The current instance equals and is less than -1 or greater than zero.
-or-
The current instance equals and is greater than 1.
is not a valid value.
The zero-based starting index position of the parameter if that string is found, or -1 if it is not found or if the current instance equals .
Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
The string to seek.
The search starting position. The search proceeds from toward the beginning of this instance.
The number of character positions to examine.
is .
is negative.
-or-
The current instance does not equal , and is negative.
-or-
The current instance does not equal , and is greater than the length of this instance.
-or-
The current instance does not equal , and - + 1 specifies a position that is not within this instance.
-or-
The current instance equals and is less than -1 or greater than zero.
-or-
The current instance equals and is greater than 1.
The zero-based starting index position of if that string is found, or -1 if it is not found or if the current instance equals .
Reports the zero-based index of the last occurrence of a specified string within the current object. The search starts at a specified character position and proceeds backward toward the beginning of the string. A parameter specifies the type of comparison to perform when searching for the specified string.
The string to seek.
The search starting position. The search proceeds from toward the beginning of this instance.
One of the enumeration values that specifies the rules for the search.
is .
The current instance does not equal , and is less than zero or greater than the length of the current instance.
-or-
The current instance equals , and is less than -1 or greater than zero.
is not a valid value.
The zero-based starting index position of the parameter if that string is found, or -1 if it is not found or if the current instance equals .
Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string.
The string to seek.
The search starting position. The search proceeds from toward the beginning of this instance.
is .
The current instance does not equal , and is less than zero or greater than the length of the current instance.
-or-
The current instance equals , and is less than -1 or greater than zero.
The zero-based starting index position of if that string is found, or -1 if it is not found or if the current instance equals .
Reports the zero-based index of the last occurrence of a specified string within the current object. A parameter specifies the type of search to use for the specified string.
The string to seek.
One of the enumeration values that specifies the rules for the search.
is .
is not a valid value.
The zero-based starting index position of the parameter if that string is found, or -1 if it is not.
Reports the zero-based index position of the last occurrence of a specified string within this instance.
The string to seek.
is .
The zero-based starting index position of if that string is found, or -1 if it is not.
Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
A Unicode character array containing one or more characters to seek.
The search starting position. The search proceeds from toward the beginning of this instance.
The number of character positions to examine.
is .
The current instance does not equal , and or is negative.
-or-
The current instance does not equal , and minus + 1 is less than zero.
The index position of the last occurrence in this instance where any character in was found; -1 if no character in was found or if the current instance equals .
Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position and proceeds backward toward the beginning of the string.
A Unicode character array containing one or more characters to seek.
The search starting position. The search proceeds from toward the beginning of this instance.
is .
The current instance does not equal , and specifies a position that is not within this instance.
The index position of the last occurrence in this instance where any character in was found; -1 if no character in was found or if the current instance equals .
Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
A Unicode character array containing one or more characters to seek.
is .
The index position of the last occurrence in this instance where any character in was found; -1 if no character in was found.
Returns a new string whose textual value is the same as this string, but whose binary representation is in Unicode normalization form C.
The current instance contains invalid Unicode characters.
A new, normalized string whose textual value is the same as this string, but whose binary representation is in normalization form C.
Returns a new string whose textual value is the same as this string, but whose binary representation is in the specified Unicode normalization form.
A Unicode normalization form.
The current instance contains invalid Unicode characters.
A new string whose textual value is the same as this string, but whose binary representation is in the normalization form specified by the parameter.
Determines whether two specified strings have the same value.
The first string to compare, or .
The second string to compare, or .
if the value of is the same as the value of ; otherwise, .
Defines an implicit conversion of a given string to a read-only span of characters.
A string to implicitly convert.
A new read-only span of characters representing the string.
Determines whether two specified strings have different values.
The first string to compare, or .
The second string to compare, or .
if the value of is different from the value of ; otherwise, .
Returns a new string that right-aligns the characters in this instance by padding them on the left with a specified Unicode character, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A Unicode padding character.
is less than zero.
A new string that is equivalent to this instance, but right-aligned and padded on the left with as many characters as needed to create a length of . However, if is less than the length of this instance, the method returns a reference to the existing instance. If is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string that right-aligns the characters in this instance by padding them with spaces on the left, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
is less than zero.
A new string that is equivalent to this instance, but right-aligned and padded on the left with as many spaces as needed to create a length of . However, if is less than the length of this instance, the method returns a reference to the existing instance. If is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string that left-aligns the characters in this string by padding them on the right with a specified Unicode character, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
A Unicode padding character.
is less than zero.
A new string that is equivalent to this instance, but left-aligned and padded on the right with as many characters as needed to create a length of . However, if is less than the length of this instance, the method returns a reference to the existing instance. If is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string that left-aligns the characters in this string by padding them with spaces on the right, for a specified total length.
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
is less than zero.
A new string that is equivalent to this instance, but left-aligned and padded on the right with as many spaces as needed to create a length of . However, if is less than the length of this instance, the method returns a reference to the existing instance. If is equal to the length of this instance, the method returns a new string that is identical to this instance.
Returns a new string in which a specified number of characters in the current instance beginning at a specified position have been deleted.
The zero-based position to begin deleting characters.
The number of characters to delete.
Either or is less than zero.
-or-
plus specify a position outside this instance.
A new string that is equivalent to this instance except for the removed characters.
Returns a new string in which all the characters in the current instance, beginning at a specified position and continuing through the last position, have been deleted.
The zero-based position to begin deleting characters.
is less than zero.
-or-
is greater than the length of this instance.
A new string that is equivalent to this string except for the removed characters.
Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character.
The Unicode character to be replaced.
The Unicode character to replace all occurrences of .
A string that is equivalent to this instance except that all instances of are replaced with . If is not found in the current instance, the method returns the current instance unchanged.
Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string, using the provided culture and case sensitivity.
The string to be replaced.
The string to replace all occurrences of .
to ignore casing when comparing; otherwise.
The culture to use when comparing. If is , the current culture is used.
is .
is the empty string ("").
A string that is equivalent to the current string except that all instances of are replaced with . If is not found in the current instance, the method returns the current instance unchanged.
Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string, using the provided comparison type.
The string to be replaced.
The string to replace all occurrences of .
One of the enumeration values that determines how is searched within this instance.
is .
is the empty string ("").
A string that is equivalent to the current string except that all instances of are replaced with . If is not found in the current instance, the method returns the current instance unchanged.
Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string.
The string to be replaced.
The string to replace all occurrences of .
is .
is the empty string ("").
A string that is equivalent to the current string except that all instances of are replaced with . If is not found in the current instance, the method returns the current instance unchanged.
Replaces all newline sequences in the current string with .
A string whose contents match the current string, but with all newline sequences replaced with .
Replaces all newline sequences in the current string with .
The text to use as replacement.
A string whose contents match the current string, but with all newline sequences replaced with .
Splits a string into a maximum number of substrings based on the provided character separator, optionally omitting empty substrings from the result.
A character that delimits the substrings in this instance.
The maximum number of elements expected in the array.
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
An array that contains at most substrings from this instance that are delimited by .
Splits a string into substrings based on a specified delimiting character and, optionally, options.
A character that delimits the substrings in this string.
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
An array whose elements contain the substrings from this instance that are delimited by .
Splits a string into a maximum number of substrings based on specified delimiting characters and, optionally, options.
An array of characters that delimit the substrings in this string, an empty array that contains no delimiters, or .
The maximum number of substrings to return.
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
is negative.
is not one of the values.
An array that contains the substrings in this string that are delimited by one or more characters in . For more information, see the Remarks section.
Splits a string into a maximum number of substrings based on specified delimiting characters.
An array of characters that delimit the substrings in this string, an empty array that contains no delimiters, or .
The maximum number of substrings to return.
is negative.
An array whose elements contain the substrings in this instance that are delimited by one or more characters in . For more information, see the Remarks section.
Splits a string into substrings based on specified delimiting characters and options.
An array of characters that delimit the substrings in this string, an empty array that contains no delimiters, or .
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
is not one of the values.
An array whose elements contain the substrings in this string that are delimited by one or more characters in . For more information, see the Remarks section.
Splits a string into substrings based on specified delimiting characters.
An array of delimiting characters, an empty array that contains no delimiters, or .
An array whose elements contain the substrings from this instance that are delimited by one or more characters in . For more information, see the Remarks section.
Splits a string into substrings based on specified delimiting characters.
A span of delimiting characters, or an empty span that contains no delimiters.
An array whose elements contain the substrings from this instance that are delimited by one or more characters in .
Splits a string into a maximum number of substrings based on a specified delimiting string and, optionally, options.
A string that delimits the substrings in this instance.
The maximum number of elements expected in the array.
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
An array that contains at most substrings from this instance that are delimited by .
Splits a string into substrings that are based on the provided string separator.
A string that delimits the substrings in this string.
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
An array whose elements contain the substrings from this instance that are delimited by .
Splits a string into a maximum number of substrings based on specified delimiting strings and, optionally, options.
The strings that delimit the substrings in this string, an empty array that contains no delimiters, or .
The maximum number of substrings to return.
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
is negative.
is not one of the values.
An array whose elements contain the substrings in this string that are delimited by one or more strings in . For more information, see the Remarks section.
Splits a string into substrings based on a specified delimiting string and, optionally, options.
An array of strings that delimit the substrings in this string, an empty array that contains no delimiters, or .
A bitwise combination of the enumeration values that specifies whether to trim substrings and include empty substrings.
is not one of the values.
An array whose elements contain the substrings in this string that are delimited by one or more strings in . For more information, see the Remarks section.
Determines whether this string instance starts with the specified character.
The character to compare.
if matches the beginning of this string; otherwise, .
Determines whether the beginning of this string instance matches the specified string when compared using the specified culture.
The string to compare.
to ignore case during the comparison; otherwise, .
Cultural information that determines how this string and are compared. If is , the current culture is used.
is .
if the parameter matches the beginning of this string; otherwise, .
Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option.
The string to compare.
One of the enumeration values that determines how this string and are compared.
is .
is not a value.
if this instance begins with ; otherwise, .
Determines whether the beginning of this string instance matches the specified string.
The string to compare.
is .
if matches the beginning of this string; otherwise, .
Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
The zero-based starting character position of a substring in this instance.
The number of characters in the substring.
plus indicates a position not within this instance.
-or-
or is less than zero.
A string that is equivalent to the substring of length that begins at in this instance, or if is equal to the length of this instance and is zero.
Retrieves a substring from this instance. The substring starts at a specified character position and continues to the end of the string.
The zero-based starting character position of a substring in this instance.
is less than zero or greater than the length of this instance.
A string that is equivalent to the substring that begins at in this instance, or if is equal to the length of this instance.
Returns an enumerator that iterates through the current object.
A strongly-typed enumerator that can be used to iterate through the current object.
Returns an enumerator that iterates through the current object.
An enumerator that can be used to iterate through the current string.
For a description of this member, see .
This parameter is ignored.
The value of the current string is not or .
if the value of the current string is ; if the value of the current string is .
For a description of this member, see .
An object that provides culture-specific formatting information.
The value of the current object cannot be parsed.
The value of the current object is a number greater than Byte.MaxValue or less than Byte.MinValue.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The character at index 0 in the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The value of the current object cannot be parsed.
The value of the current object is a number less than Decimal.MinValue or than Decimal.MaxValue greater.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The value of the current object cannot be parsed.
The value of the current object is a number less than Double.MinValue or greater than Double.MaxValue.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The value of the current object cannot be parsed.
The value of the current object is a number greater than Int16.MaxValue or less than Int16.MinValue.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The value of the current object cannot be parsed.
The value of the current object is a number greater than SByte.MaxValue or less than SByte.MinValue.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The converted value of the current object.
For a description of this member, see .
The type of the returned object.
An object that provides culture-specific formatting information.
is .
The value of the current object cannot be converted to the type specified by the parameter.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The value of the current object cannot be parsed.
The value of the current object is a number greater than UInt16.MaxValue or less than UInt16.MinValue.
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The value of the current object cannot be parsed.
The value of the current object is a number greater UInt32.MaxValue or less than UInt32.MinValue
The converted value of the current object.
For a description of this member, see .
An object that provides culture-specific formatting information.
The converted value of the current object.
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Copies the characters in this instance to a Unicode character array.
A Unicode character array whose elements are the individual characters of this instance. If this instance is an empty string, the returned array is empty and has a zero length.
Copies the characters in a specified substring in this instance to a Unicode character array.
The starting position of a substring in this instance.
The length of the substring in this instance.
or is less than zero.
-or-
plus is greater than the length of this instance.
A Unicode character array whose elements are the number of characters in this instance starting from character position .
Returns a copy of this string converted to lowercase.
A string in lowercase.
Returns a copy of this string converted to lowercase, using the casing rules of the specified culture.
An object that supplies culture-specific casing rules. If is , the current culture is used.
The lowercase equivalent of the current string.
Returns a copy of this object converted to lowercase using the casing rules of the invariant culture.
The lowercase equivalent of the current string.
Returns this instance of ; no actual conversion is performed.
The current string.
Returns this instance of ; no actual conversion is performed.
(Reserved) An object that supplies culture-specific formatting information.
The current string.
Returns a copy of this string converted to uppercase.
The uppercase equivalent of the current string.
Returns a copy of this string converted to uppercase, using the casing rules of the specified culture.
An object that supplies culture-specific casing rules. If is , the current culture is used.
The uppercase equivalent of the current string.
Returns a copy of this object converted to uppercase using the casing rules of the invariant culture.
The uppercase equivalent of the current string.
Removes all leading and trailing white-space characters from the current string.
The string that remains after all white-space characters are removed from the start and end of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all leading and trailing instances of a character from the current string.
A Unicode character to remove.
The string that remains after all instances of the character are removed from the start and end of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all leading and trailing occurrences of a set of characters specified in an array from the current string.
An array of Unicode characters to remove, or .
The string that remains after all occurrences of the characters in the parameter are removed from the start and end of the current string. If is or an empty array, white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all the trailing white-space characters from the current string.
The string that remains after all white-space characters are removed from the end of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all the trailing occurrences of a character from the current string.
A Unicode character to remove.
The string that remains after all occurrences of the character are removed from the end of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all the trailing occurrences of a set of characters specified in an array from the current string.
An array of Unicode characters to remove, or .
The string that remains after all occurrences of the characters in the parameter are removed from the end of the current string. If is or an empty array, Unicode white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all the leading white-space characters from the current string.
The string that remains after all white-space characters are removed from the start of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all the leading occurrences of a specified character from the current string.
The Unicode character to remove.
The string that remains after all occurrences of the character are removed from the start of the current string. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Removes all the leading occurrences of a set of characters specified in an array from the current string.
An array of Unicode characters to remove, or .
The string that remains after all occurrences of characters in the parameter are removed from the start of the current string. If is or an empty array, white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.
Copies the contents of this string into the destination span.
The span into which to copy this string's contents.
if the data was copied; if the destination was too short to fit the contents of the string.
Gets the object at a specified position in the current object.
A position in the current string.
is greater than or equal to the length of this object or less than zero.
The object at position .
Gets the number of characters in the current object.
The number of characters in the current string.
Represents a string comparison operation that uses specific case and culture-based or ordinal comparison rules.
Initializes a new instance of the class.
When overridden in a derived class, compares two objects and returns an indication of their relative sort order.
An object to compare to .
An object to compare to .
Neither nor is a object, and neither nor implements the interface.
A signed integer that indicates the relative values of and , as shown in the following table.
Value Meaning- Less than zero precedes in the sort order, or is and is not .
- Zero is equal to , or and are both .
- Greater than zero follows in the sort order, or is and is not .
When overridden in a derived class, compares two strings and returns an indication of their relative sort order.
A string to compare to .
A string to compare to .
A signed integer that indicates the relative values of and , as shown in the following table.
Value Meaning- Less than zero precedes in the sort order, or is and is not .
- Zero is equal to , or and are both .
- Greater than zero follows in the sort order, or is and is not .
Creates a object that compares strings according to the rules of a specified culture.
A culture whose linguistic rules are used to perform a string comparison.
to specify that comparison operations be case-insensitive; to specify that comparison operations be case-sensitive.
is .
A new object that performs string comparisons according to the comparison rules used by the parameter and the case rule specified by the parameter.
Creates a object that compares strings according to the rules of a specified culture and string options.
A culture whose linguistic rules are used to perform a string comparison.
A bitwise combination of the values.
is .
has invalid flags.
A new object that performs string comparisons according to the comparison rules used by the parameter and the specified .
When overridden in a derived class, indicates whether two objects are equal.
An object to compare to .
An object to compare to .
if and refer to the same object, or and are both the same type of object and those objects are equal, or both and are ; otherwise, .
When overridden in a derived class, indicates whether two strings are equal.
A string to compare to .
A string to compare to .
if and refer to the same object, or and are equal, or and are ; otherwise, .
Converts the specified instance to a instance.
A string comparer instance to convert.
The specified string comparison is not supported.
A instance representing the equivalent value of the specified instance.
When overridden in a derived class, gets the hash code for the specified object.
An object.
Not enough memory is available to allocate the buffer that is required to compute the hash code.
is .
A 32-bit signed hash code calculated from the value of the parameter.
When overridden in a derived class, gets the hash code for the specified string.
A string.
Not enough memory is available to allocate the buffer that is required to compute the hash code.
is .
A 32-bit signed hash code calculated from the value of the parameter.
Determines whether the specified is a well-known culture-aware string comparer.
The comparer to query.
When this method returns, contains a value indicating which was used to create . Set to if this method returns .
When this method returns, contains a value indicating which was used to create . Set to if this method returns .
if is a well-known culture-aware string comparer; otherwise, .
Determines whether the specified is a well-known ordinal string comparer.
The comparer to query.
When this method returns, contains a value stating whether is case-insensitive. Set to if this method returns .
if is a well-known ordinal string comparer; otherwise, .
Gets a object that performs a case-sensitive string comparison using the word comparison rules of the current culture.
A new object.
Gets a object that performs case-insensitive string comparisons using the word comparison rules of the current culture.
A new object for string comparison.
Gets a object that performs a case-sensitive string comparison using the word comparison rules of the invariant culture.
A new object.
Gets a object that performs a case-insensitive string comparison using the word comparison rules of the invariant culture.
A new object.
Gets a object that performs a case-sensitive ordinal string comparison.
A object.
Gets a object that performs a case-insensitive ordinal string comparison.
A object.
Specifies the culture, case, and sort rules to be used by certain overloads of the and methods.
Compare strings using culture-sensitive sort rules and the current culture.
Compare strings using culture-sensitive sort rules, the current culture, and ignoring the case of the strings being compared.
Compare strings using culture-sensitive sort rules and the invariant culture.
Compare strings using culture-sensitive sort rules, the invariant culture, and ignoring the case of the strings being compared.
Compare strings using ordinal (binary) sort rules.
Compare strings using ordinal (binary) sort rules and ignoring the case of the strings being compared.
Provides extension methods to work with string normalization.
Gets the estimated length of the normalized form of the specified string in the .
The character span to get the estimated length of the normalized form.
The normalization form to use.
The specified character span contains an invalid code point or the normalization form is invalid.
The estimated length of the normalized form of the specified string.
Determines whether the specified span of characters is in a normalized form.
The span of characters to check.
The normalization form to use.
The specified character span contains an invalid code point or the normalization form is invalid.
if the specified span of characters is in a normalized form; otherwise, .
Indicates whether a string is in a specified Unicode normalization form.
A Unicode normalization form.
is .
contains invalid Unicode characters.
if is in normalization form ; otherwise, .
Indicates whether the specified string is in Unicode normalization form C.
is .
contains invalid Unicode characters.
if is in normalization form C; otherwise, .
Normalizes a string to the specified Unicode normalization form.
The Unicode normalization form.
is .
contains invalid Unicode characters.
A new string whose textual value is the same as but whose binary representation is in the normalization form.
Normalizes a string to a Unicode normalization form C.
is .
contains invalid Unicode characters.
A new string whose textual value is the same as but whose binary representation is in Unicode normalization form C.
Normalizes the specified span of characters to the specified normalization form.
The span of characters to normalize.
The buffer to write the normalized characters to.
When this method returns, contains the number of characters written to .
The normalization form to use.
The specified character span contains an invalid code point or the normalization form is invalid.
if the specified span of characters was successfully normalized; otherwise, .
Specifies options for applicable method overloads, such as whether to omit empty substrings from the returned array or trim whitespace from substrings.
Use the default options when splitting strings.
Omit array elements that contain an empty string from the result.
If and are specified together, then substrings that consist only of white-space characters are also removed from the result.
Trim white-space characters from each substring in the result. This field is available in .NET 5 and later versions only.
If and are specified together, then substrings that consist only of white-space characters are also removed from the result.
Serves as the base class for system exceptions namespace.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Provides helper methods for working with ASCII-encoded text as bytes or characters.
Determines whether the provided buffers contain equal ASCII characters.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal and ASCII; otherwise.
Determines whether the provided buffers contain equal ASCII characters.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal and ASCII; otherwise.
Determines whether the provided buffers contain equal ASCII characters.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal and ASCII; otherwise.
Determines whether the provided buffers contain equal ASCII characters.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal and ASCII; otherwise.
Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal ignoring case considerations and ASCII; otherwise.
Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal ignoring case considerations and ASCII; otherwise.
Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal ignoring case considerations and ASCII; otherwise.
Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.
The buffer to compare with .
The buffer to compare with .
if the corresponding elements in and are equal ignoring case considerations and ASCII; otherwise.
Copies text from a source buffer to a destination buffer, converting from UTF-16 to ASCII during the copy.
The source buffer from which UTF-16 text is read.
The destination buffer to which ASCII text is written.
When this method returns, contains the number of bytes actually written to . It's the same as the number of chars actually read from .
An describing the result of the operation.
Determines whether the provided value is ASCII byte.
The value to inspect.
if is ASCII, otherwise.
Determines whether the provided value is ASCII char.
The value to inspect.
if is ASCII, otherwise.
Determines whether the provided value contains only ASCII bytes.
The value to inspect.
if contains only ASCII bytes or is empty; otherwise.
Determines whether the provided value contains only ASCII chars.
The value to inspect.
if contains only ASCII chars or is empty; otherwise.
Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which lowercase text is written.
When this method returns, contains the number of bytes actually written to . It's the same as the number of bytes actually read from .
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which lowercase text is written.
When this method returns, contains the number of characters actually written to . It's the same as the number of bytes actually read from .
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which lowercase text is written.
When this method returns, contains the number of bytes actually written to . It's the same as the number of characters actually read from .
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which lowercase text is written.
When this method returns, contains the number of characters actually written to . It's the same as the number of characters actually read from .
An describing the result of the operation.
Performs in-place uppercase conversion.
The ASCII text buffer.
When this method returns, contains the number of processed bytes.
An describing the result of the operation.
Performs in-place uppercase conversion.
The ASCII text buffer.
When this method returns, contains the number of processed characters.
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting ASCII letters to uppercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which uppercase text is written.
When this method returns, contains the number of bytes actually written to . It's the same as the number of bytes actually read from .
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting ASCII letters to uppercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which uppercase text is written.
When this method returns, contains the number of characters actually written to . It's the same as the number of bytes actually read from .
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting ASCII letters to uppercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which uppercase text is written.
When this method returns, contains the number of bytes actually written to . It's the same as the number of characters actually read from .
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting ASCII letters to uppercase during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which uppercase text is written.
When this method returns, contains the number of characters actually written to . It's the same as the number of characters actually read from .
An describing the result of the operation.
Performs in-place lowercase conversion.
The ASCII text buffer.
When this method returns, contains the number of processed bytes.
An describing the result of the operation.
Performs in-place lowercase conversion.
The ASCII text buffer.
When this method returns, contains the number of processed characters.
An describing the result of the operation.
Copies text from a source buffer to a destination buffer, converting from ASCII to UTF-16 during the copy.
The source buffer from which ASCII text is read.
The destination buffer to which UTF-16 text is written.
When this method returns, contains the number of chars actually written to . It's the same as the number of bytes actually read from
An describing the result of the operation.
Trims all leading and trailing ASCII whitespaces from the buffer.
The ASCII buffer.
The range of the untrimmed data.
Trims all leading and trailing ASCII whitespaces from the buffer.
The ASCII buffer.
The range of the untrimmed data.
Trims all trailing ASCII whitespaces from the buffer.
The ASCII buffer.
The range of the untrimmed data.
Trims all trailing ASCII whitespaces from the buffer.
The ASCII buffer.
The range of the untrimmed data.
Trims all leading ASCII whitespaces from the buffer.
The ASCII buffer.
The range of the untrimmed data.
Trims all leading ASCII whitespaces from the buffer.
The ASCII buffer.
The range of the untrimmed data.
Represents a parsed composite format string.
Parses the specified composite format string.
The string to parse.
is .
A format item in is invalid.
The parsed .
Gets the original composite format string used to create this instance.
Gets the minimum number of arguments that must be passed to a formatting operation using this .
Converts a sequence of encoded bytes into a set of characters.
Initializes a new instance of the class.
Converts an array of encoded bytes to UTF-16 encoded characters and stores the result in a character array.
A byte array to convert.
The first element of to convert.
The number of elements of to convert.
An array to store the converted characters.
The first element of in which data is stored.
The maximum number of elements of to use in the conversion.
to indicate that no further data is to be converted; otherwise, .
When this method returns, contains the number of bytes that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains the number of characters from that were produced by the conversion. This parameter is passed uninitialized.
When this method returns, contains if all the characters specified by were converted; otherwise, . This parameter is passed uninitialized.
or is ().
, , , or is less than zero.
-or-
The length of - is less than .
-or-
The length of - is less than .
The output buffer is too small to contain any of the converted input. The output buffer should be at least 2 chars in size to accomodate at least one surrogate character pair.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
Converts a buffer of encoded bytes to UTF-16 encoded characters and stores the result in another buffer.
The address of a buffer that contains the byte sequences to convert.
The number of bytes in to convert.
The address of a buffer to store the converted characters.
The maximum number of characters in to use in the conversion.
to indicate no further data is to be converted; otherwise, .
When this method returns, contains the number of bytes that were produced by the conversion. This parameter is passed uninitialized.
When this method returns, contains the number of characters from that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains if all the characters specified by were converted; otherwise, . This parameter is passed uninitialized.
or is ().
or is less than zero.
The output buffer is too small to contain any of the converted input. The output buffer should be at least 2 chars in size to accomodate at least one surrogate character pair.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
Converts a span of encoded bytes to UTF-16 encoded characters and stores the result in another span buffer.
A read-only bytes span containing the sequence to convert.
The span to store the converted characters.
to indicate no further data is to be converted; otherwise, .
When this method returns, contains the number of bytes that were produced by the conversion. This parameter is passed uninitialized.
When this method returns, contains the number of characters from that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains if all the specified characters were converted; otherwise, . This parameter is passed uninitialized.
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. A parameter indicates whether to clear the internal state of the decoder after the calculation.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
to simulate clearing the internal state of the encoder after the calculation; otherwise, .
is ().
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
is ().
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer. A parameter indicates whether to clear the internal state of the decoder after the calculation.
A pointer to the first byte to decode.
The number of bytes to decode.
to simulate clearing the internal state of the encoder after the calculation; otherwise, .
is ( in Visual Basic .NET).
is less than zero.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.
When overridden in a derived class, calculates the number of characters produced by decoding the sequence of bytes in the span. A parameter indicates whether to clear the internal state of the decoder after the calculation.
A byte span to decode.
to simulate clearing the internal state of the encoder after the calculation; otherwise, .
The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.
When overridden in a derived class, decodes a sequence of bytes from the specified byte array and any bytes in the internal buffer into the specified character array. A parameter indicates whether to clear the internal state of the decoder after the conversion.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
The character array to contain the resulting set of characters.
The index at which to start writing the resulting set of characters.
to clear the internal state of the decoder after the conversion; otherwise, .
is ().
-or-
is ().
or or is less than zero.
-or-
and do not denote a valid range in .
-or-
is not a valid index in .
does not have enough capacity from to the end of the array to accommodate the resulting characters.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of characters written into the parameter.
When overridden in a derived class, decodes a sequence of bytes from the specified byte array and any bytes in the internal buffer into the specified character array.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
The character array to contain the resulting set of characters.
The index at which to start writing the resulting set of characters.
is ().
-or-
is ().
or or is less than zero.
-or-
and do not denote a valid range in .
-or-
is not a valid index in .
does not have enough capacity from to the end of the array to accommodate the resulting characters.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of characters written into .
When overridden in a derived class, decodes a sequence of bytes starting at the specified byte pointer and any bytes in the internal buffer into a set of characters that are stored starting at the specified character pointer. A parameter indicates whether to clear the internal state of the decoder after the conversion.
A pointer to the first byte to decode.
The number of bytes to decode.
A pointer to the location at which to start writing the resulting set of characters.
The maximum number of characters to write.
to clear the internal state of the decoder after the conversion; otherwise, .
is ().
-or-
is ().
or is less than zero.
is less than the resulting number of characters.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of characters written at the location indicated by the parameter.
When overridden in a derived class, decodes a sequence of span bytes and any bytes in the internal buffer into a set of characters that are stored starting at the specified character pointer. A parameter indicates whether to clear the internal state of the decoder after the conversion.
A byte span to decode.
A span to write the resulting set of characters.
to clear the internal state of the decoder after the conversion; otherwise, .
The actual number of characters written at the span indicated by the parameter.
When overridden in a derived class, sets the decoder back to its initial state.
Gets or sets a object for the current object.
The value in a set operation is ().
A new value cannot be assigned in a set operation because the current object contains data that has not been decoded yet.
A object.
Gets the object associated with the current object.
A object.
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an input character. The fallback throws an exception instead of decoding the input byte sequence. This class cannot be inherited.
Initializes a new instance of the class.
Returns a decoder fallback buffer that throws an exception if it cannot convert a sequence of bytes to a character.
A decoder fallback buffer that throws an exception when it cannot decode a byte sequence.
Indicates whether the current object and a specified object are equal.
An object that derives from the class.
if is not and is a object; otherwise, .
Retrieves the hash code for this instance.
The return value is always the same arbitrary value, and has no special significance.
Gets the maximum number of characters this instance can return.
The return value is always zero.
Throws when an encoded input byte sequence cannot be converted to a decoded output character. This class cannot be inherited.
Initializes a new instance of the class.
Throws when the input byte sequence cannot be decoded. The nominal return value is not used.
An input array of bytes.
The index position of a byte in the input.
This method always throws an exception that reports the value and index position of the input byte that cannot be decoded.
None. No value is returned because the method always throws an exception.
The nominal return value is . A return value is defined, although it is unchanging, because this method implements an abstract method.
Retrieves the next character in the exception data buffer.
The return value is always the Unicode character NULL (U+0000).
A return value is defined, although it is unchanging, because this method implements an abstract method.
Causes the next call to to access the exception data buffer character position that is prior to the current position.
The return value is always .
A return value is defined, although it is unchanging, because this method implements an abstract method.
Gets the number of characters in the current object that remain to be processed.
The return value is always zero.
A return value is defined, although it is unchanging, because this method implements an abstract method.
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an output character.
Initializes a new instance of the class.
When overridden in a derived class, initializes a new instance of the class.
An object that provides a fallback buffer for a decoder.
Gets an object that throws an exception when an input byte sequence cannot be decoded.
A type derived from the class. The default value is a object.
When overridden in a derived class, gets the maximum number of characters the current object can return.
The maximum number of characters the current object can return.
Gets an object that outputs a substitute string in place of an input byte sequence that cannot be decoded.
A type derived from the class. The default value is a object that emits the QUESTION MARK character ("?", U+003F) in place of unknown byte sequences.
Provides a buffer that allows a fallback handler to return an alternate string to a decoder when it cannot decode an input byte sequence.
Initializes a new instance of the class.
When overridden in a derived class, prepares the fallback buffer to handle the specified input byte sequence.
An input array of bytes.
The index position of a byte in .
if the fallback buffer can process ; if the fallback buffer ignores .
When overridden in a derived class, retrieves the next character in the fallback buffer.
The next character in the fallback buffer.
When overridden in a derived class, causes the next call to the method to access the data buffer character position that is prior to the current character position.
if the operation was successful; otherwise, .
Initializes all data and state information pertaining to this fallback buffer.
When overridden in a derived class, gets the number of characters in the current object that remain to be processed.
The number of characters in the current fallback buffer that have not yet been processed.
The exception that is thrown when a decoder fallback operation fails. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class. Parameters specify the error message, the array of bytes being decoded, and the index of the byte that cannot be decoded.
An error message.
The input byte array.
The index position in of the byte that cannot be decoded.
Initializes a new instance of the class. Parameters specify the error message and the inner exception that is the cause of this exception.
An error message.
The exception that caused this exception.
Initializes a new instance of the class. A parameter specifies the error message.
An error message.
Gets the input byte sequence that caused the exception.
The input byte array that cannot be decoded.
Gets the index position in the input byte sequence of the byte that caused the exception.
The index position in the input byte array of the byte that cannot be decoded. The index position is zero-based.
Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an output character. The fallback emits a user-specified replacement string instead of a decoded input byte sequence. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class using a specified replacement string.
A string that is emitted in a decoding operation in place of an input byte sequence that cannot be decoded.
is .
contains an invalid surrogate pair. In other words, the surrogate pair does not consist of one high surrogate component followed by one low surrogate component.
Creates a object that is initialized with the replacement string of this object.
A object that specifies a string to use instead of the original decoding operation input.
Indicates whether the value of a specified object is equal to the object.
A object.
if is a object having a property that is equal to the property of the current object; otherwise, .
Retrieves the hash code for the value of the object.
The hash code of the value of the object.
Gets the replacement string that is the value of the object.
A substitute string that is emitted in place of an input byte sequence that cannot be decoded.
Gets the number of characters in the replacement string for the object.
The number of characters in the string that is emitted in place of a byte sequence that cannot be decoded, that is, the length of the string returned by the property.
Represents a substitute output string that is emitted when the original input byte sequence cannot be decoded. This class cannot be inherited.
Initializes a new instance of the class using the value of a object.
A object that contains a replacement string.
Prepares the replacement fallback buffer to use the current replacement string.
An input byte sequence. This parameter is ignored unless an exception is thrown.
The index position of the byte in . This parameter is ignored in this operation.
This method is called again before the method has read all the characters in the replacement fallback buffer.
if the replacement string is not empty; if the replacement string is empty.
Retrieves the next character in the replacement fallback buffer.
The next character in the replacement fallback buffer.
Causes the next call to to access the character position in the replacement fallback buffer prior to the current character position.
if the operation was successful; otherwise, .
Initializes all internal state information and data in the object.
Gets the number of characters in the replacement fallback buffer that remain to be processed.
The number of characters in the replacement fallback buffer that have not yet been processed.
Converts a set of characters into a sequence of bytes.
Initializes a new instance of the class.
Converts an array of Unicode characters to an encoded byte sequence and stores the result in an array of bytes.
An array of characters to convert.
The first element of to convert.
The number of elements of to convert.
An array where the converted bytes are stored.
The first element of in which data is stored.
The maximum number of elements of to use in the conversion.
to indicate no further data is to be converted; otherwise, .
When this method returns, contains the number of characters from that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains the number of bytes that were produced by the conversion. This parameter is passed uninitialized.
When this method returns, contains if all the characters specified by were converted; otherwise, . This parameter is passed uninitialized.
or is ().
, , , or is less than zero.
-or-
The length of - is less than .
-or-
The length of - is less than .
The output buffer is too small to contain any of the converted input. The output buffer should be greater than or equal to the size indicated by the method.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
Converts a buffer of Unicode characters to an encoded byte sequence and stores the result in another buffer.
The address of a string of UTF-16 encoded characters to convert.
The number of characters in to convert.
The address of a buffer to store the converted bytes.
The maximum number of bytes in to use in the conversion.
to indicate no further data is to be converted; otherwise, .
When this method returns, contains the number of characters from that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains the number of bytes that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains if all the characters specified by were converted; otherwise, . This parameter is passed uninitialized.
or is ().
or is less than zero.
The output buffer is too small to contain any of the converted input. The output buffer should be greater than or equal to the size indicated by the method.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
Converts a span of Unicode characters to an encoded byte sequence and stores the result in another buffer.
The span of UTF-16 encoded characters to convert.
The span buffer to store the converted bytes.
to indicate no further data is to be converted; otherwise, .
When this method returns, contains the number of characters from that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains the number of bytes that were used in the conversion. This parameter is passed uninitialized.
When this method returns, contains if all the characters in were converted; otherwise, . This parameter is passed uninitialized.
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. A parameter indicates whether to clear the internal state of the encoder after the calculation.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
to simulate clearing the internal state of the encoder after the calculation; otherwise, .
is .
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of bytes produced by encoding the specified characters and any characters in the internal buffer.
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. A parameter indicates whether to clear the internal state of the encoder after the calculation.
A pointer to the first character to encode.
The number of characters to encode.
to simulate clearing the internal state of the encoder after the calculation; otherwise, .
is ( in Visual Basic .NET).
is less than zero.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of bytes produced by encoding the specified characters and any characters in the internal buffer.
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters in the 'chars' span. A parameter indicates whether to clear the internal state of the encoder after the calculation.
A character span to encode.
to simulate clearing the internal state of the encoder after the calculation; otherwise, .
The number of bytes produced by encoding the specified characters and any characters in the internal buffer.
When overridden in a derived class, encodes a set of characters from the specified character array and any characters in the internal buffer into the specified byte array. A parameter indicates whether to clear the internal state of the encoder after the conversion.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
The byte array to contain the resulting sequence of bytes.
The index at which to start writing the resulting sequence of bytes.
to clear the internal state of the encoder after the conversion; otherwise, .
is ().
-or-
is ().
or or is less than zero.
-or-
and do not denote a valid range in .
-or-
is not a valid index in .
does not have enough capacity from to the end of the array to accommodate the resulting bytes.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of bytes written into .
When overridden in a derived class, encodes a set of characters starting at the specified character pointer and any characters in the internal buffer into a sequence of bytes that are stored starting at the specified byte pointer. A parameter indicates whether to clear the internal state of the encoder after the conversion.
A pointer to the first character to encode.
The number of characters to encode.
A pointer to the location at which to start writing the resulting sequence of bytes.
The maximum number of bytes to write.
to clear the internal state of the encoder after the conversion; otherwise, .
is ().
-or-
is ().
or is less than zero.
is less than the resulting number of bytes.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of bytes written at the location indicated by the parameter.
When overridden in a derived class, encodes a set of characters in the input characters span and any characters in the internal buffer into a sequence of bytes that are stored in the input byte span. A parameter indicates whether to clear the internal state of the encoder after the conversion.
A character span to encode.
A byte span to write the resulting sequence of bytes to.
to clear the internal state of the encoder after the conversion; otherwise, .
The actual number of bytes written at the location indicated by the parameter.
When overridden in a derived class, sets the encoder back to its initial state.
Gets or sets a object for the current object.
The value in a set operation is ().
A new value cannot be assigned in a set operation because the current object contains data that has not been encoded yet.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A object.
Gets the object associated with the current object.
A object.
Provides a failure-handling mechanism, called a fallback, for an input character that cannot be converted to an output byte sequence. The fallback throws an exception if an input character cannot be converted to an output byte sequence. This class cannot be inherited.
Initializes a new instance of the class.
Returns an encoder fallback buffer that throws an exception if it cannot convert a character sequence to a byte sequence.
An encoder fallback buffer that throws an exception when it cannot encode a character sequence.
Indicates whether the current object and a specified object are equal.
An object that derives from the class.
if is not ( in Visual Basic .NET) and is a object; otherwise, .
Retrieves the hash code for this instance.
The return value is always the same arbitrary value, and has no special significance.
Gets the maximum number of characters this instance can return.
The return value is always zero.
Throws when an input character cannot be converted to an encoded output byte sequence. This class cannot be inherited.
Initializes a new instance of the class.
Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the surrogate pair in the input, and the nominal return value is not used.
The high surrogate of the input pair.
The low surrogate of the input pair.
The index position of the surrogate pair in the input buffer.
The character represented by and cannot be encoded.
Either or is invalid. is not between U+D800 and U+DBFF, inclusive, or is not between U+DC00 and U+DFFF, inclusive.
None. No value is returned because the method always throws an exception.
Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the character that cannot be converted.
An input character.
The index position of the character in the input buffer.
cannot be encoded. This method always throws an exception that reports the value of the and parameters.
None. No value is returned because the method always throws an exception.
Retrieves the next character in the exception fallback buffer.
The return value is always the Unicode character, NULL (U+0000).
A return value is defined, although it is unchanging, because this method implements an abstract method.
Causes the next call to the method to access the exception data buffer character position that is prior to the current position.
The return value is always .
A return value is defined, although it is unchanging, because this method implements an abstract method.
Gets the number of characters in the current object that remain to be processed.
The return value is always zero.
A return value is defined, although it is unchanging, because this method implements an abstract method.
Provides a failure-handling mechanism, called a fallback, for an input character that cannot be converted to an encoded output byte sequence.
Initializes a new instance of the class.
When overridden in a derived class, initializes a new instance of the class.
An object that provides a fallback buffer for an encoder.
Gets an object that throws an exception when an input character cannot be encoded.
A type derived from the class. The default value is a object.
When overridden in a derived class, gets the maximum number of characters the current object can return.
The maximum number of characters the current object can return.
Gets an object that outputs a substitute string in place of an input character that cannot be encoded.
A type derived from the class. The default value is a object that replaces unknown input characters with the QUESTION MARK character ("?", U+003F).
Provides a buffer that allows a fallback handler to return an alternate string to an encoder when it cannot encode an input character.
Initializes a new instance of the class.
When overridden in a derived class, prepares the fallback buffer to handle the specified surrogate pair.
The high surrogate of the input pair.
The low surrogate of the input pair.
The index position of the surrogate pair in the input buffer.
if the fallback buffer can process and ; if the fallback buffer ignores the surrogate pair.
When overridden in a derived class, prepares the fallback buffer to handle the specified input character.
An input character.
The index position of the character in the input buffer.
if the fallback buffer can process ; if the fallback buffer ignores .
When overridden in a derived class, retrieves the next character in the fallback buffer.
The next character in the fallback buffer.
When overridden in a derived class, causes the next call to the method to access the data buffer character position that is prior to the current character position.
if the operation was successful; otherwise, .
Initializes all data and state information pertaining to this fallback buffer.
When overridden in a derived class, gets the number of characters in the current object that remain to be processed.
The number of characters in the current fallback buffer that have not yet been processed.
The exception that is thrown when an encoder fallback operation fails. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class. Parameters specify the error message and the inner exception that is the cause of this exception.
An error message.
The exception that caused this exception.
Initializes a new instance of the class. A parameter specifies the error message.
An error message.
Indicates whether the input that caused the exception is a surrogate pair.
if the input was a surrogate pair; otherwise, .
Gets the input character that caused the exception.
The character that cannot be encoded.
Gets the high component character of the surrogate pair that caused the exception.
The high component character of the surrogate pair that cannot be encoded.
Gets the low component character of the surrogate pair that caused the exception.
The low component character of the surrogate pair that cannot be encoded.
Gets the index position in the input buffer of the character that caused the exception.
The index position in the input buffer of the character that cannot be encoded.
Provides a failure handling mechanism, called a fallback, for an input character that cannot be converted to an output byte sequence. The fallback uses a user-specified replacement string instead of the original input character. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class using a specified replacement string.
A string that is converted in an encoding operation in place of an input character that cannot be encoded.
is .
contains an invalid surrogate pair. In other words, the surrogate does not consist of one high surrogate component followed by one low surrogate component.
Creates a object that is initialized with the replacement string of this object.
A object equal to this object.
Indicates whether the value of a specified object is equal to the object.
A object.
if the parameter specifies an object and the replacement string of that object is equal to the replacement string of this object; otherwise, .
Retrieves the hash code for the value of the object.
The hash code of the value of the object.
Gets the replacement string that is the value of the object.
A substitute string that is used in place of an input character that cannot be encoded.
Gets the number of characters in the replacement string for the object.
The number of characters in the string used in place of an input character that cannot be encoded.
Represents a substitute input string that is used when the original input character cannot be encoded. This class cannot be inherited.
Initializes a new instance of the class using the value of a object.
A object.
Indicates whether a replacement string can be used when an input surrogate pair cannot be encoded, or whether the surrogate pair can be ignored. Parameters specify the surrogate pair and the index position of the pair in the input.
The high surrogate of the input pair.
The low surrogate of the input pair.
The index position of the surrogate pair in the input buffer.
This method is called again before the method has read all the replacement string characters.
The value of is less than U+D800 or greater than U+D8FF.
-or-
The value of is less than U+DC00 or greater than U+DFFF.
if the replacement string is not empty; if the replacement string is empty.
Prepares the replacement fallback buffer to use the current replacement string.
An input character. This parameter is ignored in this operation unless an exception is thrown.
The index position of the character in the input buffer. This parameter is ignored in this operation.
This method is called again before the method has read all the characters in the replacement fallback buffer.
if the replacement string is not empty; if the replacement string is empty.
Retrieves the next character in the replacement fallback buffer.
The next Unicode character in the replacement fallback buffer that the application can encode.
Causes the next call to the method to access the character position in the replacement fallback buffer prior to the current character position.
if the operation was successful; otherwise, .
Initializes all internal state information and data in this instance of .
Gets the number of characters in the replacement fallback buffer that remain to be processed.
The number of characters in the replacement fallback buffer that have not yet been processed.
Represents a character encoding.
Initializes a new instance of the class.
Initializes a new instance of the class that corresponds to the specified code page with the specified encoder and decoder fallback strategies.
The encoding code page identifier.
An object that provides an error-handling procedure when a character cannot be encoded with the current encoding.
An object that provides an error-handling procedure when a byte sequence cannot be decoded with the current encoding.
is less than zero.
Initializes a new instance of the class that corresponds to the specified code page.
The code page identifier of the preferred encoding.
-or-
0, to use the default encoding.
is less than zero.
When overridden in a derived class, creates a shallow copy of the current object.
A copy of the current object.
Converts a range of bytes in a byte array from one encoding to another.
The encoding of the source array, .
The encoding of the output array.
The array of bytes to convert.
The index of the first element of to convert.
The number of bytes to convert.
is .
-or-
is .
-or-
is .
and do not specify a valid range in the byte array.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
srcEncoding. is set to .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
dstEncoding. is set to .
An array of type containing the result of converting a range of bytes in from to .
Converts an entire byte array from one encoding to another.
The encoding format of .
The target encoding format.
The bytes to convert.
is .
-or-
is .
-or-
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
srcEncoding. is set to .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
dstEncoding. is set to .
An array of type containing the results of converting from to .
Creates a that serves to transcode data between an inner and an outer , similar to .
The stream to wrap.
The encoding associated with .
The encoding associated with the that's returned by this method.
if disposing the returned by this method should not dispose .
A stream that transcodes the contents of as .
Determines whether the specified is equal to the current instance.
The to compare with the current instance.
if is an instance of and is equal to the current instance; otherwise, .
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
is .
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of bytes produced by encoding the specified characters.
When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array.
The character array containing the characters to encode.
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of bytes produced by encoding all the characters in the specified character array.
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.
A pointer to the first character to encode.
The number of characters to encode.
is .
is less than zero.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of bytes produced by encoding the specified characters.
When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified character span.
The span of characters to encode.
The number of bytes produced by encoding the specified character span.
When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified string.
The string containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
The number of bytes produced by encoding the string.
When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string.
The string containing the set of characters to encode.
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of bytes produced by encoding the specified characters.
When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
The byte array to contain the resulting sequence of bytes.
The index at which to start writing the resulting sequence of bytes.
is .
-or-
is .
or or is less than zero.
-or-
and do not denote a valid range in .
-or-
is not a valid index in .
does not have enough capacity from to the end of the array to accommodate the resulting bytes.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of bytes written into .
When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes.
The character array containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
is .
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A byte array containing the results of encoding the specified set of characters.
When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes.
The character array containing the characters to encode.
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A byte array containing the results of encoding the specified set of characters.
When overridden in a derived class, encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.
A pointer to the first character to encode.
The number of characters to encode.
A pointer to the location at which to start writing the resulting sequence of bytes.
The maximum number of bytes to write.
is .
-or-
is .
or is less than zero.
is less than the resulting number of bytes.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of bytes written at the location indicated by the parameter.
When overridden in a derived class, encodes into a span of bytes a set of characters from the specified read-only span.
The span containing the set of characters to encode.
The byte span to hold the encoded bytes.
The number of encoded bytes.
When overridden in a derived class, encodes a set of characters from the specified string into the specified byte array.
The string containing the set of characters to encode.
The index of the first character to encode.
The number of characters to encode.
The byte array to contain the resulting sequence of bytes.
The index at which to start writing the resulting sequence of bytes.
is .
-or-
is .
or or is less than zero.
-or-
and do not denote a valid range in .
-or-
is not a valid index in .
does not have enough capacity from to the end of the array to accommodate the resulting bytes.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of bytes written into .
When overridden in a derived class, encodes into an array of bytes the number of characters specified by in the specified string, starting from the specified .
The string containing the characters to encode.
The index inside the string to start the encoding from.
The number of characters to encode.
A byte array containing the results of encoding the specified set of characters.
When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.
The string containing the characters to encode.
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A byte array containing the results of encoding the specified set of characters.
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
is .
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of characters produced by decoding the specified sequence of bytes.
When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array.
The byte array containing the sequence of bytes to decode.
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of characters produced by decoding the specified sequence of bytes.
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.
A pointer to the first byte to decode.
The number of bytes to decode.
is .
is less than zero.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The number of characters produced by decoding the specified sequence of bytes.
When overridden in a derived class, calculates the number of characters produced by decoding the provided read-only byte span.
A read-only byte span to decode.
The number of characters produced by decoding the byte span.
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into the specified character array.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
The character array to contain the resulting set of characters.
The index at which to start writing the resulting set of characters.
is .
-or-
is .
or or is less than zero.
-or-
and do not denote a valid range in .
-or-
is not a valid index in .
does not have enough capacity from to the end of the array to accommodate the resulting characters.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of characters written into .
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
is .
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A character array containing the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters.
The byte array containing the sequence of bytes to decode.
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A character array containing the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.
A pointer to the first byte to decode.
The number of bytes to decode.
A pointer to the location at which to start writing the resulting set of characters.
The maximum number of characters to write.
is .
-or-
is .
or is less than zero.
is less than the resulting number of characters.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The actual number of characters written at the location indicated by the parameter.
When overridden in a derived class, decodes all the bytes in the specified read-only byte span into a character span.
A read-only span containing the sequence of bytes to decode.
The character span receiving the decoded bytes.
The actual number of characters written at the span indicated by the parameter.
When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters.
A that converts an encoded sequence of bytes into a sequence of characters.
When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes.
A that converts a sequence of Unicode characters into an encoded sequence of bytes.
Returns the encoding associated with the specified code page identifier. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
The code page identifier of the preferred encoding. For a list of possible values, see .
-or-
0 (zero), to use the default encoding.
An object that provides an error-handling procedure when a character cannot be encoded with the current encoding.
An object that provides an error-handling procedure when a byte sequence cannot be decoded with the current encoding.
is less than zero or greater than 65535.
is not supported by the underlying platform.
is not supported by the underlying platform.
The encoding that is associated with the specified code page.
Returns the encoding associated with the specified code page identifier.
The code page identifier of the preferred encoding. For a list of possible values, see .
-or-
0 (zero), to use the default encoding.
is less than zero or greater than 65535.
is not supported by the underlying platform.
is not supported by the underlying platform.
The encoding that is associated with the specified code page.
Returns the encoding associated with the specified code page name. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
The code page name of the preferred encoding. Any value returned by the property is valid. Possible values are listed in the Name column of the table that appears in the class topic.
An object that provides an error-handling procedure when a character cannot be encoded with the current encoding.
An object that provides an error-handling procedure when a byte sequence cannot be decoded with the current encoding.
is not a valid code page name.
-or-
The code page indicated by is not supported by the underlying platform.
The encoding that is associated with the specified code page.
Returns the encoding associated with the specified code page name.
The code page name of the preferred encoding. Any value returned by the property is valid. For a list of possible values, see .
is not a valid code page name.
-or-
The code page indicated by is not supported by the underlying platform.
The encoding associated with the specified code page.
Returns an array that contains all encodings.
An array that contains all encodings.
Returns the hash code for the current instance.
The hash code for the current instance.
When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
The number of characters to encode.
is less than zero.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The maximum number of bytes produced by encoding the specified number of characters.
When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
The number of bytes to decode.
is less than zero.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
The maximum number of characters produced by decoding the specified number of bytes.
When overridden in a derived class, returns a sequence of bytes that specifies the encoding used.
A byte array containing a sequence of bytes that specifies the encoding used.
-or-
A byte array of length zero, if a preamble is not required.
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string.
The byte array containing the sequence of bytes to decode.
The index of the first byte to decode.
The number of bytes to decode.
The byte array contains invalid Unicode code points.
is .
or is less than zero.
-or-
and do not denote a valid range in .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A string that contains the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes all the bytes in the specified byte array into a string.
The byte array containing the sequence of bytes to decode.
The byte array contains invalid Unicode code points.
is .
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
is set to .
A string that contains the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes a specified number of bytes starting at a specified address into a string.
A pointer to a byte array.
The number of bytes to decode.
is a null pointer.
is less than zero.
A fallback occurred (see Character Encoding in .NET for a complete explanation)
-and-
is set to .
A string that contains the results of decoding the specified sequence of bytes.
When overridden in a derived class, decodes all the bytes in the specified byte span into a string.
A read-only byte span to decode to a Unicode string.
A string that contains the decoded bytes from the provided read-only span.
Gets a value indicating whether the current encoding is always normalized, using the default normalization form.
if the current is always normalized; otherwise, . The default is .
When overridden in a derived class, gets a value indicating whether the current encoding is always normalized, using the specified normalization form.
One of the values.
if the current object is always normalized using the specified value; otherwise, . The default is .
Registers an encoding provider.
A subclass of that provides access to additional character encodings.
is .
Encodes into a span of bytes a set of characters from the specified read-only span if the destination is large enough.
The span containing the set of characters to encode.
The byte span to hold the encoded bytes.
Upon successful completion of the operation, the number of bytes encoded into .
if all of the characters were encoded into the destination; if the destination was too small to contain all the encoded bytes.
Decodes into a span of chars a set of bytes from the specified read-only span if the destination is large enough.
A read-only span containing the sequence of bytes to decode.
The character span receiving the decoded bytes.
Upon successful completion of the operation, the number of chars decoded into .
if all of the characters were decoded into the destination; if the destination was too small to contain all the decoded chars.
Gets an encoding for the ASCII (7-bit) character set.
An encoding for the ASCII (7-bit) character set.
Gets an encoding for the UTF-16 format that uses the big endian byte order.
An encoding object for the UTF-16 format that uses the big endian byte order.
When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags.
A name for the current that can be used with mail agent body tags.
-or-
An empty string (""), if the current cannot be used.
When overridden in a derived class, gets the code page identifier of the current .
The code page identifier of the current .
Gets or sets the object for the current object.
The value in a set operation is .
A value cannot be assigned in a set operation because the current object is read-only.
The decoder fallback object for the current object.
Gets the default encoding for this .NET implementation.
The default encoding for this .NET implementation.
Gets or sets the object for the current object.
The value in a set operation is .
A value cannot be assigned in a set operation because the current object is read-only.
The encoder fallback object for the current object.
When overridden in a derived class, gets the human-readable description of the current encoding.
The human-readable description of the current .
When overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags.
A name for the current to use with mail agent header tags.
-or-
An empty string (""), if the current cannot be used.
When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for displaying content.
if the current can be used by browser clients for displaying content; otherwise, .
When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for saving content.
if the current can be used by browser clients for saving content; otherwise, .
When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for displaying content.
if the current can be used by mail and news clients for displaying content; otherwise, .
When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for saving content.
if the current can be used by mail and news clients for saving content; otherwise, .
When overridden in a derived class, gets a value indicating whether the current encoding is read-only.
if the current is read-only; otherwise, . The default is .
When overridden in a derived class, gets a value indicating whether the current encoding uses single-byte code points.
if the current uses single-byte code points; otherwise, .
Gets an encoding for the Latin1 character set (ISO-8859-1).
When overridden in a derived class, returns a span containing the sequence of bytes that specifies the encoding used.
A byte span containing a sequence of bytes that specifies the encoding used, or a span of length zero, if a preamble is not required.
Gets an encoding for the UTF-16 format using the little endian byte order.
An encoding for the UTF-16 format using the little endian byte order.
Gets an encoding for the UTF-32 format using the little endian byte order.
An encoding object for the UTF-32 format using the little endian byte order.
Gets an encoding for the UTF-7 format.
An encoding for the UTF-7 format.
Gets an encoding for the UTF-8 format.
An encoding for the UTF-8 format.
When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding.
The IANA name for the current .
When overridden in a derived class, gets the Windows operating system code page that most closely corresponds to the current encoding.
The Windows operating system code page that most closely corresponds to the current .
Provides basic information about an encoding.
Constructs an object.
The provider that created this object.
The encoding codepage.
The encoding name.
The encoding display name.
Gets a value indicating whether the specified object is equal to the current object.
An object to compare to the current object.
if is a object and is equal to the current object; otherwise, .
Returns a object that corresponds to the current object.
A object that corresponds to the current object.
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Gets the code page identifier of the encoding.
The code page identifier of the encoding.
Gets the human-readable description of the encoding.
The human-readable description of the encoding.
Gets the name registered with the Internet Assigned Numbers Authority (IANA) for the encoding.
The IANA name for the encoding.
Provides the base class for an encoding provider, which supplies encodings that are unavailable on a particular platform.
Initializes a new instance of the class.
Returns the encoding associated with the specified code page identifier. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
The code page identifier of the requested encoding.
An object that provides an error-handling procedure when a character cannot be encoded with this encoding.
An object that provides an error-handling procedure when a byte sequence cannot be decoded with this encoding.
The encoding that is associated with the specified code page, or if this cannot return a valid encoding that corresponds to .
Returns the encoding associated with the specified code page identifier.
The code page identifier of the requested encoding.
The encoding that is associated with the specified code page, or if this cannot return a valid encoding that corresponds to .
Returns the encoding associated with the specified name. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
The name of the preferred encoding.
An object that provides an error-handling procedure when a character cannot be encoded with this encoding.
An object that provides an error-handling procedure when a byte sequence cannot be decoded with the current encoding.
The encoding that is associated with the specified name, or if this cannot return a valid encoding that corresponds to .
Returns the encoding with the specified name.
The name of the requested encoding.
The encoding that is associated with the specified name, or if this cannot return a valid encoding that corresponds to .
Returns an array that contains all the encodings that are supported by the .
An array that contains all the supported encodings.
Defines the type of normalization to perform.
Indicates that a Unicode string is normalized using full canonical decomposition, followed by the replacement of sequences with their primary composites, if possible.
Indicates that a Unicode string is normalized using full canonical decomposition.
Indicates that a Unicode string is normalized using full compatibility decomposition, followed by the replacement of sequences with their primary composites, if possible.
Indicates that a Unicode string is normalized using full compatibility decomposition.
Represents a Unicode scalar value ([ U+0000..U+D7FF ], inclusive; or [ U+E000..U+10FFFF ], inclusive).
Creates a from the provided UTF-16 surrogate pair.
The high surrogate of the surrogate pair.
The low surrogate of the surrogate pair.
does not represent a UTF-16 high surrogate code point.
-or-
does not represent a UTF-16 low surrogate code point.
Creates a from the provided UTF-16 code unit.
A UTF-16 code unit.
represents a UTF-16 surrogate code point (U+D800..U+DFFF, inclusive).
Creates a from the specified 32-bit integer that represents a Unicode scalar value.
A Unicode scalar value.
does not represent a Unicode scalar value.
Creates a from the specified 32-bit unsigned integer that represents a Unicode scalar value.
A Unicode scalar value.
does not represent a Unicode scalar value.
Compares the current instance to the specified instance.
The instance to compare with the current instance.
A signed integer indicating the position of this instance in the sort order in relation to :
- Less than zero: This instance precedes .
- Zero: The instance has the same position in the sort order as .
- Greater than zero: This instance follows .
Decodes the at the beginning of the provided UTF-16 source buffer.
A read-only UTF-16 character span.
When this method returns, the decoded rune.
When this method returns, the number of characters read to create the rune.
if the source buffer begins with a valid UTF-16 encoded scalar value. then contains the decoded , and contains the number of values used in the input buffer to encode the .
if the source buffer is empty or contains only a standalone UTF-16 high surrogate character. then contains , and contains the length of the input buffer.
if the source buffer begins with an ill-formed UTF-16 encoded scalar value. then contains , and contains the number of values used to encode the ill-formed sequence.
.
Decodes the at the beginning of the provided UTF-8 source buffer.
A read-only UTF-8 encoded byte span.
When this method returns, the decoded rune.
When this method returns, the number of bytes read to create the rune.
if the source buffer begins with a valid UTF-8 encoded scalar value. then contains the decoded , and contains the number of values used in the input buffer to encode the .
if the source buffer is empty or contains only a standalone UTF-8 high surrogate character. then contains , and contains the length of the input buffer.
if the source buffer begins with an ill-formed UTF-8 encoded scalar value. then contains , and contains the number of values used in the input buffer to encode the ill-formed sequence.
.
Decodes the at the end of the provided UTF-16 source buffer.
A read-only UTF-16 encoded character span.
When this method returns, the decoded rune.
When this method returns, the number of bytes read to create the rune.
if the source buffer begins with a valid UTF-16 encoded scalar value. then contains the decoded , and contains the number of values used in the input buffer to encode the .
if the source buffer is empty or contains only a standalone UTF-16 high surrogate character. then contains , and contains the length of the input buffer.
if the source buffer begins with an ill-formed UTF-16 encoded scalar value. then contains , and contains the number of values used to encode the ill-formed sequence.
.
Decodes the at the end of the provided UTF-8 source buffer.
A read-only UTF-8 encoded byte span.
When this method returns, the decoded rune.
When this method returns, the number of bytes read to create the rune.
if the source buffer ends with a valid UTF-8 encoded scalar value. then contains the decoded , and contains the number of values used in the input buffer to encode the .
if the source buffer is empty or contains only a standalone UTF-8 high surrogate character. then contains , and contains the length of the input buffer.
if the source buffer ends with an ill-formed UTF-8 encoded scalar value. then contains , and contains the number of values used in the input buffer to encode the ill-formed sequence.
Encodes this to a UTF-16 destination buffer.
The buffer to which to write this value as UTF-16.
is not large enough to hold the output.
The number of values written to .
Encodes this to a UTF-8 destination buffer.
The buffer to which to write this value as UTF-8.
is not large enough to hold the output.
The number of values written to .
Returns a value that indicates whether the current instance and a specified object are equal.
The object to compare with the current instance.
if is of type and is equal to the current instance; otherwise, .
Returns a value that indicates whether the current instance and a specified rune are equal.
The object to compare with the current instance.
if the current instance and are equal; otherwise, .
Returns the hash code for this instance.
The hash code for this instance.
Gets the numeric value associated with the specified rune.
The rune for which to get the numeric value.
The numeric value associated with , or -1 if doesn't represent a numeric character.
Gets the that begins at a specified position in a string.
The string from which to create the rune.
The starting position in at which to create the rune.
is .
does not reference the start of a valid scalar value in .
is outside the range of .
The rune obtained from at the specified .
Gets the Unicode category associated with the specified rune.
The rune for which to get the Unicode category.
The Unicode category associated with .
Returns a value that indicates whether the specified rune is categorized as a control character.
The rune to evaluate.
if is a control character; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a decimal digit.
The rune to evaluate.
if is a decimal digit; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a letter.
The rune to evaluate.
if is a letter; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a letter or a decimal digit.
The rune to evaluate.
if is a letter or a decimal digit; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a lowercase letter.
The rune to evaluate.
if is a lowercase letter; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a number.
The rune to evaluate.
if is a number; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a punctuation mark.
The rune to evaluate.
if is a punctuation mark; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a separator character.
The rune to evaluate.
if is a separator character; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a symbol character.
The rune to evaluate.
if is a symbol character; otherwise, .
Returns a value that indicates whether the specified rune is categorized as an uppercase letter.
The rune to evaluate.
if is an uppercase letter; otherwise,.
Returns a value that indicates whether a 32-bit signed integer represents a valid Unicode scalar value; that is, it is in the range [ U+0000..U+D7FF ], inclusive; or [ U+E000..U+10FFFF ], inclusive.
The Unicode scalar value.
if is a valid Unicode scalar value; otherwise, .
Returns a value that indicates whether a 32-bit unsigned integer represents a valid Unicode scalar value; that is, it is in the range [ U+0000..U+D7FF ], inclusive, or [ U+E000..U+10FFFF ], inclusive.
The Unicode scalar value.
if is a valid Unicode scalar value; otherwise, .
Returns a value that indicates whether the specified rune is categorized as a white space character.
The rune to evaluate.
if is a white space character; otherwise, .
Returns a value that indicates whether two instances are equal.
The first value to compare.
The second value to compare.
if and are equal; otherwise, .
Defines an explicit conversion of a 16-bit Unicode character to a .
The 16-bit Unicode character to convert.
is a Unicode scalar that represents a surrogate code point.
as a 32-bit Unicode character.
Defines an explicit conversion of a 32-bit signed integer to a .
The 32-bit signed integer to convert.
is an invalid Unicode scalar.
as a 32-bit Unicode character.
Defines an explicit conversion of a 32-bit unsigned integer to a .
The 32-bit signed integer to convert.
is an invalid Unicode scalar.
as a 32-bit Unicode character.
Returns a value indicating whether a specified is greater than another specified .
The first value to compare.
The second value to compare.
if is greater than ; otherwise, .
Returns a value indicating whether a specified is greater than or equal to another specified .
The first value to compare.
The second value to compare.
if is greater than or equal to ; otherwise, .
Returns a value that indicates whether two instances have different values.
The first value to compare.
The second value to compare.
if and are not equal; otherwise, .
Returns a value indicating whether a specified is less than another specified .
The first value to compare.
the second value to compare.
if is less than ; otherwise, .
Returns a value indicating whether a specified is less than or equal to another specified .
The first value to compare.
The second value to compare.
if is less than or equal to ; otherwise, .
Compares the current instance to the specified object.
The object to compare with the current instance.
A signed integer indicating the position of this instance in the sort order in relation to :
- Less than zero: This instance precedes .
- Zero: The instance has the same position in the sort order as .
- Greater than zero: This instance follows .
Formats the value of the current instance using the specified format.
The format to use.
-or-
( in Visual Basic) to use the default format defined for the type of the implementation.
The provider to use to format the value.
-or-
( in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
The value of the current instance in the specified format.
Tries to format the value of the current instance into the provided span of characters.
When this method returns, contains this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Returns a copy of the specified converted to lowercase, using the casing rules of the specified culture.
The 32-bit Unicode character to convert.
An object that supplies culture-specific casing rules.
The lowercase equivalent of .
Returns a copy of the specified converted to lowercase using the casing rules of the invariant culture.
The 32-bit Unicode character to convert.
The lowercase equivalent of .
Returns the string representation of this instance.
The string representation of this rune.
Returns a copy of the specified converted to uppercase, using the casing rules of the specified culture.
The 32-bit Unicode character to convert.
An object that supplies culture-specific casing rules.
The uppercase equivalent of .
Returns a copy of the specified converted to uppercase using the casing rules of the invariant culture.
The 32-bit Unicode character to convert.
The uppercase equivalent of .
Attempts to create a from the specified UTF-16 surrogate pair and returns a value that indicates whether the operation was successful.
The high surrogate of the surrogate pair.
The low surrogate of the surrogate pair.
The rune that corresponds to the specified surrogate pair.
if the operation succeeded; if the input values don't represent a well-formed UTF-16 surrogate pair.
Attempts to create a from a specified character and returns a value that indicates whether the operation succeeded.
The character from which to create the rune.
When this method returns, the rune that corresponds to .
if the method succeeded; otherwise, .
Attempts to create a from a specified signed integer that represents a Unicode scalar value.
The Unicode scalar value.
When this method returns, the rune that corresponds to .
if the method succeeded; otherwise, .
Attempts to create a from the specified 32-bit unsigned integer that represents a Unicode scalar value.
The Unicode scalar value.
When this method returns, the rune that corresponds to .
if the method succeeded; otherwise, .
Encodes this to a UTF-16 encoded destination buffer.
The buffer to which to write this value as UTF-16 encoded value.
The number of values written to , or 0 if the destination buffer is not large enough to contain the output.
if the value was written to the buffer; otherwise, .
Encodes this to a UTF-8 encoded destination buffer.
The buffer to which to write the UTF-8 encoded value.
The number of values written to , or 0 if the destination buffer is not large enough to contain the output.
if the value was written to the buffer; otherwise, .
Attempts to get the that begins at a specified position in a string, and return a value that indicates whether the operation succeeded.
The string from which to extract the rune.
The zero-based index from which to extract the rune.
When this method returns, the decoded rune.
is .
is out of the range of .
if a scalar value was successfully extracted from the specified index; if a value could not be extracted because of invalid data.
Gets a value that indicates whether the scalar value associated with this is within the ASCII encoding range.
if the scalar value associated is within the ASCII encoding range ([ U+0000..U+007F ]) and therefore representable by a single UTF-8 code unit; otherwise, .
Gets a value that indicates whether the scalar value associated with this is within the BMP encoding range.
if the scalar value associated is within the BMP encoding range ([ U+0000..U+FFFF ]) and therefore representable by a single UTF-16 code unit; otherwise, .
Gets the Unicode plane (0 to 16, inclusive) that contains this scalar.
The Unicode plane (0 to 16, inclusive) that contains this scalar.
Gets a instance that represents the Unicode replacement character U+FFFD.
A instance that represents the Unicode replacement character U+FFFD.
Gets the length in code units () of the UTF-16 sequence required to represent this scalar value.
The length in code units () of the UTF-16 sequence required to represent this scalar value.
Gets the length in code units of the UTF-8 sequence required to represent this scalar value.
The length in code units of the UTF-8 sequence required to represent this scalar value.
Gets the Unicode scalar value as an integer.
The Unicode scalar value as an integer.
Represents a mutable string of characters. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class that starts with a specified capacity and can grow to a specified maximum.
The suggested starting size of the .
The maximum number of characters the current string can contain.
is less than one, is less than zero, or is greater than .
Initializes a new instance of the class using the specified capacity.
The suggested starting size of this instance.
is less than zero.
Initializes a new instance of the class from the specified substring and capacity.
The string that contains the substring used to initialize the value of this instance. If is , the new will contain the empty string (that is, it contains ).
The position within where the substring begins.
The number of characters in the substring.
The suggested starting size of the .
is less than zero.
-or-
plus is not a position within .
Initializes a new instance of the class using the specified string and capacity.
The string used to initialize the value of the instance. If is , the new will contain the empty string (that is, it contains ).
The suggested starting size of the .
is less than zero.
Initializes a new instance of the class using the specified string.
The string used to initialize the value of the instance. If is , the new will contain the empty string (that is, it contains ).
Appends the string representation of a specified Boolean value to this instance.
The Boolean value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified 8-bit unsigned integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends a specified number of copies of the string representation of a Unicode character to this instance.
The character to append.
The number of times to append .
is less than zero.
-or-
Enlarging the value of this instance would exceed .
Out of memory.
A reference to this instance after the append operation has completed.
Appends the string representation of a specified object to this instance.
The UTF-16-encoded code unit to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified subarray of Unicode characters to this instance.
A character array.
The starting position in .
The number of characters to append.
is , and and are not zero.
is less than zero.
-or-
is less than zero.
-or-
+ is greater than the length of .
-or-
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of the Unicode characters in a specified array to this instance.
The array of characters to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends an array of Unicode characters starting at a specified address to this instance.
A pointer to an array of characters.
The number of characters in the array.
is less than zero.
-or-
Enlarging the value of this instance would exceed .
is a null pointer.
A reference to this instance after the append operation has completed.
Appends the string representation of a specified decimal number to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified double-precision floating-point number to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the specified interpolated string to this instance using the specified format.
An object that supplies culture-specific formatting information.
The interpolated string to append.
A reference to this instance after the append operation has completed.
Appends the string representation of a specified 16-bit signed integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified 32-bit signed integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified 64-bit signed integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified object to this instance.
The object to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified read-only character memory region to this instance.
The read-only character memory region to append.
A reference to this instance after the append operation is completed.
Appends the string representation of a specified read-only character span to this instance.
The read-only character span to append.
A reference to this instance after the append operation is completed.
Appends the string representation of a specified 8-bit signed integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified single-precision floating-point number to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends a copy of a specified substring to this instance.
The string that contains the substring to append.
The starting position of the substring within .
The number of characters in to append.
is , and and are not zero.
less than zero.
-or-
less than zero.
-or-
+ is greater than the length of .
-or-
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends a copy of the specified string to this instance.
The string to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends a copy of a substring within a specified string builder to this instance.
The string builder that contains the substring to append.
The starting position of the substring within .
The number of characters in to append.
A reference to this instance after the append operation has completed.
Appends the specified interpolated string to this instance.
The interpolated string to append.
A reference to this instance after the append operation has completed.
Appends the string representation of a specified string builder to this instance.
The string builder to append.
A reference to this instance after the append operation is completed.
Appends the string representation of a specified 16-bit unsigned integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified 32-bit unsigned integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string representation of a specified 64-bit unsigned integer to this instance.
The value to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of three arguments using a specified format provider.
An object that supplies culture-specific formatting information.
A composite format string.
The first object to format.
The second object to format.
The third object to format.
is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to 3 (three).
The length of the expanded string would exceed .
A reference to this instance after the append operation has completed. After the append operation, this instance contains any data that existed before the operation, suffixed by a copy of where any format specification is replaced by the string representation of the corresponding object argument.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of two arguments using a specified format provider.
An object that supplies culture-specific formatting information.
A composite format string.
The first object to format.
The second object to format.
is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to 2 (two).
The length of the expanded string would exceed .
A reference to this instance after the append operation has completed. After the append operation, this instance contains any data that existed before the operation, suffixed by a copy of where any format specification is replaced by the string representation of the corresponding object argument.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument using a specified format provider.
An object that supplies culture-specific formatting information.
A composite format string.
The object to format.
is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to one (1).
The length of the expanded string would exceed .
A reference to this instance after the append operation has completed. After the append operation, this instance contains any data that existed before the operation, suffixed by a copy of in which any format specification is replaced by the string representation of .
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a corresponding argument in a parameter array using a specified format provider.
An object that supplies culture-specific formatting information.
A composite format string.
An array of objects to format.
is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the length of the array.
The length of the expanded string would exceed .
A reference to this instance after the append operation has completed. After the append operation, this instance contains any data that existed before the operation, suffixed by a copy of where any format specification is replaced by the string representation of the corresponding object argument.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
Each format item is replaced by the string representation of a corresponding argument in a parameter span using a specified format provider.
An object that supplies culture-specific formatting information.
A composite format string.
A span of objects to format.
is .
The length of the expanded string would exceed .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the length of the span.
A reference to this instance after the append operation has completed.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
Each format item is replaced by the string representation of any of the arguments using a specified format provider.
An object that supplies culture-specific formatting information.
A .
An array of objects to format.
or is .
The index of a format item is greater than or equal to the number of supplied arguments.
A reference to this instance after the append operation has completed.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
Each format item is replaced by the string representation of any of the arguments using a specified format provider.
An object that supplies culture-specific formatting information.
A .
A span of objects to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
A reference to this instance after the append operation has completed.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of three arguments.
A composite format string.
The first object to format.
The second object to format.
The third object to format.
is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to 3.
The length of the expanded string would exceed .
A reference to this instance with appended. Each format item in is replaced by the string representation of the corresponding object argument.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of two arguments.
A composite format string.
The first object to format.
The second object to format.
is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to 2.
The length of the expanded string would exceed .
A reference to this instance with appended. Each format item in is replaced by the string representation of the corresponding object argument.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument.
A composite format string.
An object to format.
is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to 1.
The length of the expanded string would exceed .
A reference to this instance with appended. Each format item in is replaced by the string representation of .
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a corresponding argument in a parameter array.
A composite format string.
An array of objects to format.
or is .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the length of the array.
The length of the expanded string would exceed .
A reference to this instance with appended. Each format item in is replaced by the string representation of the corresponding object argument.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
Each format item is replaced by the string representation of a corresponding argument in a parameter span.
A composite format string.
A span of objects to format.
is .
The length of the expanded string would exceed .
is invalid.
-or-
The index of a format item is less than 0 (zero), or greater than or equal to the length of the span.
A reference to this instance after the append operation has completed.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
Each format item is replaced by the string representation of any of the arguments using a specified format provider.
An object that supplies culture-specific formatting information.
A .
The first object to format.
The type of the first object to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
A reference to this instance after the append operation has completed.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
Each format item is replaced by the string representation of any of the arguments using a specified format provider.
An object that supplies culture-specific formatting information.
A .
The first object to format.
The second object to format.
The type of the first object to format.
The type of the second object to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
A reference to this instance after the append operation has completed.
Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance.
Each format item is replaced by the string representation of any of the arguments using a specified format provider.
An object that supplies culture-specific formatting information.
A .
The first object to format.
The second object to format.
The third object to format.
The type of the first object to format.
The type of the second object to format.
The type of the third object to format.
is .
The index of a format item is greater than or equal to the number of supplied arguments.
A reference to this instance after the append operation has completed.
Concatenates the string representations of the elements in the provided array of objects, using the specified char separator between each member, then appends the result to the current instance of the string builder.
The character to use as a separator. is included in the joined strings only if has more than one element.
An array that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates the string representations of the elements in the provided span of objects, using the specified char separator between each member, then appends the result to the current instance of the string builder.
The character to use as a separator. is included in the joined strings only if has more than one element.
A span that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates the strings of the provided span, using the specified char separator between each string, then appends the result to the current instance of the string builder.
The character to use as a separator. is included in the joined strings only if has more than one element.
A span that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates the strings of the provided array, using the specified char separator between each string, then appends the result to the current instance of the string builder.
The character to use as a separator. is included in the joined strings only if has more than one element.
An array that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates the string representations of the elements in the provided array of objects, using the specified separator between each member, then appends the result to the current instance of the string builder.
The string to use as a separator. is included in the joined strings only if has more than one element.
An array that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates the string representations of the elements in the provided span of objects, using the specified separator between each member, then appends the result to the current instance of the string builder.
The string to use as a separator. is included in the joined strings only if has more than one element.
A span that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates the strings of the provided span, using the specified separator between each string, then appends the result to the current instance of the string builder.
The string to use as a separator. is included in the joined strings only if has more than one element.
A span that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates the strings of the provided array, using the specified separator between each string, then appends the result to the current instance of the string builder.
The string to use as a separator. is included in the joined strings only if has more than one element.
An array that contains the strings to concatenate and append to the current instance of the string builder.
A reference to this instance after the append operation has completed.
Concatenates and appends the members of a collection, using the specified char separator between each member.
The character to use as a separator. is included in the concatenated and appended strings only if has more than one element.
A collection that contains the objects to concatenate and append to the current instance of the string builder.
The type of the members of .
A reference to this instance after the append operation has completed.
Concatenates and appends the members of a collection, using the specified separator between each member.
The string to use as a separator. is included in the concatenated and appended strings only if has more than one element.
A collection that contains the objects to concatenate and append to the current instance of the string builder.
The type of the members of .
A reference to this instance after the append operation has completed.
Appends the default line terminator to the end of the current object.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the specified interpolated string using the specified format, followed by the default line terminator, to the end of the current StringBuilder object.
An object that supplies culture-specific formatting information.
The interpolated string to append.
A reference to this instance after the append operation has completed.
Appends a copy of the specified string followed by the default line terminator to the end of the current object.
The string to append.
Enlarging the value of this instance would exceed .
A reference to this instance after the append operation has completed.
Appends the specified interpolated string followed by the default line terminator to the end of the current StringBuilder object.
The interpolated string to append.
A reference to this instance after the append operation has completed.
Removes all characters from the current instance.
An object whose is 0 (zero).
Copies the characters from a specified segment of this instance to a specified segment of a destination array.
The starting position in this instance where characters will be copied from. The index is zero-based.
The array where characters will be copied.
The starting position in where characters will be copied. The index is zero-based.
The number of characters to be copied.
is .
, , or , is less than zero.
-or-
is greater than the length of this instance.
+ is greater than the length of this instance.
-or-
+ is greater than the length of .
Copies the characters from a specified segment of this instance to a destination span.
The starting position in this instance where characters will be copied from. The index is zero-based.
The writable span where characters will be copied.
The number of characters to be copied.
Ensures that the capacity of this instance of is at least the specified value.
The minimum capacity to ensure.
is less than zero.
-or-
Enlarging the value of this instance would exceed .
The new capacity of this instance.
Returns a value indicating whether the characters in this instance are equal to the characters in a specified read-only character span.
The character span to compare with the current instance.
if the characters in this instance and are the same; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance, or .
if this instance and have equal string, , and values; otherwise, .
Returns an object that can be used to iterate through the chunks of characters represented in a created from this instance.
An enumerator for the chunks in the .
Inserts the string representation of a Boolean value into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a specified 8-bit unsigned integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a specified Unicode character into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
-or-
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a specified subarray of Unicode characters into this instance at the specified character position.
The position in this instance where insertion begins.
A character array.
The starting index within .
The number of characters to insert.
is , and and are not zero.
, , or is less than zero.
-or-
is greater than the length of this instance.
-or-
plus is not a position within .
-or-
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a specified array of Unicode characters into this instance at the specified character position.
The position in this instance where insertion begins.
The character array to insert.
is less than zero or greater than the length of this instance.
-or-
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a decimal number into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a double-precision floating-point number into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a specified 16-bit signed integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a specified 32-bit signed integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a 64-bit signed integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of an object into this instance at the specified character position.
The position in this instance where insertion begins.
The object to insert, or .
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the sequence of characters into this instance at the specified character position.
The position in this instance where insertion begins.
The character span to insert.
A reference to this instance after the insert operation has completed.
Inserts the string representation of a specified 8-bit signed integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a single-precision floating point number into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts one or more copies of a specified string into this instance at the specified character position.
The position in this instance where insertion begins.
The string to insert.
The number of times to insert .
is less than zero or greater than the current length of this instance.
-or-
is less than zero.
The current length of this object plus the length of times exceeds .
A reference to this instance after insertion has completed.
Inserts a string into this instance at the specified character position.
The position in this instance where insertion begins.
The string to insert.
is less than zero or greater than the current length of this instance.
-or-
The current length of this object plus the length of exceeds .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a 16-bit unsigned integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a 32-bit unsigned integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Inserts the string representation of a 64-bit unsigned integer into this instance at the specified character position.
The position in this instance where insertion begins.
The value to insert.
is less than zero or greater than the length of this instance.
Enlarging the value of this instance would exceed .
A reference to this instance after the insert operation has completed.
Removes the specified range of characters from this instance.
The zero-based position in this instance where removal begins.
The number of characters to remove.
If or is less than zero, or + is greater than the length of this instance.
A reference to this instance after the excise operation has completed.
Replaces, within a substring of this instance, all occurrences of a specified character with another specified character.
The character to replace.
The character that replaces .
The position in this instance where the substring begins.
The length of the substring.
+ is greater than the length of the value of this instance.
-or-
or is less than zero.
A reference to this instance with replaced by in the range from to + -1.
Replaces all occurrences of a specified character in this instance with another specified character.
The character to replace.
The character that replaces .
A reference to this instance with replaced by .
Replaces all instances of one read-only character span with another in part of this builder.
The read-only character span to replace.
The read-only character span to replace with.
The index to start in this builder.
The number of characters to read in this builder.
A reference to this instance with replaced by .
Replaces all instances of one read-only character span with another in this builder.
The read-only character span to replace.
The read-only character span to replace with.
A reference to this instance with replaced by .
Replaces, within a substring of this instance, all occurrences of a specified string with another specified string.
The string to replace.
The string that replaces , or .
The position in this instance where the substring begins.
The length of the substring.
is .
The length of is zero.
or is less than zero.
-or-
plus indicates a character position not within this instance.
-or-
Enlarging the value of this instance would exceed .
A reference to this instance with all instances of replaced by in the range from to + - 1.
Replaces all occurrences of a specified string in this instance with another specified string.
The string to replace.
The string that replaces , or .
is .
The length of is zero.
Enlarging the value of this instance would exceed .
A reference to this instance with all instances of replaced by .
Populates a object with the data necessary to deserialize the current object.
The object to populate with serialization information.
The place to store and retrieve serialized data. Reserved for future use.
is .
Converts the value of this instance to a .
A string whose value is the same as this instance.
Converts the value of a substring of this instance to a .
The starting position of the substring in this instance.
The length of the substring.
or is less than zero.
-or-
The sum of and is greater than the length of the current instance.
A string whose value is the same as the specified substring of this instance.
Gets or sets the maximum number of characters that can be contained in the memory allocated by the current instance.
The value specified for a set operation is less than the current length of this instance.
-or-
The value specified for a set operation is greater than the maximum capacity.
The maximum number of characters that can be contained in the memory allocated by the current instance. Its value can range from to .
Gets or sets the character at the specified character position in this instance.
The position of the character.
is outside the bounds of this instance while setting a character.
is outside the bounds of this instance while getting a character.
The Unicode character at position .
Gets or sets the length of the current object.
The value specified for a set operation is less than zero or greater than .
The length of this instance.
Gets the maximum capacity of this instance.
The maximum number of characters this instance can hold.
Provides a handler used by the language compiler to append interpolated strings into instances.
Creates a handler used to translate an interpolated string into a .
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
The associated StringBuilder to which to append.
An object that supplies culture-specific formatting information.
Creates a handler used to append an interpolated string into a .
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
The associated StringBuilder to which to append.
Writes the specified value to the handler.
The value to write.
The minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified string of chars to the handler.
The span to write.
The minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified character span to the handler.
The span to write.
Writes the specified value to the handler.
The value to write.
The minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified value to the handler.
The value to write.
Writes the specified value to the handler.
The value to write.
The minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The type of the value to write.
Writes the specified string to the handler.
The string to write.
Supports simple iteration over the chunks of a instance.
Provides an implementation that returns as the .
An enumerator object that can be used to iterate through the chunks.
Advances the enumerator to the next chunk in the collection.
if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection.
Gets the chunk and the current position of the collection.
The chunk at the current position of the collection.
Provides an enumerator for the values represented by a string.
Returns the current enumerator instance.
The current enumerator instance.
Advances the enumerator to the next of the string.
if the enumerator successfully advanced to the next item; if the end of the string has been reached.
Returns the current enumerator instance.
The current enumerator instance.
Returns the current enumerator instance.
The current enumerator instance.
Resets the current instance to the beginning of the string.
Releases all resources used by the current instance.
Gets the at the current position of the enumerator.
The at the current position of the enumerator.
Gets the at the current position of the enumerator.
The at the current position of the enumerator.
Provides static methods that convert chunked data between UTF-8 and UTF-16 encodings.
Converts a UTF-16 character span to a UTF-8 encoded byte span.
A UTF-16 encoded read-only character span.
A UTF-8 encoded byte span.
When the method returns, the number of characters read from .
When the method returns, the number of bytes written to .
to replace invalid UTF-16 sequences in with U+FFFD; to return if invalid characters are found in .
if the method should not return ; otherwise, .
A value that indicates that status of the conversion.
Validates that the value is well-formed UTF-8.
The string.
if value is well-formed UTF-8, otherwise.
Converts a UTF-8 encoded read-only byte span to a UTF-16 encoded character span.
A UTF-8 encoded read-only byte span.
A UTF-16 encoded character span.
When the method returns, the number of bytes read from .
When the method returns, the number of characters written to .
to replace invalid UTF-8 sequences in with U+FFFD; to return if invalid characters are found in .
if the method should not return ; otherwise, .
A value that indicates the status of the conversion.
Writes the specified interpolated string to the UTF-8 byte span.
The span to which the interpolated string should be formatted.
An object that supplies culture-specific formatting information.
The interpolated string.
When this method returns, contains the number of characters written to the span.
if the entire interpolated string could be formatted successfully; otherwise, .
Writes the specified interpolated string to the UTF-8 byte span.
The span to which the interpolated string should be formatted.
The interpolated string.
When this method returns, contains the number of characters written to the span.
if the entire interpolated string could be formatted successfully; otherwise, .
Provides a handler used by the language compiler to format interpolated strings into UTF-8 byte spans.
Creates a handler used to write an interpolated string into a UTF-8 .
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
The destination buffer.
When this method returns, contains if the destination might be long enough to support the formatting, or if it isn't.
Creates a handler used to write an interpolated string into a UTF-8 .
The number of constant characters outside of interpolation expressions in the interpolated string.
The number of interpolation expressions in the interpolated string.
The destination buffer.
An object that supplies culture-specific formatting information.
When this method returns, contains if the destination might be long enough to support the formatting, or if it isn't.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified span of UTF-8 bytes to the handler.
The span to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified span of UTF-8 bytes to the handler.
The span to write.
Writes the specified string of chars to the handler.
The span to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified character span to the handler.
The span to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
Writes the specified value to the handler.
The value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The format string.
The type of the value to write.
Writes the specified value to the handler.
The value to write.
The type of the value to write.
Writes the specified string to the handler.
The string to write.
if the value could be formatted to the span; otherwise, .
Propagates notification that operations should be canceled.
Initializes the .
The canceled state for the token.
Determines whether the current instance is equal to the specified .
The other object to compare with this instance.
An associated has been disposed.
if is a and if the two instances are equal; otherwise, . See the Remarks section for more information.
Determines whether the current instance is equal to the specified token.
The other to compare with this instance.
if the instances are equal; otherwise, . See the Remarks section for more information.
Serves as a hash function for a .
A hash code for the current instance.
Determines whether two instances are equal.
The first instance.
The second instance.
An associated has been disposed.
if the instances are equal; otherwise, See the Remarks section for more information.
Determines whether two instances are not equal.
The first instance.
The second instance.
An associated has been disposed.
if the instances are not equal; otherwise, .
Registers a delegate that will be called when this is canceled.
The delegate to be executed when the is canceled.
A value that indicates whether to capture the current and use it when invoking the .
The associated has been disposed.
is null.
The instance that can be used to unregister the callback.
Registers a delegate that will be called when this is canceled.
The delegate to be executed when the is canceled.
The associated has been disposed.
is null.
The instance that can be used to unregister the callback.
Registers a delegate that will be called when this CancellationToken is canceled.
The delegate to be executed when the CancellationToken is canceled.
The state to pass to the when the delegate is invoked. This may be .
is .
The instance that can be used to unregister the callback.
Registers a delegate that will be called when this is canceled.
The delegate to be executed when the is canceled.
The state to pass to the when the delegate is invoked. This may be null.
A Boolean value that indicates whether to capture the current and use it when invoking the .
The associated has been disposed.
is null.
The instance that can be used to unregister the callback.
Registers a delegate that will be called when this is canceled.
The delegate to be executed when the is canceled.
The state to pass to the when the delegate is invoked. This may be null.
The associated has been disposed.
is null.
The instance that can be used to unregister the callback.
Throws a if this token has had cancellation requested.
The token has had cancellation requested.
Registers a delegate that will be called when this CancellationToken is canceled.
The delegate to be executed when the CancellationToken is canceled.
The state to pass to the when the delegate is invoked. This may be .
is .
The instance that can be used to unregister the callback.
Registers a delegate that is called when this is canceled.
The delegate to execute when the is canceled.
The state to pass to the when the delegate is invoked. This may be .
is null.
An object that can
be used to unregister the callback.
Gets whether this token is capable of being in the canceled state.
if this token is capable of being in the canceled state; otherwise, .
Gets whether cancellation has been requested for this token.
if cancellation has been requested for this token; otherwise, .
Returns an empty value.
An empty cancellation token.
Gets a that is signaled when the token is canceled.
The associated has been disposed.
A that is signaled when the token is canceled.
Represents a callback delegate that has been registered with a .
Disposes of the registration and unregisters the target callback from the associated .
Disposes of the registration and unregisters the target callback from the associated
.
A task that represents the asynchronous dispose operation.
Determines whether the current instance is equal to the specified .
The other object to which to compare this instance.
if both this and are equal. False, otherwise.
Two instances are equal if they both refer to the output of a single call to the same Register method of a .
Determines whether the current instance is equal to the specified .
The other to which to compare this instance.
if both this and are equal. False, otherwise.
Two instances are equal if they both refer to the output of a single call to the same Register method of a .
Serves as a hash function for a .
A hash code for the current instance.
Determines whether two instances are equal.
The first instance.
The second instance.
if the instances are equal; otherwise, .
Determines whether two instances are not equal.
The first instance.
The second instance.
if the instances are not equal; otherwise, .
Disposes of the registration and unregisters the target callback from the associated
.
if the method succeeds; otherwise, .
Gets the with which this registration is associated.
The cancellation token with which this registration is associated, or a default token if the
registration isn't associated with a token.
Signals to a that it should be canceled.
Initializes a new instance of the class.
Initializes a new instance of the class that will be canceled after the specified delay in milliseconds.
The time interval in milliseconds to wait before canceling this .
is less than -1.
Initializes a new instance of the class that will be canceled after the specified .
The time interval to wait before canceling this .
The with which to interpret the .
's is less than -1 or greater than - 1.
is .
Initializes a new instance of the class that will be canceled after the specified time span.
The time interval to wait before canceling this .
. is less than -1 or greater than Int32.MaxValue (or UInt32.MaxValue - 1 on some versions of .NET). Note that this upper bound is more restrictive than TimeSpan.MaxValue.
Communicates a request for cancellation.
This has been disposed.
An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated .
Communicates a request for cancellation, and specifies whether remaining callbacks and cancelable operations should be processed if an exception occurs.
if exceptions should immediately propagate; otherwise, .
This has been disposed.
An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated .
Schedules a cancel operation on this after the specified number of milliseconds.
The time span to wait before canceling this .
The exception thrown when this has been disposed.
The exception thrown when is less than -1.
Schedules a cancel operation on this after the specified time span.
The time span to wait before canceling this .
The exception thrown when this has been disposed.
. is less than -1 or greater than Int32.MaxValue (or UInt32.MaxValue - 1 on some versions of .NET). Note that this upper bound is more restrictive than TimeSpan.MaxValue.
Communicates a request for cancellation asynchronously.
This has been disposed.
A task that will complete after cancelable operations and callbacks registered with the associated have completed.
Creates a that will be in the canceled state when any of the source tokens are in the canceled state.
The CancellationToken instances to observe.
A that is linked to the source tokens.
Creates a that will be in the canceled state when any of the source tokens are in the canceled state.
The first cancellation token to observe.
The second cancellation token to observe.
A associated with one of the source tokens has been disposed.
A that is linked to the source tokens.
Creates a that will be in the canceled state when the supplied token is in the canceled state.
The cancellation token to observe.
An object that's linked to the source token.
Creates a that will be in the canceled state when any of the source tokens in the specified array are in the canceled state.
An array that contains the cancellation token instances to observe.
A associated with one of the source tokens has been disposed.
is .
is empty.
A that is linked to the source tokens.
Releases all resources used by the current instance of the class.
Releases the unmanaged resources used by the class and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Attempts to reset the to be used for an unrelated operation.
if the has not had cancellation requested and could have its state reset to be reused for a subsequent operation; otherwise, .
Gets whether cancellation has been requested for this .
if cancellation has been requested for this ; otherwise, .
Gets the associated with this .
The token source has been disposed.
The associated with this .
Represents a timer that can have its due time and period changed.
Changes the start time and the interval between method invocations for a timer, using values to measure time intervals.
A representing the amount of time to delay before invoking the callback method specified when the was constructed.
Specify to prevent the timer from restarting. Specify to restart the timer immediately.
The time interval between invocations of the callback method specified when the Timer was constructed.
Specify to disable periodic signaling.
The or parameter, in milliseconds, is less than -1 or greater than 4294967294.
if the timer was successfully updated; otherwise, .
Specifies how a instance synchronizes access among multiple threads.
Locks are used to ensure that only a single thread can initialize a instance in a thread-safe manner. Effectively, the initialization method is executed in a thread-safe manner (referred to as Execution in the field name). Publication of the initialized value is also thread-safe in the sense that only one value may be published and used by all threads. If the initialization method (or the parameterless constructor, if there is no initialization method) uses locks internally, deadlocks can occur. If you use a constructor that specifies an initialization method ( parameter), and if that initialization method throws an exception (or fails to handle an exception) the first time you call the property, then the exception is cached and thrown again on subsequent calls to the property. If you use a constructor that does not specify an initialization method, exceptions that are thrown by the parameterless constructor for are not cached. In that case, a subsequent call to the property might successfully initialize the instance. If the initialization method recursively accesses the property of the instance, an is thrown.
The instance is not thread safe; if the instance is accessed from multiple threads, its behavior is undefined. Use this mode only when high performance is crucial and the instance is guaranteed never to be initialized from more than one thread. If you use a constructor that specifies an initialization method ( parameter), and if that initialization method throws an exception (or fails to handle an exception) the first time you call the property, then the exception is cached and thrown again on subsequent calls to the property. If you use a constructor that does not specify an initialization method, exceptions that are thrown by the parameterless constructor for are not cached. In that case, a subsequent call to the property might successfully initialize the instance. If the initialization method recursively accesses the property of the instance, an is thrown.
When multiple threads try to initialize a instance simultaneously, all threads are allowed to run the initialization method (or the parameterless constructor, if there is no initialization method). The first thread to complete initialization sets the value of the instance. This is referred to as Publication in the field names. That value is returned to any other threads that were simultaneously running the initialization method, unless the initialization method throws exceptions on those threads. Any instances of that were created by the competing threads are discarded. Effectively, the publication of the initialized value is thread-safe in the sense that only one of the initialized values can be published and used by all threads. If the initialization method throws an exception on any thread, the exception is propagated out of the property on that thread. The exception is not cached. The value of the property remains , and subsequent calls to the property, either by the thread where the exception was thrown or by other threads, cause the initialization method to run again. If the initialization method recursively accesses the property of the instance, no exception is thrown.
Provides a mechanism for achieving mutual exclusion in regions of code between different threads.
Initializes a new instance of the class.
Enters the lock, waiting if necessary until the lock can be entered.
The lock has reached the limit of repeated entries by the current thread. The limit is implementation-defined and is intended to be high enough that it would not be reached in normal situations.
Enters the lock, waiting if necessary until the lock can be entered.
The lock has reached the limit of repeated entries by the current thread. The limit is implementation-defined and is intended to be high enough that it would not be reached in normal situations.
A that can be disposed to exit the lock.
Exits the lock.
The current thread does not hold the lock.
Tries to enter the lock without waiting.
The lock has reached the limit of repeated entries by the current thread. The limit is implementation-defined and is intended to be high enough that it would not be reached in normal situations.
if the lock was entered by the current thread; otherwise, .
Tries to enter the lock, waiting if necessary for the specified number of milliseconds until the lock can be entered.
The number of milliseconds to wait until the lock can be entered. Specify Timeout.Infinite (-1) to wait indefinitely, or 0 to not wait.
is less than -1.
The lock has reached the limit of repeated entries by the current thread. The limit is implementation-defined and is intended to be high enough that it would not be reached in normal situations.
if the lock was entered by the current thread; otherwise, .
Tries to enter the lock, waiting if necessary until the lock can be entered or until the specified timeout expires.
A that represents the number of milliseconds to wait until the lock can be entered. Specify a value that represents Timeout.Infinite (-1) milliseconds to wait indefinitely, or a value that represents 0 milliseconds to not wait.
, after its conversion to an integer millisecond value, represents a value that is less than -1 milliseconds or greater than Int32.MaxValue milliseconds.
The lock has reached the limit of repeated entries by the current thread. The limit is implementation-defined and is intended to be high enough that it would not be reached in normal situations.
if the lock was entered by the current thread; otherwise, .
Gets a value that indicates whether the lock is held by the current thread.
if the current thread holds the lock; otherwise, .
Represents a that might have been entered.
Exits the lock if the represents a lock that was entered.
The represents a lock that was entered and the current thread does not hold the lock.
Provides a periodic timer that enables waiting asynchronously for timer ticks.
Initializes the timer.
The period between ticks.
The used to interpret .
must be or represent a number of milliseconds equal to or larger than 1 and smaller than .
is .
Initializes the timer.
The time interval in milliseconds between invocations of the callback.
is less than or equal to 0, or greater than or equal to UInt32.MaxValue.
Stops the timer and releases the associated managed resources.
Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the object.
Waits for the next tick of the timer, or for the timer to be stopped.
A for cancelling the asynchronous wait. If cancellation is requested, it affects only the single wait operation; the underlying timer continues firing.
The cancellation token was canceled. This exception is stored into the returned task.
A task that will be completed due to the timer firing, being called to stop the timer, or cancellation being requested.
Gets or sets the period between ticks.
must be or represent a number of milliseconds equal to or larger than 1 and smaller than .
Provides task schedulers that coordinate to execute tasks while ensuring that concurrent tasks may run concurrently and exclusive tasks never do.
Initializes a new instance of the class.
Initializes a new instance of the class that targets the specified scheduler with a maximum concurrency level and a maximum number of scheduled tasks that may be processed as a unit.
The target scheduler on which this pair should execute.
The maximum number of tasks to run concurrently.
The maximum number of tasks to process for each underlying scheduled task used by the pair.
Initializes a new instance of the class that targets the specified scheduler with a maximum concurrency level.
The target scheduler on which this pair should execute.
The maximum number of tasks to run concurrently.
Initializes a new instance of the class that targets the specified scheduler.
The target scheduler on which this pair should execute.
Informs the scheduler pair that it should not accept any more tasks.
Gets a that will complete when the scheduler has completed processing.
The asynchronous operation that will complete when the scheduler finishes processing.
Gets a that can be used to schedule tasks to this pair that may run concurrently with other tasks on this pair.
An object that can be used to schedule tasks concurrently.
Gets a that can be used to schedule tasks to this pair that must run exclusively with regards to other tasks on this pair.
An object that can be used to schedule tasks that do not run concurrently with other tasks.
Options to control behavior when awaiting.
Attempts to marshal the continuation back to the original or present on the originating thread at the time of the await.
Forces an await on an already completed to behave as if the wasn't yet completed, such that the current asynchronous method will be forced to yield its execution.
No options specified.
Avoids throwing an exception at the completion of awaiting a that ends in the or state.
Represents an object that can be wrapped by a .
Gets the result of the .
An opaque value that was provided to the constructor.
Gets the status of the current operation.
Opaque value that was provided to the 's constructor.
The status of the current operation.
Schedules the continuation action for this .
The continuation to invoke when the operation has completed.
The state object to pass to when it's invoked.
An opaque value that was provided to the 's constructor.
The flags describing the behavior of the continuation.
Represents an object that can be wrapped by a .
The type of the result produced by the .
Gets the result of the .
An opaque value that was provided to the constructor.
The result of the .
Gets the status of the current operation.
Opaque value that was provided to the 's constructor.
A value that indicates the status of the current operation.
Schedules the continuation action for this .
The continuation to invoke when the operation has completed.
The state object to pass to when it's invoked.
An opaque value that was provided to the constructor.
The flags describing the behavior of the continuation.
Provides the core logic for implementing a manual-reset or .
Specifies the type of results of the operation represented by this instance.
Gets the result of the operation.
Opaque value that was provided to the 's constructor.
The result of the operation.
Gets the status of the operation.
Opaque value that was provided to the 's constructor.
A value that indicates the status of the operation.
Schedules the continuation action for this operation.
The continuation to invoke when the operation has completed.
The state object to pass to when it's invoked.
Opaque value that was provided to the 's constructor.
The flags describing the behavior of the continuation.
Resets to prepare for the next operation.
Completes with an error.
The exception to set.
Completes with a successful result.
The result.
Gets or sets whether to force continuations to run asynchronously.
to force continuations to run asynchronously; otherwise, .
Gets the operation version.
The operation version.
Provides flags passed from and to the method to control the behavior of a continuation.
should capture the current and use it to run the continuation.
No requirements are placed on how the continuation is invoked.
should capture the current scheduling context (the )
and use it when queueing the continuation for execution. If this flag is not set, the implementation
may choose to execute the continuation in an arbitrary location.
Indicates the status of an or .
The operation completed due to cancellation.
The operation completed with an error.
The operation has not yet completed.
The operation completed successfully.
Represents an asynchronous operation.
Initializes a new with the specified action and creation options.
The delegate that represents the code to execute in the task.
The that the new task will observe.
The used to customize the task's behavior.
The that created has already been disposed.
The argument is null.
The argument specifies an invalid value for .
Initializes a new with the specified action and .
The delegate that represents the code to execute in the task.
The that the new task will observe.
The provided has already been disposed.
The argument is null.
Initializes a new with the specified action and creation options.
The delegate that represents the code to execute in the task.
The used to customize the task's behavior.
The argument is null.
The argument specifies an invalid value for .
Initializes a new with the specified action.
The delegate that represents the code to execute in the task.
The argument is .
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The that the new task will observe.
The used to customize the task's behavior.
The that created has already been disposed.
The argument is null.
The argument specifies an invalid value for .
Initializes a new with the specified action, state, and .
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The that the new task will observe.
The that created has already been disposed.
The argument is null.
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The used to customize the task's behavior.
The argument is null.
The argument specifies an invalid value for .
Initializes a new with the specified action and state.
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The argument is null.
Configures an awaiter used to await this .
to attempt to marshal the continuation back to the original context captured; otherwise, .
An object used to await this task.
Configures an awaiter used to await this .
Options used to configure how awaits on this task are performed.
The argument specifies an invalid value.
An object used to await this task.
Creates a continuation that receives caller-supplied state information and a cancellation token and that executes when the target completes. The continuation executes based on a set of specified conditions and uses a specified scheduler.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The argument is .
The argument specifies an invalid value for .
The provided has already been disposed.
A new continuation .
Creates a continuation that receives caller-supplied state information and a cancellation token and that executes asynchronously when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
The argument is .
The provided has already been disposed.
A new continuation .
Creates a continuation that receives caller-supplied state information and executes when the target completes. The continuation executes based on a set of specified conditions.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that receives caller-supplied state information and executes asynchronously when the target completes. The continuation uses a specified scheduler.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The to associate with the continuation task and to use for its execution.
The argument is .
A new continuation .
Creates a continuation that receives caller-supplied state information and executes when the target completes.
An action to run when the task completes. When run, the delegate is passed the completed task and a caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The argument is .
A new continuation task.
Creates a continuation that executes when the target task competes according to the specified . The continuation receives a cancellation token and uses a specified scheduler.
An action to run according to the specified . When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The that created the token has already been disposed.
The argument is null.
-or-
The argument is null.
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that receives a cancellation token and executes asynchronously when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
The that created the token has already been disposed.
The argument is null.
A new continuation .
Creates a continuation that executes when the target task completes according to the specified .
An action to run according to the specified . When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The argument is null.
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes asynchronously when the target completes. The continuation uses a specified scheduler.
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The has been disposed.
The argument is .
-or-
The argument is null.
A new continuation .
Creates a continuation that executes asynchronously when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The argument is .
A new continuation .
Creates a continuation that executes according to the specified continuation options and returns a value. The continuation is passed a cancellation token and uses a specified scheduler.
A function to run according to the specified continuationOptions. When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.
-or-
The that created the token has already been disposed.
The argument is null.
-or-
The argument is null.
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes asynchronously when the target completes and returns a value. The continuation receives a cancellation token.
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
The type of the result produced by the continuation.
The has been disposed.
-or-
The that created the token has already been disposed.
The argument is null.
A new continuation .
Creates a continuation that executes according to the specified continuation options and returns a value.
A function to run according to the condition specified in . When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The has been disposed.
The argument is null.
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes asynchronously when the target completes and returns a value. The continuation uses a specified scheduler.
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.
The argument is null.
-or-
The argument is null.
A new continuation .
Creates a continuation that executes asynchronously when the target completes and returns a value.
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The type of the result produced by the continuation.
The has been disposed.
The argument is null.
A new continuation task.
Creates a continuation that executes based on the specified task continuation options when the target completes and returns a value. The continuation receives caller-supplied state information and a cancellation token and uses the specified scheduler.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is .
The argument specifies an invalid value for .
The provided has already been disposed.
A new continuation .
Creates a continuation that executes asynchronously when the target completes and returns a value. The continuation receives caller-supplied state information and a cancellation token.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new continuation task.
The type of the result produced by the continuation.
The argument is .
The provided has already been disposed.
A new continuation .
Creates a continuation that executes based on the specified task continuation options when the target completes. The continuation receives caller-supplied state information.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes asynchronously when the target completes. The continuation receives caller-supplied state information and uses a specified scheduler.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is .
A new continuation .
Creates a continuation that receives caller-supplied state information and executes asynchronously when the target completes and returns a value.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The type of the result produced by the continuation.
The argument is .
A new continuation .
Creates a cancellable task that completes after a specified number of milliseconds.
The number of milliseconds to wait before completing the returned task, or -1 to wait indefinitely.
A cancellation token to observe while waiting for the task to complete.
The argument is less than -1.
The task has been canceled. This exception is stored into the returned task.
The provided has already been disposed.
The task has been canceled.
A task that represents the time delay.
Creates a task that completes after a specified number of milliseconds.
The number of milliseconds to wait before completing the returned task, or -1 to wait indefinitely.
The argument is less than -1.
A task that represents the time delay.
Creates a cancellable task that completes after a specified time interval.
The time span to wait before completing the returned task, or to wait indefinitely.
A cancellation token to observe while waiting for the task to complete.
represents a negative time interval other than .
-or-
The argument's property is greater than 4294967294 on .NET 6 and later versions, or Int32.MaxValue on all previous versions.
The task has been canceled. This exception is stored into the returned task.
The provided has already been disposed.
The task has been canceled.
A task that represents the time delay.
Creates a cancellable task that completes after a specified time interval.
The to wait before completing the returned task, or to wait indefinitely.
The with which to interpret .
A cancellation token to observe while waiting for the task to complete.
represents a negative time interval other than .
-or-
's property is greater than 4294967294.
The argument is .
The cancellation token was canceled. This exception is stored into the returned task.
A task that represents the time delay.
Creates a task that completes after a specified time interval.
The to wait before completing the returned task, or to wait indefinitely.
The with which to interpret .
represents a negative time interval other than .
-or-
's property is greater than 4294967294.
The argument is .
A task that represents the time delay.
Creates a task that completes after a specified time interval.
The time span to wait before completing the returned task, or to wait indefinitely.
represents a negative time interval other than .
-or-
The argument's property is greater than 4294967294 on .NET 6 and later versions, or Int32.MaxValue on all previous versions.
A task that represents the time delay.
Releases all resources used by the current instance of the class.
The task is not in one of the final states: , , or .
Disposes the , releasing all of its unmanaged resources.
A Boolean value that indicates whether this method is being called due to a call to .
The task is not in one of the final states: , , or .
Creates a that's completed due to cancellation with a specified cancellation token.
The cancellation token with which to complete the task.
Cancellation has not been requested for ; its property is .
The canceled task.
Creates a that's completed due to cancellation with a specified cancellation token.
The cancellation token with which to complete the task.
The type of the result returned by the task.
Cancellation has not been requested for ; its property is .
The canceled task.
Creates a that has completed with a specified exception.
The exception with which to complete the task.
The faulted task.
Creates a that's completed with a specified exception.
The exception with which to complete the task.
The type of the result returned by the task.
The faulted task.
Creates a that's completed successfully with the specified result.
The result to store into the completed task.
The type of the result returned by the task.
The successfully completed task.
Gets an awaiter used to await this .
An awaiter instance.
Queues the specified work to run on the thread pool and returns a object that represents that work. A cancellation token allows the work to be cancelled if it has not yet started.
The work to execute asynchronously.
A cancellation token that can be used to cancel the work if it has not yet started. does not pass to .
The parameter is .
The task has been canceled. This exception is stored into the returned task.
The associated with was disposed.
The task has been canceled.
A task that represents the work queued to execute in the thread pool.
Queues the specified work to run on the thread pool and returns a object that represents that work.
The work to execute asynchronously.
The parameter was .
A task that represents the work queued to execute in the ThreadPool.
Queues the specified work to run on the thread pool and returns a proxy for the task returned by . A cancellation token allows the work to be cancelled if it has not yet started.
The work to execute asynchronously.
A cancellation token that can be used to cancel the work if it has not yet started. does not pass to .
The parameter was .
The task has been canceled. This exception is stored into the returned task.
The associated with was disposed.
The task has been canceled.
A task that represents a proxy for the task returned by .
Queues the specified work to run on the thread pool and returns a proxy for the task returned by .
The work to execute asynchronously.
The parameter was .
A task that represents a proxy for the task returned by .
Queues the specified work to run on the thread pool and returns a object that represents that work.
The work to execute asynchronously.
A cancellation token that can be used to cancel the work if it has not yet started. does not pass to .
The result type of the task.
The parameter is .
The task has been canceled. This exception is stored into the returned task.
The associated with was disposed.
The task has been canceled.
A that represents the work queued to execute in the thread pool.
Queues the specified work to run on the thread pool and returns a object that represents that work. A cancellation token allows the work to be cancelled if it has not yet started.
The work to execute asynchronously.
The return type of the task.
The parameter is .
A task object that represents the work queued to execute in the thread pool.
Queues the specified work to run on the thread pool and returns a proxy for the returned by .
The work to execute asynchronously.
A cancellation token that can be used to cancel the work if it has not yet started. does not pass to .
The type of the result returned by the proxy task.
The parameter was .
The task has been canceled. This exception is stored into the returned task.
The associated with was disposed.
The task has been canceled.
A that represents a proxy for the returned by .
Queues the specified work to run on the thread pool and returns a proxy for the returned by . A cancellation token allows the work to be cancelled if it has not yet started.
The work to execute asynchronously.
The type of the result returned by the proxy task.
The parameter was .
A that represents a proxy for the returned by .
Runs the synchronously on the current .
The instance has been disposed.
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
Runs the synchronously on the provided.
The scheduler on which to attempt to run this task inline.
The instance has been disposed.
The argument is .
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
Starts the , scheduling it for execution to the current .
The instance has been disposed.
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
Starts the , scheduling it for execution to the specified .
The with which to associate and execute this task.
The argument is .
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
The instance has been disposed.
The scheduler was unable to queue this task.
Waits for the to complete execution.
The has been disposed.
The task was canceled. The collection contains a object.
-or-
An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Waits for the to complete execution. The wait terminates if a timeout interval elapses or a cancellation token is canceled before the task completes.
The number of milliseconds to wait, or (-1) to wait indefinitely.
A cancellation token to observe while waiting for the task to complete.
The was canceled.
The has been disposed.
is a negative number other than -1, which represents an infinite time-out.
The task was canceled. The collection contains a object.
-or-
An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
if the completed execution within the allotted time; otherwise, .
Waits for the to complete execution within a specified number of milliseconds.
The number of milliseconds to wait, or (-1) to wait indefinitely.
The has been disposed.
is a negative number other than -1, which represents an infinite time-out.
The task was canceled. The collection contains a object.
-or-
An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
if the completed execution within the allotted time; otherwise, .
Waits for the to complete execution. The wait terminates if a cancellation token is canceled before the task completes.
A cancellation token to observe while waiting for the task to complete.
The was canceled.
The task has been disposed.
The task was canceled. The collection contains a object.
-or-
An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Waits for the to complete execution.
The time to wait, or to wait indefinitely
A to observe while waiting for the task to complete.
The was canceled
-or-
an exception was thrown during the execution of the .
is a negative number other than -1 milliseconds, which represents an
infinite time-out
-or-
timeout is greater than
.
The was canceled.
if the completed execution within the allotted time; otherwise, .
Waits for the to complete execution within a specified time interval.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
The has been disposed.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The task was canceled. The collection contains a object.
-or-
An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
if the completed execution within the allotted time; otherwise, .
Waits for all of the provided objects to complete execution unless the wait is cancelled.
A collection of tasks on which to wait.
A token to observe while waiting for the tasks to complete.
The argument is .
The argument contains a element.
One or more of the objects in tasks has been disposed.
The was canceled.
At least one of the instances was canceled. If a task was canceled, the
contains an in its collection.
Waits for all of the provided objects to complete execution.
An array of instances on which to wait.
The argument contains a element.
At least one of the instances was canceled.
-or-
An exception was thrown during
the execution of at least one of the instances.
Waits for all of the provided objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
A to observe while waiting for the tasks to complete.
One or more of the objects in has been disposed.
The argument is .
At least one of the instances was canceled. If a task was canceled, the contains an in its collection.
-or-
An exception was thrown during the execution of at least one of the instances.
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
The was canceled.
if all of the instances completed execution within the allotted time; otherwise, .
Waits for all of the provided objects to complete execution within a specified number of milliseconds.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
One or more of the objects in has been disposed.
The argument is .
At least one of the instances was canceled. If a task was canceled, the contains an in its collection.
-or-
An exception was thrown during the execution of at least one of the instances.
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
if all of the instances completed execution within the allotted time; otherwise, .
Waits for all of the provided objects to complete execution unless the wait is cancelled.
An array of instances on which to wait.
A to observe while waiting for the tasks to complete.
The was canceled.
The argument is .
At least one of the instances was canceled. If a task was canceled, the contains an in its collection.
-or-
An exception was thrown during the execution of at least one of the instances.
The argument contains a null element.
One or more of the objects in has been disposed.
Waits for all of the provided cancellable objects to complete execution within a specified time interval.
An array of instances on which to wait.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
One or more of the objects in has been disposed.
The argument is .
At least one of the instances was canceled. If a task was canceled, the contains an in its collection.
-or-
An exception was thrown during the execution of at least one of the instances.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The argument contains a null element.
if all of the instances completed execution within the allotted time; otherwise, .
Waits for all of the provided objects to complete execution.
An array of instances on which to wait.
One or more of the objects in has been disposed.
The argument is .
The argument contains a null element.
At least one of the instances was canceled. If a task was canceled, the exception contains an exception in its collection.
-or-
An exception was thrown during the execution of at least one of the instances.
Waits for any of the provided objects to complete execution within a specified number of milliseconds or until a cancellation token is cancelled.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
A to observe while waiting for a task to complete.
The has been disposed.
The argument is .
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
The was canceled.
The index of the completed task in the array argument, or -1 if the timeout occurred.
Waits for any of the provided objects to complete execution within a specified number of milliseconds.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
The has been disposed.
The argument is .
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
The index of the completed task in the array argument, or -1 if the timeout occurred.
Waits for any of the provided objects to complete execution unless the wait is cancelled.
An array of instances on which to wait.
A to observe while waiting for a task to complete.
The has been disposed.
The argument is .
The argument contains a null element.
The was canceled.
The index of the completed task in the array argument.
Waits for any of the provided objects to complete execution within a specified time interval.
An array of instances on which to wait.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
The has been disposed.
The argument is .
The property of the argument is a negative number other than -1, which represents an infinite time-out.
-or-
The property of the argument is greater than Int32.MaxValue.
The argument contains a null element.
The index of the completed task in the array argument, or -1 if the timeout occurred.
Waits for any of the provided objects to complete execution.
An array of instances on which to wait.
The has been disposed.
The argument is .
The argument contains a null element.
The index of the completed object in the array.
Gets a that will complete when this completes or when the specified has cancellation requested.
The to monitor for a cancellation request.
The cancellation token was canceled. This exception is stored into the returned task.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes, when the specified timeout expires, or when the specified has cancellation requested.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The to monitor for a cancellation request.
The cancellation token was canceled. This exception is stored into the returned task.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes, when the specified timeout expires, or when the specified has cancellation requested.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The with which to interpret .
The to monitor for a cancellation request.
The argument is .
The timeout expired. This exception is stored into the returned task.
The cancellation token was canceled. This exception is stored into the returned task.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes or when the specified timeout expires.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The with which to interpret .
The argument is .
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes or when the specified timeout expires.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Creates a task that will complete when all of the objects in an enumerable collection have completed.
The tasks to wait on for completion.
The argument was .
The collection contained a task.
A task that represents the completion of all of the supplied tasks.
Creates a task that will complete when all of the supplied tasks have completed.
The tasks to wait on for completion.
The array contains a task.
A task that represents the completion of all of the supplied tasks.
Creates a task that will complete when all of the objects in an array have completed.
The tasks to wait on for completion.
The argument was .
The array contained a task.
A task that represents the completion of all of the supplied tasks.
Creates a task that will complete when all of the objects in an enumerable collection have completed.
The tasks to wait on for completion.
The type of the completed task.
The argument was .
The collection contained a task.
A task that represents the completion of all of the supplied tasks.
Creates a task that will complete when all of the supplied tasks have completed.
The tasks to wait on for completion.
The type of the result returned by the tasks.
The array contains a task.
A task that represents the completion of all of the supplied tasks.
Creates a task that will complete when all of the objects in an array have completed.
The tasks to wait on for completion.
The type of the completed task.
The argument was .
The array contained a task.
A task that represents the completion of all of the supplied tasks.
Creates a task that will complete when any of the supplied tasks have completed.
The tasks to wait on for completion.
The argument was .
The array contained a null task, or was empty.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
Creates a task that will complete when any of the supplied tasks have completed.
The tasks to wait on for completion.
The array contains a task, or is empty.
A task that represents the completion of one of the supplied tasks. The return Task's Result is the task that completed.
Creates a task that will complete when either of the supplied tasks have completed.
The first task to wait on for completion.
The second task to wait on for completion.
or was .
A new task that represents the completion of one of the supplied tasks. Its is the task that completed first.
Creates a task that will complete when any of the supplied tasks have completed.
The tasks to wait on for completion.
The argument was null.
The array contained a null task, or was empty.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
Creates a task that will complete when any of the supplied tasks have completed.
The tasks to wait on for completion.
The type of the completed task.
The argument was .
The array contained a null task, or was empty.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
Creates a task that will complete when any of the supplied tasks have completed.
The tasks to wait on for completion.
The type of the result returned by the tasks.
The array contains a task, or is empty.
A task that represents the completion of one of the supplied tasks. The return Task's Result is the task that completed.
Creates a task that will complete when either of the supplied tasks have completed.
The first task to wait on for completion.
The second task to wait on for completion.
The type of the result of the returned task.
or was .
A task that represents the completion of one of the supplied tasks. The returned task's is the task that completed first.
Creates a task that will complete when any of the supplied tasks have completed.
The tasks to wait on for completion.
The type of the completed task.
The argument was null.
The array contained a null task, or was empty.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
Creates an that will yield the supplied tasks as those tasks complete.
The tasks to iterate through as they complete.
An for iterating through the supplied tasks.
Creates an that will yield the supplied tasks as those tasks complete.
The tasks to iterate through as they complete.
An for iterating through the supplied tasks.
Creates an that will yield the supplied tasks as those tasks complete.
The task to iterate through when completed.
is .
contains a .
An for iterating through the supplied tasks.
Creates an that will yield the supplied tasks as those tasks complete.
The tasks to iterate through as they complete.
The type of the result returned by the tasks.
An for iterating through the supplied tasks.
Creates an that will yield the supplied tasks as those tasks complete.
The tasks to iterate through as they complete.
The type of the result returned by the tasks.
An for iterating through the supplied tasks.
Creates an that will yield the supplied tasks as those tasks complete.
The tasks to iterate through as they complete.
The type of the result returned by the tasks.
An for iterating through the supplied tasks.
Creates an awaitable task that asynchronously yields back to the current context when awaited.
A context that, when awaited, will asynchronously transition back into the current context at the time of the await. If the current is non-null, it is treated as the current context. Otherwise, the task scheduler that is associated with the currently executing task is treated as the current context.
Gets the state object supplied when the was created, or null if none was supplied.
An that represents the state data that was passed in to the task when it was created.
Gets a task that has already completed successfully.
The successfully completed task.
Gets the used to create this task.
The used to create this task.
Returns the ID of the currently executing .
An integer that was assigned by the system to the currently-executing task.
Gets the that caused the to end prematurely. If the completed successfully or has not yet thrown any exceptions, this will return .
The that caused the to end prematurely.
Provides access to factory methods for creating and configuring and instances.
A factory object that can create a variety of and objects.
Gets an ID for this instance.
The identifier that is assigned by the system to this instance.
Gets whether this instance has completed execution due to being canceled.
if the task has completed due to being canceled; otherwise .
Gets a value that indicates whether the task has completed.
if the task has completed (that is, the task is in one of the three final states: , , or ); otherwise, .
Gets whether the task ran to completion.
if the task ran to completion; otherwise .
Gets whether the completed due to an unhandled exception.
if the task has thrown an unhandled exception; otherwise .
Gets the of this task.
The current of this task instance.
Gets a that can be used to wait for the task to complete.
The has been disposed.
A that can be used to wait for the task to complete.
Gets an indication of whether the operation completed synchronously.
if the operation completed synchronously; otherwise, .
Represents an asynchronous operation that can return a value.
The type of the result produced by this .
Initializes a new with the specified function and creation options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The that will be assigned to the new task.
The used to customize the task's behavior.
The that created has already been disposed.
The argument specifies an invalid value for .
The argument is .
The argument is .
Initializes a new with the specified function.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The to be assigned to this task.
The that created has already been disposed.
The argument is .
The argument is .
Initializes a new with the specified function and creation options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The used to customize the task's behavior.
The argument specifies an invalid value for .
The argument is .
The argument is .
Initializes a new with the specified function.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The argument is .
The argument is .
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the function.
The to be assigned to the new task.
The used to customize the task's behavior.
The that created has already been disposed.
The argument specifies an invalid value for .
The argument is .
The argument is .
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the function.
The to be assigned to the new task.
The that created has already been disposed.
The argument is .
The argument is .
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the function.
The used to customize the task's behavior.
The argument specifies an invalid value for .
The argument is .
The argument is .
Initializes a new with the specified function and state.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the action.
The argument is .
The argument is .
Configures an awaiter used to await this .
true to attempt to marshal the continuation back to the original context captured; otherwise, false.
An object used to await this task.
Configures an awaiter used to await this .
Options used to configure how awaits on this task are performed.
The argument specifies an invalid value.
An object used to await this task.
Creates a continuation that executes when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The argument is .
The argument specifies an invalid value for .
The provided has already been disposed.
A new continuation .
Creates a continuation that executes when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
The argument is .
The provided has already been disposed.
A new continuation .
Creates a continuation that executes when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The to associate with the continuation task and to use for its execution.
The argument is .
A new continuation .
Creates a continuation that is passed state information and that executes when the target completes.
An action to run when the completes. When run, the delegate is passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The argument is .
A new continuation .
Creates a continuation that executes according the condition specified in .
An action to run according the condition specified in . When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The has been disposed.
-or-
The that created has already been disposed.
The argument is .
-or-
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a cancelable continuation that executes asynchronously when the target completes.
An action to run when the completes. When run, the delegate is passed the completed task as an argument.
The cancellation token that is passed to the new continuation task.
The has been disposed.
-or-
The that created has been disposed.
The argument is .
A new continuation task.
Creates a continuation that executes according the condition specified in .
An action to according the condition specified in . When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The has been disposed.
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes asynchronously when the target completes.
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The has been disposed.
The argument is .
-or-
The argument is .
A new continuation .
Creates a continuation that executes asynchronously when the target task completes.
An action to run when the antecedent completes. When run, the delegate will be passed the completed task as an argument.
The has been disposed.
The argument is .
A new continuation task.
Creates a continuation that executes according the condition specified in .
A function to run according the condition specified in .
When run, the delegate will be passed as an argument this completed task.
The that will be assigned to the new task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.
-or-
The that created has already been disposed.
The argument is .
-or-
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes asynchronously when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new task.
The type of the result produced by the continuation.
The has been disposed.
-or-
The that created has already been disposed.
The argument is .
A new continuation .
Creates a continuation that executes according the condition specified in .
A function to run according the condition specified in .
When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The has been disposed.
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes asynchronously when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.
The argument is .
-or-
The argument is .
A new continuation .
Creates a continuation that executes asynchronously when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The type of the result produced by the continuation.
The has been disposed.
The argument is .
A new continuation .
Creates a continuation that executes when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is .
The argument specifies an invalid value for .
The provided has already been disposed.
A new continuation .
Creates a continuation that executes when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new task.
The type of the result produced by the continuation.
The argument is .
The provided has already been disposed.
A new continuation .
Creates a continuation that executes when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The argument is .
The argument specifies an invalid value for .
A new continuation .
Creates a continuation that executes when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is .
A new continuation .
Creates a continuation that executes when the target completes.
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The type of the result produced by the continuation.
The argument is .
A new continuation .
Gets an awaiter used to await this .
An awaiter instance.
Gets a that will complete when this completes or when the specified has cancellation requested.
The to monitor for a cancellation request.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes, when the specified timeout expires, or when the specified has cancellation requested.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The to monitor for a cancellation request.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes, when the specified timeout expires, or when the specified has cancellation requested.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The with which to interpret .
The to monitor for a cancellation request.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes or when the specified timeout expires.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The with which to interpret .
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a that will complete when this completes or when the specified timeout expires.
The timeout after which the should be faulted with a if it hasn't otherwise completed.
The representing the asynchronous wait. It may or may not be the same instance as the current instance.
Gets a factory method for creating and configuring instances.
A factory object that can create a variety of objects.
Gets the result value of this .
The task was canceled. The collection contains a object.
-or-
An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
The result value of this , which is of the same type as the task's type parameter.
Provides a set of static methods for configuring -related behaviors on asynchronous enumerables and disposables.
Configures how awaits on the tasks returned from an async disposable will be performed.
The source async disposable.
Whether to capture and marshal back to the current context.
The configured async disposable.
Configures how awaits on the tasks returned from an async iteration will be performed.
The source enumerable being iterated.
Whether to capture and marshal back to the current context.
The type of the objects being iterated.
The configured enumerable.
Converts an instance into an that enumerates elements in a blocking manner.
The source enumerable being iterated.
The to use.
The type of the objects being iterated.
An instance that enumerates the source in a blocking manner.
Sets the to be passed to when iterating.
The source enumerable being iterated.
The to use.
The type of the objects being iterated.
The configured enumerable.
Represents an exception used to communicate task cancellation.
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message, a reference to the inner exception that is the cause of this exception, and the that triggered the cancellation.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception.
The cancellation token that triggered the cancellation.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Initializes a new instance of the class with a reference to the that has been canceled.
A task that has been canceled.
Gets the task associated with this exception.
A reference to the that is associated with this exception.
Represents the producer side of a unbound to a delegate, providing access to the consumer side through the property.
Creates a .
Creates a with the specified state and options.
The state to use as the underlying 's .
The options to use when creating the underlying .
One or more of the specified are invalid for use with a .
Creates a with the specified state.
The state to use as the underlying 's .
Creates a with the specified options.
The options to use when creating the underlying .
One or more of the specified are invalid for use with a .
Transitions the underlying into the state.
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the state using the specified token.
The cancellation token with which to cancel the .
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the state.
The collection of exceptions to bind to this .
is .
There are one or more elements in .
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the state.
The exception to bind to this .
is .
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the same completion state as the specified .
The completed task whose completion status (including exception or cancellation information) should be copied to the underlying task.
is .
is not completed.
The underlying is already in one of the three final states:
, , or .
Transitions the underlying into the state.
The underlying is already in one of the three final states: , , or .
Attempts to transition the underlying into the state.
if the operation was successful; otherwise, .
Attempts to transition the underlying into the state.
The cancellation token with which to cancel the .
if the operation was successful; otherwise, .
Attempts to transition the underlying into the state.
The collection of exceptions to bind to this .
is .
There are one or more elements in .
The collection is empty.
if the operation was successful; otherwise, .
Attempts to transition the underlying into the state.
The exception to bind to this .
is .
if the operation was successful; otherwise, .
Attempts to transition the underlying into the same completion state as the specified .
The completed task whose completion status (including exception or cancellation information) should be copied to the underlying task.
is .
is not completed.
if the operation was successful; otherwise, .
Attempts to transition the underlying into the state.
if the operation was successful; otherwise, .
Gets the created by this .
Represents the producer side of a unbound to a delegate, providing access to the consumer side through the property.
The type of the result value associated with this .
Creates a .
Creates a with the specified state and options.
The state to use as the underlying 's AsyncState.
The options to use when creating the underlying .
The represent options invalid for use with a .
Creates a with the specified state.
The state to use as the underlying 's AsyncState.
Creates a with the specified options.
The options to use when creating the underlying .
The represent options invalid for use with a .
Transitions the underlying into the state.
The underlying is already in one of the three final states: , , or , or if the underlying has already been disposed.
The was disposed.
Transitions the underlying into the state using the specified token.
The cancellation token with which to cancel the .
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the state and binds a collection of exception objects to it.
The collection of exceptions to bind to this .
The was disposed.
The argument is .
There are one or more null elements in .
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the state and binds it to a specified exception.
The exception to bind to this .
The was disposed.
The argument is .
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the same completion state as the specified .
The completed task whose completion status (including result, exception, or cancellation information) should be copied to the underlying task.
is .
is not completed.
The underlying is already in one of the three final states:
, , or .
Transitions the underlying into the state.
The result value to bind to this .
The was disposed.
The underlying is already in one of the three final states: , , or .
Attempts to transition the underlying into the state.
The was disposed.
if the operation was successful; false if the operation was unsuccessful or the object has already been disposed.
Attempts to transition the underlying into the state and enables a cancellation token to be stored in the canceled task.
A cancellation token.
if the operation is successful; otherwise, .
Attempts to transition the underlying into the state and binds a collection of exception objects to it.
The collection of exceptions to bind to this .
The was disposed.
The argument is .
There are one or more null elements in .
-or-
The collection is empty.
if the operation was successful; otherwise, .
Attempts to transition the underlying into the state and binds it to a specified exception.
The exception to bind to this .
The was disposed.
The argument is .
if the operation was successful; otherwise, .
Attempts to transition the underlying into the same completion state as the specified .
The completed task whose completion status (including result, exception, or cancellation information) should be copied to the underlying task.
is .
is not completed.
if the operation was successful; otherwise, .
Attempts to transition the underlying into the state.
The result value to bind to this .
The was disposed.
if the operation was successful; otherwise, .
Gets the created by this .
Returns the created by this .
Specifies the behavior for a task that is created by using the or method.
Specifies that the continuation, if it is a child task, is attached to a parent in the task hierarchy. The continuation can be a child task only if its antecedent is also a child task. By default, a child task (that is, an inner task created by an outer task) executes independently of its parent. You can use the option so that the parent and child tasks are synchronized.
Note that if a parent task is configured with the option, the option in the child task has no effect, and the child task will execute as a detached child task.
For more information, see Attached and Detached Child Tasks.
Specifies that any child task (that is, any nested inner task created by this continuation) that is created with the option and attempts to execute as an attached child task will not be able to attach to the parent task and will execute instead as a detached child task. For more information, see Attached and Detached Child Tasks.
Specifies that the continuation task should be executed synchronously. With this option specified, the continuation runs on the same thread that causes the antecedent task to transition into its final state. If the antecedent is already complete when the continuation is created, the continuation will run on the thread that creates the continuation. If the antecedent's is disposed in a block ( in Visual Basic), a continuation with this option will run in that block. Only very short-running continuations should be executed synchronously.
Because the task executes synchronously, there is no need to call a method such as to ensure that the calling thread waits for the task to complete.
Specifies that tasks created by the continuation by calling methods such as or see the default scheduler () rather than the scheduler on which this continuation is running as the current scheduler.
In the case of continuation cancellation, prevents completion of the continuation until the antecedent has completed.
Specifies that a continuation will be a long-running, course-grained operation. It provides a hint to the that oversubscription may be warranted.
When no continuation options are specified, specifies that default behavior should be used when executing a continuation. The continuation runs asynchronously when the antecedent task completes, regardless of the antecedent's final property value. If the continuation is a child task, it is created as a detached nested task.
Specifies that the continuation task should not be scheduled if its antecedent was canceled. An antecedent is canceled if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled exception. An antecedent throws an unhandled exception if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation task should not be scheduled if its antecedent ran to completion. An antecedent runs to completion if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation should be scheduled only if its antecedent was canceled. An antecedent is canceled if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation task should be scheduled only if its antecedent threw an unhandled exception. An antecedent throws an unhandled exception if its property upon completion is .
The option guarantees that the property in the antecedent is not . You can use that property to catch the exception and see which exception caused the task to fault. If you do not access the property, the exception is unhandled. Also, if you attempt to access the property of a task that has been canceled or has faulted, a new exception is thrown.
This option is not valid for multi-task continuations.
Specifies that the continuation should be scheduled only if its antecedent ran to completion. An antecedent runs to completion if its property upon completion is . This option is not valid for multi-task continuations.
A hint to a to schedule task in the order in which they were scheduled, so that tasks scheduled sooner are more likely to run sooner, and tasks scheduled later are more likely to run later.
Specifies that the continuation task should be run asynchronously. This option has precedence over .
Specifies flags that control optional behavior for the creation and execution of tasks.
Specifies that a task is attached to a parent in the task hierarchy. By default, a child task (that is, an inner task created by an outer task) executes independently of its parent. You can use the option so that the parent and child tasks are synchronized.
Note that if a parent task is configured with the option, the option in the child task has no effect, and the child task will execute as a detached child task.
For more information, see Attached and Detached Child Tasks.
Specifies that any child task that attempts to execute as an attached child task (that is, it is created with the option) will not be able to attach to the parent task and will execute instead as a detached child task. For more information, see Attached and Detached Child Tasks.
Prevents the ambient scheduler from being seen as the current scheduler in the created task. This means that operations like StartNew or ContinueWith that are performed in the created task will see as the current scheduler.
Specifies that a task will be a long-running, coarse-grained operation involving fewer, larger components than fine-grained systems. It provides a hint to the that oversubscription may be warranted. Oversubscription lets you create more threads than the available number of hardware threads. It also provides a hint to the task scheduler that an additional thread might be required for the task so that it does not block the forward progress of other threads or work items on the local thread-pool queue.
Specifies that the default behavior should be used.
A hint to a to schedule a task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to be run sooner, and tasks scheduled later will be more likely to be run later.
Forces continuations added to the current task to be executed asynchronously.
Note that the member is available in the enumeration starting with the .NET Framework 4.6.
Provides a set of static methods for .
Creates a proxy that represents the asynchronous operation of a (C#) or (Visual Basic).
The (C#) or (Visual Basic) to unwrap.
The exception that is thrown if the argument is null.
A Task that represents the asynchronous operation of the provided .
Creates a proxy that represents the asynchronous operation of a (C#) or (Visual Basic).
The (C#) or (Visual Basic) to unwrap.
The type of the task's result.
The exception that is thrown if the argument is null.
A that represents the asynchronous operation of the provided (C#) or (Visual Basic).
Provides support for creating and scheduling objects.
Initializes a instance with the default configuration.
Initializes a instance with the specified configuration.
The default that will be assigned to tasks created by this unless another CancellationToken is explicitly specified while calling the factory methods.
The default to use when creating tasks with this TaskFactory.
The default to use when creating continuation tasks with this TaskFactory.
The default to use to schedule any Tasks created with this TaskFactory. A null value indicates that TaskScheduler.Current should be used.
The argument specifies an invalid value. For more information, see the Remarks for .
-or-
The argument specifies an invalid value.
Initializes a instance with the specified configuration.
The that will be assigned to tasks created by this unless another CancellationToken is explicitly specified while calling the factory methods.
Initializes a instance with the specified configuration.
The default to use when creating tasks with this TaskFactory.
The default to use when creating continuation tasks with this TaskFactory.
The argument specifies an invalid value. For more information, see the Remarks for .
-or-
The argument specifies an invalid value.
Initializes a instance with the specified configuration.
The to use to schedule any tasks created with this TaskFactory. A null value indicates that the current TaskScheduler should be used.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task.
The object that is used to schedule the new continuation task.
The array is .
-or-
The argument is .
-or-
The argument is .
The array is empty or contains a null value.
specifies an invalid value.
The provided has already been disposed.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
An element in the array has been disposed.
-or-
The that created has already been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn and OnlyOn members are not supported.
An element in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid value.
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
An element in the array has been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn and OnlyOn members are not supported.
The object that is used to schedule the new continuation task.
The type of the result that is returned by the delegate and associated with the created task.
The array is .
-or-
The argument is .
-or-
The argument is .
The array is empty or contains a null value.
specifies an invalid value.
The provided has already been disposed.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
-or-
The that created has already been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn and OnlyOn members are not supported.
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid value.
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn and OnlyOn members are not supported.
The object that is used to schedule the new continuation task.
The type of the result of the antecedent .
The array is .
-or-
The argument is .
-or-
The argument is .
The array is empty or contains a null value.
specifies an invalid value.
The provided has already been disposed.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
The type of the result of the antecedent .
An element in the array has been disposed.
-or-
The that created has already been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn and OnlyOn members are not supported.
The type of the result of the antecedent .
An element in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid value.
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The type of the result of the antecedent .
An element in the array has been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn and OnlyOn members are not supported.
The object that is used to schedule the new continuation task.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
The array is .
-or-
The argument is .
-or-
The argument is .
The array is empty or contains a null value.
The argument specifies an invalid value.
An element in the array has been disposed.
-or-
The that created has already been disposed.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
-or-
The that created has already been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn and OnlyOn members are not supported.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid value.
The array is empty or contains a null value.
The new continuation task.
Creates a continuation task that starts when a set of specified tasks has completed.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is .
-or-
The argument is .
The array is empty or contains a null value.
The new continuation task.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The array is .
-or-
is .
-or-
is .
The array contains a value.
-or-
The array is empty.
specifies an invalid TaskContinuationOptions value.
The provided has already been disposed.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
One of the elements in the array has been disposed.
-or-
has already been disposed.
The array is .
-or-
The argument is .
The array contains a value.
-or-
The array is empty .
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The value that controls the behavior of the created continuation .
One of the elements in the array has been disposed.
The array is .
-or-
is .
specifies an invalid TaskContinuationOptions value.
The array contains a value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The array contains a value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The type of the result that is returned by the delegate and associated with the created .
The array is .
-or-
is .
-or-
is .
The array contains a value.
-or-
The array is empty.
specifies an invalid TaskContinuationOptions value.
The provided has already been disposed.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The type of the result that is returned by the delegate and associated with the created .
One of the elements in the array has been disposed.
-or-
The provided has already been disposed.
The array is .
-or-
is .
The array contains a value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The value that controls the behavior of the created continuation .
The type of the result that is returned by the delegate and associated with the created .
One of the elements in the array has been disposed.
The array is .
-or-
is .
specifies an invalid TaskContinuationOptions value.
The array contains a value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The type of the result that is returned by the delegate and associated with the created .
One of the elements in the array has been disposed.
The array is .
-or-
is .
The array contains a null value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The type of the result of the antecedent .
The array is .
-or-
is .
-or-
paramref name="scheduler" /> is .
The array contains a value.
-or-
The array is empty.
specifies an invalid value.
The provided has already been disposed.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
-or-
The provided has already been disposed.
The array is .
-or-
is .
The array contains a null value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The value that controls the behavior of the created continuation .
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is .
-or-
is .
specifies an invalid TaskContinuationOptions value.
The array contains a null value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is .
-or-
is .
The array contains a value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
The array is .
-or-
is .
-or-
is .
The array contains a null value.
-or-
The array is empty.
specifies an invalid TaskContinuationOptions value.
The provided has already been disposed.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
One of the elements in the array has been disposed.
-or-
The provided has already been disposed.
The array is .
-or-
is .
The array contains a value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The value that controls the behavior of the created continuation .
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
One of the elements in the array has been disposed.
The array is .
-or-
is .
specifies an invalid TaskContinuationOptions value.
The array contains a null value.
-or-
The array is empty.
The new continuation .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
One of the elements in the array has been disposed.
The array is .
-or-
is .
The array contains a null value.
-or-
The array is empty.
The new continuation .
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
is .
-or-
is .
specifies an invalid TaskCreationOptions value.
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates a that executes an end method action when a specified completes.
The IAsyncResult whose completion should trigger the processing of the .
The action delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
The that is used to schedule the task that executes the end method.
is .
-or-
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that executes an end method action when a specified completes.
The IAsyncResult whose completion should trigger the processing of the .
The action delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
is .
-or-
is .
paramref name="creationOptions" /> specifies an invalid value. For more information, see the Remarks for
A that represents the asynchronous operation.
Creates a that executes an end method action when a specified completes.
The IAsyncResult whose completion should trigger the processing of the .
The action delegate that processes the completed .
is .
-or-
is .
A that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the first argument passed to the delegate.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the first argument passed to the delegate.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the result available through the task.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The type of the result available through the task.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates a that executes an end method function when a specified completes.
The IAsyncResult whose completion should trigger the processing of the .
The function delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
The that is used to schedule the task that executes the end method.
The type of the result available through the task.
is .
-or-
is .
-or-
is .
specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
A that represents the asynchronous operation.
Creates a that executes an end method function when a specified completes.
The IAsyncResult whose completion should trigger the processing of the .
The function delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
The type of the result available through the task.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
A that represents the asynchronous operation.
Creates a that executes an end method function when a specified completes.
The IAsyncResult whose completion should trigger the processing of the .
The function delegate that processes the completed .
The type of the result available through the task.
is .
-or-
is .
A that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the first argument passed to the delegate.
The type of the result available through the task.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the first argument passed to the delegate.
The type of the result available through the task.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the task.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the task.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the task.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The created that represents the asynchronous operation.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the task.
is .
-or-
is .
The created that represents the asynchronous operation.
Creates and starts a task for the specified action delegate, cancellation token, creation options and state.
The action delegate to execute asynchronously.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The provided has already been disposed.
is .
-or-
is .
specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
The started task.
Creates and starts a task for the specified action delegate and cancellation token.
The action delegate to execute asynchronously.
The cancellation token that will be assigned to the new task.
The provided has already been disposed.
is .
The started task.
Creates and starts a task for the specified action delegate and creation options.
The action delegate to execute asynchronously.
One of the enumeration values that controls the behavior of the created task.
is .
specifies an invalid value.
The started task.
Creates and starts a task for the specified action delegate.
The action delegate to execute asynchronously.
The argument is .
The started task.
Creates and starts a task for the specified action delegate, state, cancellation token, creation options and task scheduler.
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The provided has already been disposed.
is .
-or-
is .
argument specifies an invalid value. For more information, see the Remarks for
The started task.
Creates and starts a task for the specified action delegate, state and cancellation token.
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
The cancellation token that will be assigned to the new task.
The provided has already been disposed.
is .
The started task.
Creates and starts a task for the specified action delegate, state and creation options.
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
is .
specifies an invalid value.
The started task.
Creates and starts a task for the specified action delegate and state.
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
The argument is .
The started task.
Creates and starts a task of type for the specified function delegate, cancellation token, creation options and task scheduler.
A function delegate that returns the future result to be available through the task.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The type of the result available through the task.
The provided has already been disposed.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The started task.
Creates and starts a task of type for the specified function delegate and cancellation token.
A function delegate that returns the future result to be available through the task.
The cancellation token that will be assigned to the new task.
The type of the result available through the task.
The provided has already been disposed.
is .
The started task.
Creates and starts a task of type for the specified function delegate and creation options.
A function delegate that returns the future result to be available through the task.
One of the enumeration values that controls the behavior of the created task.
The type of the result available through the task.
is .
specifies an invalid value. For more information, see the Remarks for
The started task.
Creates and starts a task of type for the specified function delegate.
A function delegate that returns the future result to be available through the task.
The type of the result available through the task.
The argument is .
The started task.
Creates and starts a task of type for the specified function delegate, state, cancellation token, creation options and task scheduler.
A function delegate that returns the future result to be available through the task.
An object containing data to be used by the delegate.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The type of the result available through the task.
The provided has already been disposed.
is .
-or-
is .
specifies an invalid value. For more information, see the Remarks for
The started task.
Creates and starts a task of type for the specified function delegate, state and cancellation token.
A function delegate that returns the future result to be available through the task.
An object containing data to be used by the delegate.
The cancellation token that will be assigned to the new task.
The type of the result available through the task.
The provided has already been disposed.
is .
The started task.
Creates and starts a task of type for the specified function delegate, state and creation options.
A function delegate that returns the future result to be available through the task.
An object containing data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
The type of the result available through the task.
is .
specifies an invalid value. For more information, see the Remarks for
The started task.
Creates and starts a task of type for the specified function delegate and state.
A function delegate that returns the future result to be available through the task.
An object containing data to be used by the delegate.
The type of the result available through the task.
is .
The started task.
Gets the default cancellation token for this task factory.
The default task cancellation token for this task factory.
Gets the default task continuation options for this task factory.
The default task continuation options for this task factory.
Gets the default task creation options for this task factory.
The default task creation options for this task factory.
Gets the default task scheduler for this task factory.
The default task scheduler for this task factory.
Provides support for creating and scheduling objects.
The return value of the objects that the methods of this class create.
Initializes a instance with the default configuration.
Initializes a instance with the specified configuration.
The default cancellation token that will be assigned to tasks created by this unless another cancellation token is explicitly specified when calling the factory methods.
The default options to use when creating tasks with this .
The default options to use when creating continuation tasks with this .
The default scheduler to use to schedule any tasks created with this . A null value indicates that should be used.
or specifies an invalid value.
Initializes a instance with the default configuration.
The default cancellation token that will be assigned to tasks created by this unless another cancellation token is explicitly specified when calling the factory methods.
Initializes a instance with the specified configuration.
The default options to use when creating tasks with this .
The default options to use when creating continuation tasks with this .
or specifies an invalid value.
Initializes a instance with the specified configuration.
The scheduler to use to schedule any tasks created with this . A null value indicates that the current should be used.
Creates a continuation task that will be started upon the completion of a set of provided Tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
The scheduler that is used to schedule the created continuation task.
The array is .
-or-
The argument is .
-or-
The argument is .
The array contains a null value or is empty.
specifies an invalid value.
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The new continuation task.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The array is .
-or-
is .
The array contains a null value or is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of a set of provided Tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid value.
The array contains a null value or is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
One of the elements in the array has been disposed.
array is .
-or-
The is .
The array contains a null value or is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
The scheduler that is used to schedule the created continuation task.
The type of the result of the antecedent .
The array is .
-or-
The argument is .
-or-
The argument is .
The array contains a null value or is empty.
The argument specifies an invalid value.
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The new continuation task.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The array is .
-or-
The argument is .
The array contains a null value or is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid value.
The array contains a null value or is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The array contains a null value or is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
The task scheduler that is used to schedule the created continuation task.
The array is .
-or-
The argument is .
-or-
The argument is .
The array contains a null value.
-or-
The array is empty.
The argument specifies an invalid value.
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The new continuation task.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The array is null.
-or-
The argument is null.
The array contains a null value.
-or-
The array is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid enumeration value.
The array contains a null value.
-or-
The array is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The array contains a null value or is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
The that is used to schedule the created continuation .
The type of the result of the antecedent .
The array is .
-or-
The argument is .
-or-
The argument is null.
The array contains a null value.
-or-
The array is empty.
The argument specifies an invalid TaskContinuationOptions value.
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The new continuation .
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
-or-
The that created has already been disposed.
The array is .
-or-
The argument is .
The array contains a null value.
-or-
The array is empty.
The new continuation task.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The argument specifies an invalid enumeration value.
The array contains a null value.
-or-
The array is empty.
The new continuation .
Creates a continuation task that will be started upon the completion of any task in the provided set.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is .
-or-
The argument is .
The array contains a null value.
-or-
The array is empty.
The new continuation .
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
The argument is .
-or-
The argument is .
The argument specifies an invalid value.
The created that represents the asynchronous operation.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The argument is .
-or-
The argument is .
The created task that represents the asynchronous operation.
Creates a task that executes an end method function when a specified completes.
The whose completion should trigger the processing of the .
The function delegate that processes the completed .
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the task that executes the end method.
The argument is .
-or-
The argument is .
-or-
The argument is .
The parameter specifies an invalid value.
The created task that represents the asynchronous operation.
Creates a task that executes an end method function when a specified completes.
The whose completion should trigger the processing of the .
The function delegate that processes the completed .
One of the enumeration values that controls the behavior of the created task.
The argument is .
-or-
The argument is .
The argument specifies an invalid value.
A task that represents the asynchronous operation.
Creates a task that executes an end method function when a specified completes.
The whose completion should trigger the processing of the .
The function delegate that processes the completed .
The argument is .
-or-
The argument is .
A that represents the asynchronous operation.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
The type of the first argument passed to the delegate.
The argument is .
-or-
The argument is .
The parameter specifies an invalid value.
The created task that represents the asynchronous operation.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the first argument passed to the delegate.
The argument is .
-or-
The argument is .
The created task that represents the asynchronous operation.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
An object that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is .
-or-
The argument is .
The parameter specifies an invalid value.
The created task that represents the asynchronous operation.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is .
-or-
The argument is .
The created task that represents the asynchronous operation.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
An object that controls the behavior of the created task.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is .
-or-
The argument is .
The parameter specifies an invalid value.
The created task that represents the asynchronous operation.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is .
-or-
The argument is .
The created task that represents the asynchronous operation.
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The cancellation token source that created has already been disposed.
The argument is .
-or-
The argument is .
The parameter specifies an invalid value.
The started task.
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
The cancellation token that will be assigned to the new task.
The cancellation token source that created has already been disposed.
The argument is .
The started task.
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
One of the enumeration values that controls the behavior of the created task.
The argument is .
The parameter specifies an invalid value.
The started .
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
The argument is .
The started task.
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The cancellation token source that created has already been disposed.
The argument is .
-or-
The argument is .
The parameter specifies an invalid value.
The started task.
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
The cancellation token that will be assigned to the new task.
The cancellation token source that created has already been disposed.
The argument is .
The started task.
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
The argument is .
The parameter specifies an invalid value.
The started task.
Creates and starts a task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
The argument is .
The started task.
Gets the default cancellation token for this task factory.
The default cancellation token for this task factory.
Gets the enumeration value for this task factory.
One of the enumeration values that specifies the default continuation options for this task factory.
Gets the enumeration value for this task factory.
One of the enumeration values that specifies the default creation options for this task factory.
Gets the task scheduler for this task factory.
The task scheduler for this task factory.
Represents an object that handles the low-level work of queuing tasks onto threads.
Occurs when a faulted task's unobserved exception is about to trigger exception escalation policy, which, by default, would terminate the process.
Initializes the .
Creates a associated with the current .
The current SynchronizationContext may not be used as a TaskScheduler.
A associated with the current , as determined by .
For debugger support only, generates an enumerable of instances currently queued to the scheduler waiting to be executed.
This scheduler is unable to generate a list of queued tasks at this time.
An enumerable that allows a debugger to traverse the tasks currently queued to this scheduler.
Queues a to the scheduler.
The to be queued.
The argument is null.
Attempts to dequeue a that was previously queued to this scheduler.
The to be dequeued.
The argument is null.
A Boolean denoting whether the argument was successfully dequeued.
Attempts to execute the provided on this scheduler.
A object to be executed.
The is not associated with this scheduler.
A Boolean that is true if was successfully executed, false if it was not. A common reason for execution failure is that the task had previously been executed or is in the process of being executed by another thread.
Determines whether the provided can be executed synchronously in this call, and if it can, executes it.
The to be executed.
A Boolean denoting whether or not task has previously been queued. If this parameter is True, then the task may have been previously queued (scheduled); if False, then the task is known not to have been queued, and this call is being made in order to execute the task inline without queuing it.
The argument is null.
The was already executed.
A Boolean value indicating whether the task was executed inline.
Gets the associated with the currently executing task.
Returns the associated with the currently executing task.
Gets the default instance that is provided by .NET.
Returns the default instance.
Gets the unique ID for this .
Returns the unique ID for this .
Indicates the maximum concurrency level this is able to support.
Returns an integer that represents the maximum concurrency level. The default scheduler returns Int32.MaxValue.
Represents an exception used to communicate an invalid operation by a .
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class using the default error message and a reference to the inner exception that is the cause of this exception.
The exception that is the cause of the current exception.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Represents the current stage in the lifecycle of a .
The task acknowledged cancellation by throwing an OperationCanceledException with its own CancellationToken while the token was in signaled state, or the task's CancellationToken was already signaled before the task started executing. For more information, see Task Cancellation.
The task has been initialized but has not yet been scheduled.
The task completed due to an unhandled exception.
The task completed execution successfully.
The task is running but has not yet completed.
The task is waiting to be activated and scheduled internally by the .NET infrastructure.
The task has finished executing and is implicitly waiting for attached child tasks to complete.
The task has been scheduled for execution but has not yet begun executing.
Provides methods for using to implement the Asynchronous Programming Model pattern based on "Begin" and "End" methods.
Creates a new from the specified , optionally invoking when the task has completed.
The to be wrapped in an .
The callback to be invoked upon 's completion. If , no callback will be invoked.
The state to be stored in the .
is .
An to represent the task's asynchronous operation. This instance will also be passed to when it's invoked.
Waits for the wrapped by the returned by to complete.
The for which to wait.
is .
was not produced by a call to .
Waits for the wrapped by the returned by to complete.
The for which to wait.
The type of the result produced.
is .
was not produced by a call to .
The result of the wrapped by the .
Extracts the underlying from an created by .
The created by .
is .
was not produced by a call to .
The wrapped by the .
Extracts the underlying from an created by .
The created by .
The type of the result produced by the returned task.
is .
was not produced by a call to ,
or the provided to was used a generic type parameter
that's different from the supplied to this call.
The wrapped by the .
Provides data for the event that is raised when a faulted 's exception goes unobserved.
Initializes a new instance of the class with the unobserved exception.
The Exception that has gone unobserved.
Marks the as "observed," thus preventing it from triggering exception escalation policy, which, by default, terminates the process.
Gets the exception that went unobserved.
The exception that went unobserved.
Gets a value that indicates whether this exception has been marked as "observed."
if this exception has been marked as "observed"; otherwise .
Provides an awaitable result of an asynchronous operation.
Initializes a new instance of the class using the supplied object that represents the operation.
An object that represents the operation.
An opaque value that is passed through to the .
Initializes a new instance of the class using the supplied task that represents the operation.
The task that represents the operation.
Retrieves a object that represents this .
The object that is wrapped in this if one exists, or a new object that represents the result.
Configures an awaiter for this value.
to attempt to marshal the continuation back to the captured context; otherwise, .
The configured awaiter.
Determines whether the specified object is equal to the current instance.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Creates a that has completed due to cancellation with the specified cancellation token.
The cancellation token with which to complete the task.
The canceled task.
Creates a that has completed due to cancellation with the specified cancellation token.
The cancellation token with which to complete the task.
The type of the result of the returned task.
The canceled task.
Creates a that has completed with the specified exception.
The exception with which to complete the task.
The faulted task.
Creates a that has completed with the specified exception.
The exception with which to complete the task.
The type of the result of the returned task.
The faulted task.
Creates a that's completed successfully with the specified result.
The result to store into the completed task.
The type of the result returned by the task.
The successfully completed task.
Creates an awaiter for this value.
The awaiter.
Returns the hash code for this instance.
The hash code for the current object.
Compares two values for equality.
The first value to compare.
The second value to compare.
if the two values are equal; otherwise, .
Determines whether two values are unequal.
The first value to compare.
The second value to compare.
if the two values are not equal; otherwise, .
Gets a that may be used at any point in the future.
The preserved .
Gets a task that has already completed successfully.
Gets a value that indicates whether this object represents a canceled operation.
if this object represents a canceled operation; otherwise, .
Gets a value that indicates whether this object represents a completed operation.
if this object represents a completed operation; otherwise, .
Gets a value that indicates whether this object represents a successfully completed operation.
if this object represents a successfully completed operation; otherwise, .
Gets a value that indicates whether this object represents a failed operation.
if this object represents a failed operation; otherwise, .
Provides a value type that wraps a and a , only one of which is used.
The result.
Initializes a new instance of the class using the supplied result of a successful operation.
The result.
Initializes a new instance of the class with a object that represents the operation.
The source.
An opaque value that is passed to the .
Initializes a new instance of the class using the supplied task that represents the operation.
The task.
The argument is .
Retrieves a object that represents this .
The object that is wrapped in this if one exists, or a new object that represents the result.
Configures an awaiter for this value.
to attempt to marshal the continuation back to the captured context; otherwise, .
The configured awaiter.
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Creates an awaiter for this value.
The awaiter.
Returns the hash code for this instance.
The hash code for the current object.
Compares two values for equality.
The first value to compare.
The second value to compare.
if the two values are equal; otherwise, .
Determines whether two values are unequal.
The first value to compare.
The second value to compare.
if the two values are not equal; otherwise, .
Gets a that may be used at any point in the future.
A task object for future use.
Returns a string that represents the current object.
A string that represents the current object.
Gets a value that indicates whether this object represents a canceled operation.
if this object represents a canceled operation; otherwise, .
Gets a value that indicates whether this object represents a completed operation.
if this object represents a completed operation; otherwise, .
Gets a value that indicates whether this object represents a successfully completed operation.
if this object represents a successfully completed operation; otherwise, .
Gets a value that indicates whether this object represents a failed operation.
if this object represents a failed operation; otherwise, .
Gets the result.
The result.
Contains constants that specify infinite time-out intervals. This class cannot be inherited.
A constant used to specify an infinite waiting period, for threading methods that accept an parameter.
A constant used to specify an infinite waiting period, for methods that accept a parameter.
Provides a mechanism for executing a method on a thread pool thread at specified intervals. This class cannot be inherited.
Initializes a new instance of the class, using a 32-bit signed integer to specify the time interval.
A delegate representing a method to be executed.
An object containing information to be used by the callback method, or .
The amount of time to delay before is invoked, in milliseconds. Specify to prevent the timer from starting. Specify zero (0) to start the timer immediately.
The time interval between invocations of , in milliseconds. Specify to disable periodic signaling.
The or parameter is negative and is not equal to .
The parameter is .
Initializes a new instance of the class, using 64-bit signed integers to measure time intervals.
A delegate representing a method to be executed.
An object containing information to be used by the callback method, or .
The amount of time to delay before is invoked, in milliseconds. Specify to prevent the timer from starting. Specify zero (0) to start the timer immediately.
The time interval between invocations of , in milliseconds. Specify to disable periodic signaling.
The or parameter is negative and is not equal to .
The or parameter is greater than 4294967294.
Initializes a new instance of the class, using values to measure time intervals.
A delegate representing a method to be executed.
An object containing information to be used by the callback method, or .
The amount of time to delay before the is invoked. Specify to prevent the timer from starting. Specify to start the timer immediately.
The time interval between invocations of . Specify to disable periodic signaling.
The number of milliseconds in the value of or is negative and not equal to , or is greater than Int32.MaxValue.
The parameter is .
Initializes a new instance of the class, using 32-bit unsigned integers to measure time intervals.
A delegate representing a method to be executed.
An object containing information to be used by the callback method, or .
The amount of time to delay before is invoked, in milliseconds. Specify to prevent the timer from starting. Specify zero (0) to start the timer immediately.
The time interval between invocations of , in milliseconds. Specify to disable periodic signaling.
The or parameter is negative and is not equal to .
The parameter is .
Initializes a new instance of the class with an infinite period and an infinite due time, using the newly created object as the state object.
A delegate representing a method to be executed.
Changes the start time and the interval between method invocations for a timer, using 32-bit signed integers to measure time intervals.
The amount of time to delay before the invoking the callback method specified when the was constructed, in milliseconds. Specify to prevent the timer from restarting. Specify zero (0) to restart the timer immediately.
The time interval between invocations of the callback method specified when the was constructed, in milliseconds. Specify to disable periodic signaling.
The has already been disposed.
The or parameter is negative and is not equal to .
if the timer was successfully updated; otherwise, .
Changes the start time and the interval between method invocations for a timer, using 64-bit signed integers to measure time intervals.
The amount of time to delay before the invoking the callback method specified when the was constructed, in milliseconds. Specify to prevent the timer from restarting. Specify zero (0) to restart the timer immediately. This value must be less than or equal to 4294967294.
The time interval between invocations of the callback method specified when the was constructed, in milliseconds. Specify to disable periodic signaling.
The has already been disposed.
or is less than -1.
-or-
or is greater than 4294967294.
if the timer was successfully updated; otherwise, .
Changes the start time and the interval between method invocations for a timer, using values to measure time intervals.
A representing the amount of time to delay before invoking the callback method specified when the was constructed. Specify to prevent the timer from restarting. Specify to restart the timer immediately.
The time interval between invocations of the callback method specified when the was constructed. Specify to disable periodic signaling.
The has already been disposed.
The or parameter, in milliseconds, is less than -1.
The or parameter, in milliseconds, is greater than 4294967294.
if the timer was successfully updated; otherwise, .
Changes the start time and the interval between method invocations for a timer, using 32-bit unsigned integers to measure time intervals.
The amount of time to delay before the invoking the callback method specified when the was constructed, in milliseconds. Specify to prevent the timer from restarting. Specify zero (0) to restart the timer immediately.
The time interval between invocations of the callback method specified when the was constructed, in milliseconds. Specify to disable periodic signaling.
The has already been disposed.
if the timer was successfully updated; otherwise, .
Releases all resources used by the current instance of .
Releases all resources used by the current instance of and signals when the timer has been disposed of.
The to be signaled when the has been disposed of.
The parameter is .
if the function succeeds; otherwise, .
Releases all resources used by the current instance of .
A that completes when all work associated with the timer has ceased.
Gets the number of timers that are currently active. An active timer is registered to tick at some point in the future, and has not yet been canceled.
The number of timers that are currently active.
Represents the method that handles calls from a .
An object containing application-specific information relevant to the method invoked by this delegate, or .
Encapsulates operating system-specific objects that wait for exclusive access to shared resources.
Represents an invalid native operating system handle. This field is read-only.
Indicates that a operation timed out before any of the wait handles were signaled. This field is constant.
Initializes a new instance of the class.
Releases all resources held by the current .
Releases all resources used by the current instance of the class.
When overridden in a derived class, releases the unmanaged resources used by the , and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Signals one and waits on another, specifying a time-out interval as a 32-bit signed integer and specifying whether to exit the synchronization domain for the context before entering the wait.
The to signal.
The to wait on.
An integer that represents the interval to wait. If the value is , that is, -1, the wait is infinite.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
is .
-or-
is .
The method is called on a thread in state.
The cannot be signaled because it would exceed its maximum count.
is a negative number other than -1, which represents an infinite time-out.
The wait completed because a thread exited without releasing a mutex.
if both the signal and the wait completed successfully, or if the signal completed but the wait timed out.
Signals one and waits on another, specifying the time-out interval as a and specifying whether to exit the synchronization domain for the context before entering the wait.
The to signal.
The to wait on.
A that represents the interval to wait. If the value is -1, the wait is infinite.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
is .
-or-
is .
The method was called on a thread in state.
is a semaphore, and it already has a full count.
evaluates to a negative number of milliseconds other than -1.
-or-
is greater than Int32.MaxValue.
The wait completed because a thread exited without releasing a mutex.
if both the signal and the wait completed successfully, or if the signal completed but the wait timed out.
Signals one and waits on another.
The to signal.
The to wait on.
is .
-or-
is .
The method was called on a thread in state.
is a semaphore, and it already has a full count.
The wait completed because a thread exited without releasing a mutex.
if both the signal and the wait complete successfully; if the wait does not complete, the method does not return.
Waits for all the elements in the specified array to receive a signal, using an value to specify the time interval and specifying whether to exit the synchronization domain before the wait.
A array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object (duplicates).
The number of milliseconds to wait, or (-1) to wait indefinitely.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
The parameter is .
-or-
One or more of the objects in the array is .
-or-
is an array with no elements and the .NET Framework version is 2.0 or later.
The array contains elements that are duplicates.
The number of objects in is greater than the system permits.
-or-
The current thread is in state, and contains more than one element.
is an array with no elements and the .NET Framework version is 1.0 or 1.1.
is a negative number other than -1, which represents an infinite time-out.
The wait completed because a thread exited without releasing a mutex.
The array contains a transparent proxy for a in another application domain.
when every element in has received a signal; otherwise, .
Waits for all the elements in the specified array to receive a signal, using an value to specify the time interval.
A array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object (duplicates).
The number of milliseconds to wait, or (-1) to wait indefinitely.
The parameter is .
-or-
One or more of the objects in the array is .
-or-
is an array with no elements.
The array contains elements that are duplicates.
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The number of objects in is greater than the system permits.
-or-
The current thread is in state, and contains more than one element.
is a negative number other than -1, which represents an infinite time-out.
The wait completed because a thread exited without releasing a mutex.
The array contains a transparent proxy for a in another application domain.
when every element in has received a signal; otherwise, .
Waits for all the elements in the specified array to receive a signal, using a value to specify the time interval, and specifying whether to exit the synchronization domain before the wait.
A array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds, to wait indefinitely.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
The parameter is .
-or-
One or more of the objects in the array is .
-or-
is an array with no elements and the .NET Framework version is 2.0 or later.
The array contains elements that are duplicates.
The number of objects in is greater than the system permits.
-or-
The attribute is applied to the thread procedure for the current thread, and contains more than one element.
is an array with no elements and the .NET Framework version is 1.0 or 1.1.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The wait terminated because a thread exited without releasing a mutex.
The array contains a transparent proxy for a in another application domain.
when every element in has received a signal; otherwise .
Waits for all the elements in the specified array to receive a signal, using a value to specify the time interval.
A array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds, to wait indefinitely.
The parameter is .
-or-
One or more of the objects in the array is .
-or-
is an array with no elements.
The array contains elements that are duplicates.
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The number of objects in is greater than the system permits.
-or-
The current thread is in state, and contains more than one element.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The wait terminated because a thread exited without releasing a mutex.
The array contains a transparent proxy for a in another application domain.
when every element in has received a signal; otherwise, .
Waits for all the elements in the specified array to receive a signal.
A array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object.
The parameter is . -or-
One or more of the objects in the array are .
-or-
is an array with no elements and the .NET Framework version is 2.0 or later.
The array contains elements that are duplicates.
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The number of objects in is greater than the system permits.
-or-
The current thread is in state, and contains more than one element.
is an array with no elements and the .NET Framework version is 1.0 or 1.1.
The wait terminated because a thread exited without releasing a mutex.
The array contains a transparent proxy for a in another application domain.
when every element in has received a signal; otherwise the method never returns.
Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval, and specifying whether to exit the synchronization domain before the wait.
A array containing the objects for which the current instance will wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
The parameter is .
-or-
One or more of the objects in the array is .
The number of objects in is greater than the system permits.
is an array with no elements, and the .NET Framework version is 1.0 or 1.1.
is a negative number other than -1, which represents an infinite time-out.
The wait completed because a thread exited without releasing a mutex.
is an array with no elements, and the .NET Framework version is 2.0 or later.
The array contains a transparent proxy for a in another application domain.
The array index of the object that satisfied the wait, or if no object satisfied the wait and a time interval equivalent to has passed.
Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval.
A array containing the objects for which the current instance will wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
The parameter is .
-or-
One or more of the objects in the array is .
The number of objects in is greater than the system permits.
is a negative number other than -1, which represents an infinite time-out.
The wait completed because a thread exited without releasing a mutex.
is an array with no elements.
The array contains a transparent proxy for a in another application domain.
The array index of the object that satisfied the wait, or if no object satisfied the wait and a time interval equivalent to has passed.
Waits for any of the elements in the specified array to receive a signal, using a to specify the time interval and specifying whether to exit the synchronization domain before the wait.
A array containing the objects for which the current instance will wait.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
The parameter is .
-or-
One or more of the objects in the array is .
The number of objects in is greater than the system permits.
is an array with no elements, and the .NET Framework version is 1.0 or 1.1.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The wait completed because a thread exited without releasing a mutex.
is an array with no elements, and the .NET Framework version is 2.0 or later.
The array contains a transparent proxy for a in another application domain.
The array index of the object that satisfied the wait, or if no object satisfied the wait and a time interval equivalent to has passed.
Waits for any of the elements in the specified array to receive a signal, using a to specify the time interval.
A array containing the objects for which the current instance will wait.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
The parameter is .
-or-
One or more of the objects in the array is .
The number of objects in is greater than the system permits.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The wait completed because a thread exited without releasing a mutex.
is an array with no elements.
The array contains a transparent proxy for a in another application domain.
The array index of the object that satisfied the wait, or if no object satisfied the wait and a time interval equivalent to has passed.
Waits for any of the elements in the specified array to receive a signal.
A array containing the objects for which the current instance will wait.
The parameter is .
-or-
One or more of the objects in the array is .
The number of objects in is greater than the system permits.
is an array with no elements, and the .NET Framework version is 1.0 or 1.1.
The wait completed because a thread exited without releasing a mutex.
is an array with no elements, and the .NET Framework version is 2.0 or later.
The array contains a transparent proxy for a in another application domain.
The array index of the object that satisfied the wait.
Blocks the current thread until the current receives a signal.
The current instance has already been disposed.
The wait completed because a thread exited without releasing a mutex.
The current instance is a transparent proxy for a in another application domain.
if the current instance receives a signal. If the current instance is never signaled, never returns.
Blocks the current thread until the current receives a signal, using a 32-bit signed integer to specify the time interval and specifying whether to exit the synchronization domain before the wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
The current instance has already been disposed.
is a negative number other than -1, which represents an infinite time-out.
The wait completed because a thread exited without releasing a mutex.
The current instance is a transparent proxy for a in another application domain.
if the current instance receives a signal; otherwise, .
Blocks the current thread until the current receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds.
The number of milliseconds to wait, or (-1) to wait indefinitely.
The current instance has already been disposed.
is a negative number other than -1, which represents an infinite time-out.
The wait completed because a thread exited without releasing a mutex.
The current instance is a transparent proxy for a in another application domain.
if the current instance receives a signal; otherwise, .
Blocks the current thread until the current instance receives a signal, using a to specify the time interval and specifying whether to exit the synchronization domain before the wait.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, .
The current instance has already been disposed.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The wait completed because a thread exited without releasing a mutex.
The current instance is a transparent proxy for a in another application domain.
if the current instance receives a signal; otherwise, .
Blocks the current thread until the current instance receives a signal, using a to specify the time interval.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
The current instance has already been disposed.
is a negative number other than -1 milliseconds, which represents an infinite time-out.
-or-
is greater than Int32.MaxValue.
The wait completed because a thread exited without releasing a mutex.
The current instance is a transparent proxy for a in another application domain.
if the current instance receives a signal; otherwise, .
Gets or sets the native operating system handle.
An representing the native operating system handle. The default is the value of the field.
Gets or sets the native operating system handle.
A representing the native operating system handle.
Provides convenience methods to for working with a safe handle for a wait handle.
Gets the safe handle for a native operating system wait handle.
A native operating system handle.
is .
The safe wait handle that wraps the native operating system wait handle.
Sets a safe handle for a native operating system wait handle.
A wait handle that encapsulates an operating system-specific object that waits for exclusive access to a shared resource.
The safe handle to wrap the operating system handle.
is .
Indicates that the value of a static field is unique for each thread.
Initializes a new instance of the class.
Represents a time of day, as would be read from a clock, within the range 00:00:00 to 23:59:59.9999999.
Initializes a new instance of the structure to the specified hour, minute, second, millisecond, and microsecond.
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The millisecond (0 through 999).
The microsecond (0 through 999).
Initializes a new instance of the structure to the specified hour, minute, second, and millisecond.
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
The millisecond (0 through 999).
Initializes a new instance of the structure to the specified hour, minute, and second.
The hours (0 through 23).
The minutes (0 through 59).
The seconds (0 through 59).
Initializes a new instance of the structure to the specified hour and the minute.
The hours (0 through 23).
The minutes (0 through 59).
Initializes a new instance of the structure using a specified number of ticks.
A time of day expressed in the number of 100-nanosecond units since 00:00:00.0000000.
Returns a new that adds the value of the specified time span to the value of this instance.
If the result wraps past the end of the day, this method returns the number of excess days as an out parameter.
A positive or negative time interval.
When this method returns, contains the number of excess days, if any, that resulted from wrapping during this addition operation.
An object whose value is the sum of the time represented by this instance and the time interval represented by value.
Returns a new that adds the value of the specified time span to the value of this instance.
A positive or negative time interval.
An object whose value is the sum of the time represented by this instance and the time interval represented by value.
Returns a new that adds the specified number of hours to the value of this instance.
If the result wraps past the end of the day, this method returns the number of excess days as an out parameter.
A number of whole and fractional hours. The value parameter can be negative or positive.
When this method returns, contains the number of excess days, if any, that resulted from wrapping during this addition operation.
An object whose value is the sum of the time represented by this instance and the number of hours represented by value.
Returns a new that adds the specified number of hours to the value of this instance.
A number of whole and fractional hours. The value parameter can be negative or positive.
An object whose value is the sum of the time represented by this instance and the number of hours represented by value.
Returns a new that adds the specified number of minutes to the value of this instance.
If the result wraps past the end of the day, this method returns the number of excess days as an out parameter.
A number of whole and fractional minutes. The value parameter can be negative or positive.
When this method returns, contains the number of excess days, if any, that resulted from wrapping during this addition operation.
An object whose value is the sum of the time represented by this instance and the number of minutes represented by value.
Returns a new that adds the specified number of minutes to the value of this instance.
A number of whole and fractional minutes. The value parameter can be negative or positive.
An object whose value is the sum of the time represented by this instance and the number of minutes represented by value.
Compares the value of this instance to a specified object that contains a specified value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified value.
A boxed object to compare, or .
A signed number indicating the relative values of this instance and the value parameter.
Less than zero if this instance is earlier than value.
Zero if this instance is the same as value.
Greater than zero if this instance is later than value.
Compares the value of this instance to a specified value and indicates whether this instance is earlier than, the same as, or later than the specified value.
The object to compare to the current instance.
A signed number indicating the relative values of this instance and the value parameter.
- Less than zero if this instance is earlier than value.
- Zero if this instance is the same as value.
- Greater than zero if this instance is later than value.
Deconstructs this instance into , , , , and .
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
Deconstructs this instance into , , , and .
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
Deconstructs this instance into , , and .
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
Deconstructs this instance into and .
When this method returns, contains the value for this instance.
When this method returns, contains the value for this instance.
Returns a value indicating whether this instance is equal to a specified object.
The object to compare to this instance.
if value is an instance of and equals the value of this instance; otherwise, .
Returns a value indicating whether the value of this instance is equal to the value of the specified instance.
The object to compare to this instance.
if the value parameter equals the value of this instance; otherwise, .
Constructs a object from a representing the time of the day in this object.
The object to extract the time of the day from.
A object representing time of the day specified in the object.
Constructs a object from a time span representing the time elapsed since midnight.
The time interval measured since midnight. This value has to be positive and not exceeding the time of the day.
A object representing the time elapsed since midnight using the specified time span value.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Determines if a time falls within the range provided.
Supports both "normal" ranges such as 10:00-12:00, and ranges that span midnight such as 23:00-01:00.
The starting time of day, inclusive.
The ending time of day, exclusive.
, if the time falls within the range, otherwise.
Determines whether two specified instances of are equal.
The first object to compare.
The second object to compare.
if left and right represent the same time; otherwise, .
Determines whether one specified is later than another specified .
The first object to compare.
The second object to compare.
if left is later than right; otherwise, .
Determines whether one specified represents a time that is the same as or later than another specified .
The first object to compare.
The second object to compare.
if left is the same as or later than right; otherwise, .
Determines whether two specified instances of are not equal.
The first object to compare.
The second object to compare.
if left and right do not represent the same time; otherwise, .
Determines whether one specified is earlier than another specified .
The first object to compare.
The second object to compare.
if left is earlier than right; otherwise, .
Determines whether one specified represents a time that is the same as or earlier than another specified .
The first object to compare.
The second object to compare.
if left is the same as or earlier than right; otherwise, .
Gives the elapsed time between two points on a circular clock, which will always be a positive value.
The first instance.
The second instance..
The elapsed time between and .
Converts a memory span that contains string representation of a time to its equivalent by using culture-specific format information and a formatting style.
The memory span that contains the time to parse.
The culture-specific format information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
does not contain a valid string representation of a time.
A instance.
Parses a span of characters into a value.
A span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a time to its equivalent by using culture-specific format information and a formatting style.
The string containing the time to parse.
The culture-specific format information about .
A bitwise combination of the enumeration values that indicates the style elements that can be present in s for the parse operation to succeed, and that defines how to interpret the parsed date. A typical value to specify is .
is .
does not contain a valid string representation of a time.
A instance.
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a time to its equivalent by using the conventions of the current culture.
The string to parse.
is .
does not contain a valid string representation of a time.
A instance.
Converts the specified span representation of a time to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly or an exception is thrown.
A span containing the time to convert.
The format specifier that defines the required format of .
The culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
does not contain a valid string representation of a time.
A instance.
Converts the specified span representation of a time to its equivalent using the specified array of formats, culture-specific format information, and style.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A span containing the time to convert.
An array of allowable formats of .
The culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
does not contain a valid string representation of a time.
A instance.
Converts the specified span to its equivalent using the specified array of formats.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A span containing the time to convert.
An array of allowable formats of .
does not contain a valid string representation of a time.
A instance.
Converts the specified string representation of a time to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly or an exception is thrown.
A string containing the time to convert.
The format specifier that defines the required format of .
The culture-specific formatting information about .
A bitwise combination of the enumeration values that provides additional information about , about style elements that may be present in , or about the conversion from to a value. A typical value to specify is .
is .
does not contain a valid string representation of a time.
A instance.
Converts the specified string representation of a time to its equivalent using the specified format.
The format of the string representation must match the specified format exactly or an exception is thrown.
A string containing a time to convert.
A format specifier that defines the required format of .
is .
does not contain a valid string representation of a time.
A instance.
Converts the specified string representation of a time to its equivalent using the specified array of formats, culture-specific format information, and style.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A string containing the time to convert.
An array of allowable formats of .
The culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
is .
does not contain a valid string representation of a time.
A instance.
Converts the specified span to a equivalent using the specified array of formats.
The format of the string representation must match at least one of the specified formats exactly or an exception is thrown.
A span containing the time to convert.
An array of allowable formats of .
is .
does not contain a valid string representation of a time.
A instance.
Converts the value of the current instance to its equivalent long date string representation.
The long time string representation of the current instance.
Converts the current instance to its equivalent short time string representation.
The short time string representation of the current instance.
Converts the current instance to its equivalent short time string representation using the formatting conventions of the current culture.
The short time string representation of the current instance.
Converts the value of the current instance to its equivalent string representation using the specified culture-specific format information.
The culture-specific formatting information.
A string representation of the current instance as specified by the provider.
Converts the value of the current instance to its equivalent string representation using the specified culture-specific format information.
A standard or custom time format string.
The culture-specific formatting information.
A string representation of value of the current instance.
Converts the current instance to its equivalent string representation using the specified format and the formatting conventions of the current culture.
A standard or custom time format string.
A string representation of the current instance with the specified format and the formatting conventions of the current culture.
Convert the current instance to a object.
A object spanning to the time specified in the current instance.
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current TimeOnly instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Converts the specified span representation of a time to its equivalent using the specified array of formats, culture-specific format information and style, and returns a value that indicates whether the conversion succeeded.
A string containing the characters that represent a time to convert.
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a valid string representation of a date. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
A span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or if the conversion failed. The conversion fails if is the empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was successfully parsed; otherwise, .
Converts the specified span representation of a time to its TimeOnly equivalent and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the time to convert.
When this method returns, contains the TimeOnly value equivalent to the time contained in , if the conversion succeeded, or MinValue if the conversion failed. The conversion fails if is the empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if the conversion was successful; otherwise, .
Converts the specified string representation of a time to its equivalent using the specified array of formats, culture-specific format information and style, and returns a value that indicates whether the conversion succeeded.
A string containing the time to convert.
The culture-specific formatting information about .
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
A string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or if the conversion failed. The conversion fails if is the empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was parsed successfully; otherwise, .
Converts the specified string representation of a time to its equivalent and returns a value that indicates whether the conversion succeeded.
A string containing the time to convert.
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a time to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A span containing the time to convert.
The required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of one or more enumeration values that indicate the permitted format of .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a time that corresponds to the pattern specified in format. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a time to its equivalent using the specified format and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A span containing the time to convert.
The required format of .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a time that corresponds to the pattern specified in . This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified character span of a time to its equivalent and returns a value that indicates whether the conversion succeeded.
The span containing the time to parse.
An array of allowable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that defines how to interpret the parsed time. A typical value to specify is .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified character span of a time to its equivalent and returns a value that indicates whether the conversion succeeded.
The span containing the time to convert.
An array of allowable formats of .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if the parameter is an empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a time to its equivalent using the specified format, culture-specific format information, and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A span containing the characters representing a time to convert.
The required format of .
An object that supplies culture-specific formatting information about .
A bitwise combination of one or more enumeration values that indicate the permitted format of .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a time that corresponds to the pattern specified in format. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string representation of a time to its equivalent using the specified format and style.
The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.
A string containing the time to convert.
The required format of .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a time that corresponds to the pattern specified in format. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string representation of a time to its equivalent and returns a value that indicates whether the conversion succeeded.
The string containing the time to parse.
An array of allowable formats of .
An object that supplies culture-specific formatting information about .
A bitwise combination of enumeration values that defines how to interpret the parsed date. A typical value to specify is .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string representation of a time to its equivalent and returns a value that indicates whether the conversion succeeded.
The string containing the time to parse.
An array of allowable formats of .
When this method returns, contains the value equivalent to the time contained in , if the conversion succeeded, or TimeOnly.MinValue if the conversion failed. The conversion fails if is an empty string or does not contain a valid string representation of a time. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Gets the hour component of the time represented by this instance.
Gets the largest possible value of .
The largest possible value of , which is 23:59:59.9999999.
Gets the microsecond component of the time represented by this instance.
Gets the millisecond component of the time represented by this instance.
A number representing the millisecond component of this .
Gets the minute component of the time represented by this instance.
A number representing the minute component of this .
Gets the smallest possible value of .
The smallest possible value of , which is 00:00:00 (midnight).
Gets the nanosecond component of the time represented by this instance.
Gets the seconds component of the time represented by this instance.
A number representing the seconds component of this instance.
Gets the number of ticks that represent the time of this instance.
A number representing the number of ticks of this instance.
The exception that is thrown when the time allotted for a process or operation has expired.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that contains serialized object data about the exception being thrown.
The object that contains contextual information about the source or destination. The parameter is reserved for future use, and can be specified as .
The parameter is .
The class name is , or is zero (0).
Initializes a new instance of the class with the specified error message and inner exception.
The message that describes the error.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified error message.
The message that describes the error.
Provides an abstraction for time.
Initializes the .
Creates a new instance, using values to measure time intervals.
A delegate representing a method to be executed when the timer fires. The method specified for callback should be reentrant,
as it may be invoked simultaneously on two threads if the timer fires again before or while a previous callback is still being handled.
An object to be passed to the . This may be null.
The amount of time to delay before is invoked. Specify to prevent the timer from starting. Specify to start the timer immediately.
The time interval between invocations of . Specify to disable periodic signaling.
is null.
The number of milliseconds in the value of or is negative and not equal to , or is greater than .
The newly created instance.
Gets the elapsed time between two timestamps retrieved using .
The timestamp marking the beginning of the time period.
The timestamp marking the end of the time period.
A for the elapsed time between the starting and ending timestamps.
Gets the elapsed time since the value retrieved using .
The timestamp marking the beginning of the time period.
A for the elapsed time between the starting timestamp and the time of this call.
Gets a value that is set to the current date and time according to this 's
notion of time based on , with the offset set to the 's offset from Coordinated Universal Time (UTC).
Gets the current high-frequency value designed to measure small time intervals with high accuracy in the timer mechanism.
A long integer representing the high-frequency counter value of the underlying timer mechanism.
Gets a value whose date and time are set to the current
Coordinated Universal Time (UTC) date and time and whose offset is Zero,
all according to this 's notion of time.
Gets a object that represents the local time zone according to this 's notion of time.
Gets a that provides a clock based on ,
a time zone based on , a high-performance time stamp based on ,
and a timer based on .
Gets the frequency of of high-frequency value per second.
Represents a time interval.
Represents the number of hours in 1 day. This field is constant.
Represents the maximum value. This field is read-only.
Represents the number of microseconds in 1 day. This field is constant.
Represents the number of microseconds in 1 hour. This field is constant.
Represents the number of microseconds in 1 millisecond. This field is constant.
Represents the number of microseconds in 1 minute. This field is constant.
Represents the number of microseconds in 1 second. This field is constant.
Represents the number of milliseconds in 1 day. This field is constant.
Represents the number of milliseconds in 1 hour. This field is constant.
Represents the number of milliseconds in 1 minute. This field is constant.
Represents the number of milliseconds in 1 second. This field is constant.
Represents the number of minutes in 1 day. This field is constant.
Represents the number of minutes in 1 hour. This field is constant.
Represents the minimum value. This field is read-only.
Represents the number of nanoseconds per tick. This field is constant.
Represents the number of seconds in 1 day. This field is constant.
Represents the number of seconds in 1 hour. This field is constant.
Represents the number of seconds in 1 minute. This field is constant.
Represents the number of ticks in 1 day. This field is constant.
Represents the number of ticks in 1 hour. This field is constant.
Represents the number of ticks in 1 microsecond. This field is constant.
Represents the number of ticks in 1 millisecond. This field is constant.
Represents the number of ticks in 1 minute. This field is constant.
Represents the number of ticks in 1 second.
Represents the zero value. This field is read-only.
Initializes a new instance of the structure to a specified number of days, hours, minutes, seconds, milliseconds, and microseconds.
Number of days.
Number of hours.
Number of minutes.
Number of seconds.
Number of milliseconds.
Number of microseconds.
The parameters specify a value less than or greater than
Initializes a new instance of the structure to a specified number of days, hours, minutes, seconds, and milliseconds.
Number of days.
Number of hours.
Number of minutes.
Number of seconds.
Number of milliseconds.
The parameters specify a value less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
Initializes a new instance of the structure to a specified number of days, hours, minutes, and seconds.
Number of days.
Number of hours.
Number of minutes.
Number of seconds.
The parameters specify a value less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
Initializes a new instance of the structure to a specified number of hours, minutes, and seconds.
Number of hours.
Number of minutes.
Number of seconds.
The parameters specify a value less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
Initializes a new instance of the structure to the specified number of ticks.
A time period expressed in 100-nanosecond units.
Returns a new object whose value is the sum of the specified object and this instance.
The time interval to add.
The resulting is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
A new object that represents the value of this instance plus the value of .
Compares two values and returns an integer that indicates whether the first value is shorter than, equal to, or longer than the second value.
The first time interval to compare.
The second time interval to compare.
One of the following values.
Value Description- -1 is shorter than .
- 0 is equal to .
- 1 is longer than .
Compares this instance to a specified object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the specified object.
An object to compare, or .
is not a .
One of the following values.
Value Description- -1 This instance is shorter than .
- 0 This instance is equal to .
- 1 This instance is longer than , or is .
Compares this instance to a specified object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the object.
An object to compare to this instance.
A signed number indicating the relative values of this instance and .
Value Description- A negative integer This instance is shorter than .
- Zero This instance is equal to .
- A positive integer This instance is longer than .
Returns a new object whose value is the result of dividing this instance by the specified .
The divisor or value to be divided by.
A new object that represents the value of this instance divided by the value of .
Returns a new value that's the result of dividing this instance by .
The value to be divided by.
A new value that represents result of dividing this instance by the value of .
Returns a new object whose value is the absolute value of the current object.
The value of this instance is TimeSpan.MinValue.
A new object whose value is the absolute value of the current object.
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if is a object that represents the same time interval as the current structure; otherwise, .
Returns a value that indicates whether two specified instances of are equal.
The first time interval to compare.
The second time interval to compare.
if the values of and are equal; otherwise, .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if represents the same time interval as this instance; otherwise, .
Returns a that represents a specified number of days, where the specification is accurate to the nearest millisecond.
A number of days, accurate to the nearest millisecond.
is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
is .
-or-
is .
is equal to .
An object that represents .
Initializes a new instance of the structure to a specified number of days, hours, minutes, seconds, milliseconds, and microseconds.
Number of days.
Number of hours.
Number of minutes.
Number of seconds.
Number of milliseconds.
Number of microseconds.
The parameters specify a value less than or greater than
Returns a that represents a specified number of days, hours, minutes, seconds, milliseconds, and microseconds.
Initializes a new instance of the structure to a specified number of days.
Number of days.
The parameters specify a value less than or greater than
Returns a that represents a specified number of days.
Returns a that represents a specified number of hours, where the specification is accurate to the nearest millisecond.
A number of hours accurate to the nearest millisecond.
is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
is .
-or-
is .
is equal to .
An object that represents .
Initializes a new instance of the structure to a specified number of hours, minutes, seconds, milliseconds, and microseconds.
Number of hours.
Number of minutes.
Number of seconds.
Number of milliseconds.
Number of microseconds.
The parameters specify a value less than or greater than
Returns a that represents a specified number of hours, minutes, seconds, milliseconds, and microseconds.
Initializes a new instance of the structure to a specified number of hours.
Number of hours.
The parameters specify a value less than or greater than
Returns a that represents a specified number of hours.
Returns a that represents a specified number of microseconds.
A number of microseconds.
is less than or greater than .
-or-
is
-or-
is
is equal to .
An object that represents .
Initializes a new instance of the structure to a specified number of microseconds.
Number of microseconds.
The parameters specify a value less than or greater than
Returns a that represents a specified number of microseconds.
Returns a that represents a specified number of milliseconds.
A number of milliseconds.
is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
is .
-or-
is .
is equal to .
An object that represents .
Initializes a new instance of the structure to a specified number of milliseconds, and microseconds.
Number of milliseconds.
Number of microseconds.
The parameters specify a value less than or greater than
Returns a that represents a specified number of milliseconds, and microseconds.
Initializes a new instance of the structure to a specified number of milliseconds.
The number of milliseconds.
The specified milliseconds specifies a value less than or greater than
Returns a that represents a specified number of milliseconds.
Returns a that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.
A number of minutes, accurate to the nearest millisecond.
is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
is .
-or-
is .
is equal to .
An object that represents .
Initializes a new instance of the structure to a specified number of minutes, seconds, milliseconds, and microseconds.
Number of minutes.
Number of seconds.
Number of milliseconds.
Number of microseconds.
The parameters specify a value less than or greater than
Returns a that represents a specified number of minutes, seconds, milliseconds, and microseconds.
Initializes a new instance of the structure to a specified number of minutes.
Number of minutes.
The parameters specify a value less than or greater than
Returns a that represents a specified number of minutes.
Returns a that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.
A number of seconds, accurate to the nearest millisecond.
is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
is .
-or-
is .
is equal to .
An object that represents .
Initializes a new instance of the structure to a specified number of seconds, milliseconds, and microseconds.
Number of seconds.
Number of milliseconds.
Number of microseconds.
The parameters specify a value less than or greater than .
Returns a that represents a specified number of seconds, milliseconds, and microseconds.
Initializes a new instance of the structure to a specified number of seconds.
Number of seconds.
The parameters specify a value less than or greater than .
Returns a that represents a specified number of seconds.
Returns a that represents a specified time, where the specification is in units of ticks.
A number of ticks that represent a time.
An object that represents .
Returns a hash code for this instance.
A 32-bit signed integer hash code.
Returns a new object which value is the result of multiplication of this instance and the specified .
The value to be multiplied by.
A new object that represents the value of this instance multiplied by the value of .
Returns a new object whose value is the negated value of this instance.
The negated value of this instance cannot be represented by a ; that is, the value of this instance is TimeSpan.MinValue.
A new object with the same numeric value as this instance, but with the opposite sign.
Adds two specified instances.
The first time interval to add.
The second time interval to add.
The resulting is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
An object whose value is the sum of the values of and .
Returns a new object whose value is the result of dividing the specified by the specified .
The dividend or value to be divided.
The divisor or value to be divided by.
A new object that represents the value of divided by the value of .
Returns a new value that's the result of dividing by .
The dividend or value to be divided.
The divisor or value to be divided by.
A new value that represents result of dividing by the value of .
Indicates whether two instances are equal.
The first time interval to compare.
The second time interval to compare.
if the values of and are equal; otherwise, .
Indicates whether a specified is greater than another specified .
The first time interval to compare.
The second time interval to compare.
if the value of is greater than the value of ; otherwise, .
Indicates whether a specified is greater than or equal to another specified .
The first time interval to compare.
The second time interval to compare.
if the value of is greater than or equal to the value of ; otherwise, .
Indicates whether two instances are not equal.
The first time interval to compare.
The second time interval to compare.
if the values of and are not equal; otherwise, .
Indicates whether a specified is less than another specified .
The first time interval to compare.
The second time interval to compare.
if the value of is less than the value of ; otherwise, .
Indicates whether a specified is less than or equal to another specified .
The first time interval to compare.
The second time interval to compare.
if the value of is less than or equal to the value of ; otherwise, .
Returns a new object whose value is the result of multiplying the specified and the specified instance.
The value to be multiplied by.
The value to be multiplied.
A new object that represents the value of the specified multiplied by the value of the specified instance.
Returns a new object whose value is the result of multiplying the specified instance and the specified .
The value to be multiplied.
The value to be multiplied by.
A new object that represents the value of the specified instance multiplied by the value of the specified .
Subtracts a specified from another specified .
The minuend.
The subtrahend.
The return value is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
An object whose value is the result of the value of minus the value of .
Returns a whose value is the negated value of the specified instance.
The time interval to be negated.
The negated value of this instance cannot be represented by a ; that is, the value of this instance is TimeSpan.MinValue.
An object that has the same numeric value as this instance, but the opposite sign.
Returns the specified instance of .
The time interval to return.
The time interval specified by .
Converts the span representation of a time interval to its equivalent by using the specified culture-specific format information.
A span containing the characters that represent the time interval to convert.
An object that supplies culture-specific formatting information.
A time interval that corresponds to , as specified by .
Converts the string representation of a time interval to its equivalent by using the specified culture-specific format information.
A string that specifies the time interval to convert.
An object that supplies culture-specific formatting information.
is .
has an invalid format.
represents a number that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
At least one of the days, hours, minutes, or seconds components in is outside its valid range.
A time interval that corresponds to , as specified by .
Converts the string representation of a time interval to its equivalent.
A string that specifies the time interval to convert.
is .
has an invalid format.
represents a number that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
At least one of the days, hours, minutes, or seconds components is outside its valid range.
A time interval that corresponds to .
Converts the char span of a time interval to its equivalent by using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
A span that specifies the time interval to convert.
A standard or custom format string that defines the required format of .
An object that provides culture-specific formatting information.
A bitwise combination of enumeration values that defines the style elements that may be present in .
A time interval that corresponds to , as specified by and .
Converts the string representation of a time interval to its equivalent by using the specified formats, culture-specific format information, and styles. The format of the string representation must match one of the specified formats exactly.
A span that specifies the time interval to convert.
An array of standard or custom format strings that define the required format of .
An object that provides culture-specific formatting information.
A bitwise combination of enumeration values that defines the style elements that may be present in input.
A time interval that corresponds to , as specified by , , and .
Converts the string representation of a time interval to its equivalent by using the specified format, culture-specific format information, and styles. The format of the string representation must match the specified format exactly.
A string that specifies the time interval to convert.
A standard or custom format string that defines the required format of .
An object that provides culture-specific formatting information.
A bitwise combination of enumeration values that defines the style elements that may be present in .
is an invalid value.
is .
has an invalid format.
represents a number that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
At least one of the days, hours, minutes, or seconds components in is outside its valid range.
A time interval that corresponds to , as specified by , , and .
Converts the string representation of a time interval to its equivalent by using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
A string that specifies the time interval to convert.
A standard or custom format string that defines the required format of .
An object that provides culture-specific formatting information.
is .
has an invalid format.
represents a number that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
At least one of the days, hours, minutes, or seconds components in is outside its valid range.
A time interval that corresponds to , as specified by and .
Converts the string representation of a time interval to its equivalent by using the specified formats, culture-specific format information, and styles. The format of the string representation must match one of the specified formats exactly.
A string that specifies the time interval to convert.
An array of standard or custom format strings that define the required format of .
An object that provides culture-specific formatting information.
A bitwise combination of enumeration values that defines the style elements that may be present in input.
is an invalid value.
is .
has an invalid format.
represents a number that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
At least one of the days, hours, minutes, or seconds components in is outside its valid range.
A time interval that corresponds to , as specified by , , and .
Converts the string representation of a time interval to its equivalent by using the specified array of format strings and culture-specific format information. The format of the string representation must match one of the specified formats exactly.
A string that specifies the time interval to convert.
An array of standard or custom format strings that defines the required format of .
An object that provides culture-specific formatting information.
is .
has an invalid format.
represents a number that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
-or-
At least one of the days, hours, minutes, or seconds components in is outside its valid range.
A time interval that corresponds to , as specified by and .
Returns a new object whose value is the difference between the specified object and this instance.
The time interval to be subtracted.
The return value is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.
A new time interval whose value is the result of the value of this instance minus the value of .
Converts the value of the current object to its equivalent string representation.
The string representation of the current value.
Converts the value of the current object to its equivalent string representation by using the specified format and culture-specific formatting information.
A standard or custom format string.
An object that supplies culture-specific formatting information.
The parameter is not recognized or is not supported.
The string representation of the current value, as specified by and .
Converts the value of the current object to its equivalent string representation by using the specified format.
A standard or custom format string.
The parameter is not recognized or is not supported.
The string representation of the current value in the format specified by the parameter.
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
if the formatting was successful; otherwise, .
Tries to format the value of the current timespan number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the charactes that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Converts the span representation of a time interval to its equivalent by using the specified culture-specific formatting information, and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the time interval to convert.
An object that supplies culture-specific formatting information.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, . This operation returns if the parameter is or , has an invalid format, represents a time interval that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue, or has at least one days, hours, minutes, or seconds component outside its valid range.
Converts the span representation of a time interval to its equivalent and returns a value that indicates whether the conversion succeeded.
A span containing the characters representing the time interval to convert.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, . This operation returns if the parameter is or , has an invalid format, represents a time interval that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue, or has at least one days, hours, minutes, or seconds component outside its valid range.
Converts the string representation of a time interval to its equivalent by using the specified culture-specific formatting information, and returns a value that indicates whether the conversion succeeded.
A string that specifies the time interval to convert.
An object that supplies culture-specific formatting information.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, . This operation returns if the parameter is or , has an invalid format, represents a time interval that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue, or has at least one days, hours, minutes, or seconds component outside its valid range.
Converts the string representation of a time interval to its equivalent and returns a value that indicates whether the conversion succeeded.
A string that specifies the time interval to convert.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, . This operation returns if the parameter is or , has an invalid format, represents a time interval that is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue, or has at least one days, hours, minutes, or seconds component outside its valid range.
Converts the specified span representation of a time interval to its equivalent by using the specified format, culture-specific format information, and styles, and returns a value that indicates whether the conversion succeeded. The format of the string representation must match the specified format exactly.
A span containing the characters that represent a time interval to convert.
A span containing the charactes that represent a standard or custom format string that defines the acceptable format of .
An object that supplies culture-specific formatting information.
One or more enumeration values that indicate the style of .
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a time interval to its equivalent by using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
A span containing the characters that represent a time interval to convert.
A span containing the characters that represent a standard or custom format string that defines the acceptable format of .
An object that supplies culture-specific formatting information.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a time interval to its equivalent by using the specified formats, culture-specific format information and styles. The format of the string representation must match one of the specified formats exactly.
A span containing the characters that represent a time interval to convert.
An array of standard or custom format strings that define the acceptable formats of .
An object that supplies culture-specific formatting information.
One or more enumeration values that indicate the style of .
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified span representation of a time interval to its equivalent by using the specified formats and culture-specific format information. The format of the string representation must match one of the specified formats exactly.
A span containing the characters that represent a time interval to convert.
An array of standard or custom format strings that define the acceptable formats of .
An object that supplies culture-specific formatting information.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the string representation of a time interval to its equivalent by using the specified format, culture-specific format information and styles. The format of the string representation must match the specified format exactly.
A string that specifies the time interval to convert.
A standard or custom format string that defines the required format of .
An object that provides culture-specific formatting information.
One or more enumeration values that indicate the style of .
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the string representation of a time interval to its equivalent by using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
A string that specifies the time interval to convert.
A standard or custom format string that defines the required format of .
An object that supplies culture-specific formatting information.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string representation of a time interval to its equivalent by using the specified formats, culture-specific format information and styles. The format of the string representation must match one of the specified formats exactly.
A string that specifies the time interval to convert.
An array of standard or custom format strings that define the acceptable formats of .
An object that supplies culture-specific formatting information.
One or more enumeration values that indicate the style of .
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Converts the specified string representation of a time interval to its equivalent by using the specified formats and culture-specific format information. The format of the string representation must match one of the specified formats exactly.
A string that specifies the time interval to convert.
An array of standard or custom format strings that define the acceptable formats of .
An object that provides culture-specific formatting information.
When this method returns, contains an object that represents the time interval specified by , or if the conversion failed. This parameter is passed uninitialized.
if was converted successfully; otherwise, .
Gets the days component of the time interval represented by the current structure.
The day component of this instance. The return value can be positive or negative.
Gets the hours component of the time interval represented by the current structure.
The hour component of the current structure. The return value ranges from -23 through 23.
Gets the microseconds component of the time interval represented by the current structure.
Gets the milliseconds component of the time interval represented by the current structure.
The millisecond component of the current structure. The return value ranges from -999 through 999.
Gets the minutes component of the time interval represented by the current structure.
The minute component of the current structure. The return value ranges from -59 through 59.
Gets the nanoseconds component of the time interval represented by the current structure.
Gets the seconds component of the time interval represented by the current structure.
The second component of the current structure. The return value ranges from -59 through 59.
Gets the number of ticks that represent the value of the current structure.
The number of ticks contained in this instance.
Gets the value of the current structure expressed in whole and fractional days.
The total number of days represented by this instance.
Gets the value of the current structure expressed in whole and fractional hours.
The total number of hours represented by this instance.
Gets the value of the current structure expressed in whole and fractional microseconds.
Gets the value of the current structure expressed in whole and fractional milliseconds.
The total number of milliseconds represented by this instance.
Gets the value of the current structure expressed in whole and fractional minutes.
The total number of minutes represented by this instance.
Gets the value of the current structure expressed in whole and fractional nanoseconds.
Gets the value of the current structure expressed in whole and fractional seconds.
The total number of seconds represented by this instance.
Represents a time zone.
Initializes a new instance of the class.
Returns the daylight saving time period for a particular year.
The year that the daylight saving time period applies to.
is less than 1 or greater than 9999.
A object that contains the start and end date for daylight saving time in .
Returns the Coordinated Universal Time (UTC) offset for the specified local time.
A date and time value.
The Coordinated Universal Time (UTC) offset from .
Returns a value indicating whether the specified date and time is within the specified daylight saving time period.
A date and time.
A daylight saving time period.
is .
if is in ; otherwise, .
Returns a value indicating whether the specified date and time is within a daylight saving time period.
A date and time.
if is in a daylight saving time period; otherwise, .
Returns the local time that corresponds to a specified date and time value.
A Coordinated Universal Time (UTC) time.
A object whose value is the local time that corresponds to .
Returns the Coordinated Universal Time (UTC) that corresponds to a specified time.
A date and time.
A object whose value is the Coordinated Universal Time (UTC) that corresponds to .
Gets the time zone of the current computer.
A object that represents the current local time zone.
Gets the daylight saving time zone name.
The daylight saving time zone name.
Gets the standard time zone name.
An attempt was made to set this property to .
The standard time zone name.
Represents any time zone in the world.
Clears cached time zone data.
Converts a time from one time zone to another.
The date and time to convert.
The time zone of .
The time zone to convert to.
The property of the parameter is , but the parameter does not equal .
-or-
The property of the parameter is , but the parameter does not equal .
-or-
The parameter is an invalid time (that is, it represents a time that does not exist because of a time zone's adjustment rules).
The parameter is .
-or-
The parameter is .
The date and time in the destination time zone that corresponds to the parameter in the source time zone.
Converts a time to the time in a particular time zone.
The date and time to convert.
The time zone to convert to.
The value of the parameter represents an invalid time.
The value of the parameter is .
The date and time in the destination time zone.
Converts a time to the time in a particular time zone.
The date and time to convert.
The time zone to convert to.
The value of the parameter is .
The date and time in the destination time zone.
Converts a time from one time zone to another based on time zone identifiers.
The date and time to convert.
The identifier of the source time zone.
The identifier of the destination time zone.
The property of the parameter does not correspond to the source time zone.
-or-
is an invalid time in the source time zone.
is .
-or-
is .
The time zone identifiers were found, but the registry data is corrupted.
The user does not have the permissions required to read from the registry keys that hold time zone data.
The identifier was not found on the local system.
-or-
The identifier was not found on the local system.
The date and time in the destination time zone that corresponds to the parameter in the source time zone.
Converts a time to the time in another time zone based on the time zone's identifier.
The date and time to convert.
The identifier of the destination time zone.
is .
The time zone identifier was found, but the registry data is corrupted.
The process does not have the permissions required to read from the registry key that contains the time zone information.
The identifier was not found on the local system.
The date and time in the destination time zone.
Converts a time to the time in another time zone based on the time zone's identifier.
The date and time to convert.
The identifier of the destination time zone.
is .
The time zone identifier was found but the registry data is corrupted.
The process does not have the permissions required to read from the registry key that contains the time zone information.
The identifier was not found on the local system.
The date and time in the destination time zone.
Converts a Coordinated Universal Time (UTC) to the time in a specified time zone.
The Coordinated Universal Time (UTC).
The time zone to convert to.
The property of is .
is .
The date and time in the destination time zone. Its property is if is ; otherwise, its property is .
Converts the time in a specified time zone to Coordinated Universal Time (UTC).
The date and time to convert.
The time zone of .
. is and does not equal .
-or-
. is and does not equal .
-or-
returns .
is .
The Coordinated Universal Time (UTC) that corresponds to the parameter. The object's property is always set to .
Converts the specified date and time to Coordinated Universal Time (UTC).
The date and time to convert.
returns .
The Coordinated Universal Time (UTC) that corresponds to the parameter. The value's property is always set to .
Creates a custom time zone with a specified identifier, an offset from Coordinated Universal Time (UTC), a display name, a standard time name, a daylight saving time name, daylight saving time rules, and a value that indicates whether the returned object reflects daylight saving time information.
The time zone's identifier.
A object that represents the time difference between this time zone and Coordinated Universal Time (UTC).
The display name of the new time zone.
The standard time name of the new time zone.
The daylight saving time name of the new time zone.
An array of objects that augment the base UTC offset for a particular period.
to discard any daylight saving time-related information present in with the new object; otherwise, .
The parameter is .
The parameter is an empty string ("").
-or-
The parameter does not represent a whole number of minutes.
The parameter is greater than 14 hours or less than -14 hours.
The adjustment rules specified in the parameter overlap.
-or-
The adjustment rules specified in the parameter are not in chronological order.
-or-
One or more elements in are .
-or-
A date can have multiple adjustment rules applied to it.
-or-
The sum of the parameter and the value of one or more objects in the array is greater than 14 hours or less than -14 hours.
The new time zone. If the parameter is , the returned object has no daylight saving time data.
Creates a custom time zone with a specified identifier, an offset from Coordinated Universal Time (UTC), a display name, a standard time name, a daylight saving time name, and daylight saving time rules.
The time zone's identifier.
An object that represents the time difference between this time zone and Coordinated Universal Time (UTC).
The display name of the new time zone.
The new time zone's standard time name.
The daylight saving time name of the new time zone.
An array that augments the base UTC offset for a particular period.
The parameter is .
The parameter is an empty string ("").
-or-
The parameter does not represent a whole number of minutes.
The parameter is greater than 14 hours or less than -14 hours.
The adjustment rules specified in the parameter overlap.
-or-
The adjustment rules specified in the parameter are not in chronological order.
-or-
One or more elements in are .
-or-
A date can have multiple adjustment rules applied to it.
-or-
The sum of the parameter and the value of one or more objects in the array is greater than 14 hours or less than -14 hours.
A object that represents the new time zone.
Creates a custom time zone with a specified identifier, an offset from Coordinated Universal Time (UTC), a display name, and a standard time display name.
The time zone's identifier.
An object that represents the time difference between this time zone and Coordinated Universal Time (UTC).
The display name of the new time zone.
The name of the new time zone's standard time.
The parameter is .
The parameter is an empty string ("").
-or-
The parameter does not represent a whole number of minutes.
The parameter is greater than 14 hours or less than -14 hours.
The new time zone.
Determines whether the current object and another object are equal.
A second object to compare with the current object.
if is a object that is equal to the current instance; otherwise, .
Determines whether the current object and another object are equal.
A second object to compare with the current object.
if the two objects are equal; otherwise, .
Returns a object based on its identifier.
The time zone identifier, which corresponds to the property.
The system does not have enough memory to hold information about the time zone.
The parameter is .
The time zone identifier specified by was not found. This means that a time zone identifier whose name matches does not exist, or that the identifier exists but does not contain any time zone data.
The process does not have the permissions required to read from the registry key that contains the time zone information.
The time zone identifier was found, but the registry data is corrupted.
An object whose identifier is the value of the parameter.
Deserializes a string to re-create an original serialized object.
The string representation of the serialized object.
The parameter is .
The parameter is a null string.
The source parameter cannot be deserialized back into a object.
The original serialized object.
Retrieves an array of objects that apply to the current object.
The system does not have enough memory to make an in-memory copy of the adjustment rules.
An array of objects for this time zone.
Returns information about the possible dates and times that an ambiguous date and time can be mapped to.
A date and time.
is not an ambiguous time.
An array of objects that represents possible Coordinated Universal Time (UTC) offsets that a particular date and time can be mapped to.
Returns information about the possible dates and times that an ambiguous date and time can be mapped to.
A date and time.
is not an ambiguous time.
An array of objects that represents possible Coordinated Universal Time (UTC) offsets that a particular date and time can be mapped to.
Serves as a hash function for hashing algorithms and data structures such as hash tables.
A 32-bit signed integer that serves as the hash code for this object.
Returns a sorted collection of all the time zones about which information is available on the local system.
There is insufficient memory to store all time zone information.
The user does not have permission to read from the registry keys that contain time zone information.
A read-only collection of objects.
Returns a containing all valid TimeZone's from the local machine.
This method does not throw TimeZoneNotFoundException or InvalidTimeZoneException.
If , The collection returned may not necessarily be sorted.
Calculates the offset or difference between the time in this time zone and Coordinated Universal Time (UTC) for a particular date and time.
The date and time to determine the offset for.
An object that indicates the time difference between the two time zones.
Calculates the offset or difference between the time in this time zone and Coordinated Universal Time (UTC) for a particular date and time.
The date and time to determine the offset for.
An object that indicates the time difference between Coordinated Universal Time (UTC) and the current time zone.
Indicates whether the current object and another object have the same adjustment rules.
A second object to compare with the current object.
The parameter is .
if the two time zones have identical adjustment rules and an identical base offset; otherwise, .
Determines whether a particular date and time in a particular time zone is ambiguous and can be mapped to two or more Coordinated Universal Time (UTC) times.
A date and time value.
The property of the value is and is an invalid time.
if the parameter is ambiguous; otherwise, .
Determines whether a particular date and time in a particular time zone is ambiguous and can be mapped to two or more Coordinated Universal Time (UTC) times.
A date and time.
if the parameter is ambiguous in the current time zone; otherwise, .
Indicates whether a specified date and time falls in the range of daylight saving time for the time zone of the current object.
A date and time value.
The property of the value is and is an invalid time.
if the parameter is a daylight saving time; otherwise, .
Indicates whether a specified date and time falls in the range of daylight saving time for the time zone of the current object.
A date and time value.
if the parameter is a daylight saving time; otherwise, .
Indicates whether a particular date and time is invalid.
A date and time value.
if is invalid; otherwise, .
Runs when the deserialization of an object has been completed.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
The object contains invalid or corrupted data.
Populates a object with the data needed to serialize the current object.
The object to populate with data.
The destination for this serialization (see ).
The parameter is .
Converts the current object to a serialized string.
A string that represents the current object.
Returns the current object's display name.
The value of the property of the current object.
Tries to convert an IANA time zone ID to a Windows ID.
The IANA time zone ID.
When this method returns, contains the Windows ID that corresponds to the specified IANA ID.
if the ID conversion succeeded, otherwise.
Tries to convert a Windows time zone ID to an IANA ID.
The Windows time zone ID.
The ISO 3166 code for the country/region.
When this method returns, contains the IANA ID that corresponds to the specified Windows ID.
if the ID conversion succeeded, otherwise.
Tries to convert a Windows time zone ID to an IANA ID.
The Windows time zone ID.
When this method returns, contains the IANA ID that corresponds to the specified Windows ID.
if the ID conversion succeeded, otherwise.
Retrieves a object by time zone name.
The time zone name.
When this method returns, contains the retrieved or if no valid time zone was found.
if the object was successfully retrieved; otherwise, .
Gets the time difference between the current time zone's standard time and Coordinated Universal Time (UTC).
An object that indicates the time difference between the current time zone's standard time and Coordinated Universal Time (UTC).
Gets the display name for the current time zone's daylight saving time.
The display name for the time zone's daylight saving time.
Gets the general display name that represents the time zone.
The time zone's general display name.
Returns if this TimeZoneInfo object has an IANA ID.
Gets the time zone identifier.
The time zone identifier.
Gets a object that represents the local time zone.
An object that represents the local time zone.
Gets the display name for the time zone's standard time.
The display name of the time zone's standard time.
Gets a value indicating whether the time zone has any daylight saving time rules.
if the time zone supports daylight saving time; otherwise, .
Gets a object that represents the Coordinated Universal Time (UTC) zone.
An object that represents the Coordinated Universal Time (UTC) zone.
Provides information about a time zone adjustment, such as the transition to and from daylight saving time.
Creates a new adjustment rule for a particular time zone.
The effective date of the adjustment rule. If the value is DateTime.MinValue.Date, this is the first adjustment rule in effect for a time zone.
The last date that the adjustment rule is in force. If the value is DateTime.MaxValue.Date, the adjustment rule has no end date.
The time change that results from the adjustment. This value is added to the time zone's and properties to obtain the correct daylight offset from Coordinated Universal Time (UTC). This value can range from -14 to 14.
The start of daylight saving time.
The end of daylight saving time.
The time difference with the base UTC offset for the time zone during the adjustment-rule period.
The new adjustment rule.
Creates a new adjustment rule for a particular time zone.
The effective date of the adjustment rule. If the value of the parameter is , this is the first adjustment rule in effect for a time zone.
The last date that the adjustment rule is in force. If the value of the parameter is , the adjustment rule has no end date.
The time change that results from the adjustment. This value is added to the time zone's property to obtain the correct daylight offset from Coordinated Universal Time (UTC). This value can range from -14 to 14.
An object that defines the start of daylight saving time.
An object that defines the end of daylight saving time.
The property of the or parameter does not equal .
-or-
The parameter is equal to the parameter.
-or-
The or parameter includes a time of day value.
is earlier than .
-or-
is less than -14 or greater than 14.
-or-
The property of the parameter is not equal to 0.
-or-
The property of the parameter does not equal a whole number of seconds.
An object that represents the new adjustment rule.
Indicates whether the current instance is equal to another instance.
An instance to compare with this instance.
if the current instance is equal to the other instance; otherwise, .
Determines whether the current object is equal to a second object.
The object to compare with the current object.
if both objects have equal values; otherwise, .
Serves as a hash function for hashing algorithms and data structures such as hash tables.
A 32-bit signed integer that serves as the hash code for the current object.
Runs when the deserialization of a object is completed.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
Populates a object with the data that is required to serialize this object.
The object to populate with data.
The destination for this serialization (see ).
Gets the time difference with the base UTC offset for the time zone during the adjustment-rule period.
A instance representing the time difference.
Gets the date when the adjustment rule ceases to be in effect.
A value that indicates the end date of the adjustment rule.
Gets the date when the adjustment rule takes effect.
A value that indicates when the adjustment rule takes effect.
Gets the amount of time that is required to form the time zone's daylight saving time. This amount of time is added to the time zone's offset from Coordinated Universal Time (UTC).
A object that indicates the amount of time to add to the standard time changes as a result of the adjustment rule.
Gets information about the annual transition from daylight saving time back to standard time.
A object that defines the annual transition from daylight saving time back to the time zone's standard time.
Gets information about the annual transition from standard time to daylight saving time.
A object that defines the annual transition from a time zone's standard time to daylight saving time.
Provides information about a specific time change, such as the change from daylight saving time to standard time or vice versa, in a particular time zone.
Defines a time change that uses a fixed-date rule (that is, a time change that occurs on a specific day of a specific month).
The time at which the time change occurs. This parameter corresponds to the property.
The month in which the time change occurs. This parameter corresponds to the property.
The day of the month on which the time change occurs. This parameter corresponds to the property.
The parameter has a non-default date component.
-or-
The parameter's property is not .
-or-
The parameter does not represent a whole number of milliseconds.
The parameter is less than 1 or greater than 12.
-or-
The parameter is less than 1 or greater than 31.
Data about the time change.
Defines a time change that uses a floating-date rule (that is, a time change that occurs on a specific day of a specific week of a specific month).
The time at which the time change occurs. This parameter corresponds to the property.
The month in which the time change occurs. This parameter corresponds to the property.
The week of the month in which the time change occurs. Its value can range from 1 to 5, with 5 representing the last week of the month. This parameter corresponds to the property.
The day of the week on which the time change occurs. This parameter corresponds to the property.
The parameter has a non-default date component.
-or-
The parameter does not represent a whole number of milliseconds.
-or-
The parameter's property is not .
is less than 1 or greater than 12.
-or-
is less than 1 or greater than 5.
-or-
The parameter is not a member of the enumeration.
Data about the time change.
Determines whether an object has identical values to the current object.
An object to compare with the current object.
if the two objects are equal; otherwise, .
Determines whether the current object has identical values to a second object.
An object to compare to the current instance.
if the two objects have identical property values; otherwise, .
Serves as a hash function for hashing algorithms and data structures such as hash tables.
A 32-bit signed integer that serves as the hash code for this object.
Determines whether two specified objects are equal.
The first object to compare.
The second object to compare.
if and have identical values; otherwise, .
Determines whether two specified objects are not equal.
The first object to compare.
The second object to compare.
if and have any different member values; otherwise, .
Runs when the deserialization of an object has been completed.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
Populates a object with the data that is required to serialize this object.
The object to populate with data.
The destination for this serialization (see ).
Gets the day on which the time change occurs.
The day on which the time change occurs.
Gets the day of the week on which the time change occurs.
The day of the week on which the time change occurs.
Gets a value indicating whether the time change occurs at a fixed date and time (such as November 1) or a floating date and time (such as the last Sunday of October).
if the time change rule is fixed-date; if the time change rule is floating-date.
Gets the month in which the time change occurs.
The month in which the time change occurs.
Gets the hour, minute, and second at which the time change occurs.
The time of day at which the time change occurs.
Gets the week of the month in which a time change occurs.
The week of the month in which the time change occurs.
The exception that is thrown when a time zone cannot be found.
Initializes a new instance of the class with a system-supplied message.
Initializes a new instance of the class from serialized data.
The object that contains the serialized data.
The stream that contains the serialized data.
The parameter is .
-or-
The parameter is .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
A string that describes the exception.
The exception that is the cause of the current exception.
Initializes a new instance of the class with the specified message string.
A string that describes the exception.
Provides static methods for creating tuple objects.
Creates a new 1-tuple, or singleton.
The value of the only component of the tuple.
The type of the only component of the tuple.
A tuple whose value is ().
Creates a new 2-tuple, or pair.
The value of the first component of the tuple.
The value of the second component of the tuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
A 2-tuple whose value is (, ).
Creates a new 3-tuple, or triple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
A 3-tuple whose value is (, , ).
Creates a new 4-tuple, or quadruple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
A 4-tuple whose value is (, , , ).
Creates a new 5-tuple, or quintuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
A 5-tuple whose value is (, , , , ).
Creates a new 6-tuple, or sextuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
The value of the sixth component of the tuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
The type of the sixth component of the tuple.
A 6-tuple whose value is (, , , , , ).
Creates a new 7-tuple, or septuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
The value of the sixth component of the tuple.
The value of the seventh component of the tuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
The type of the sixth component of the tuple.
The type of the seventh component of the tuple.
A 7-tuple whose value is (, , , , , , ).
Creates a new 8-tuple, or octuple.
The value of the first component of the tuple.
The value of the second component of the tuple.
The value of the third component of the tuple.
The value of the fourth component of the tuple.
The value of the fifth component of the tuple.
The value of the sixth component of the tuple.
The value of the seventh component of the tuple.
The value of the eighth component of the tuple.
The type of the first component of the tuple.
The type of the second component of the tuple.
The type of the third component of the tuple.
The type of the fourth component of the tuple.
The type of the fifth component of the tuple.
The type of the sixth component of the tuple.
The type of the seventh component of the tuple.
The type of the eighth component of the tuple.
An 8-tuple (octuple) whose value is (, , , , , , , ).
Represents a 1-tuple, or singleton.
The type of the tuple's only component.
Initializes a new instance of the class.
The value of the tuple's only component.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer, and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object, and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the object's single component.
The value of the current object's single component.
Gets the value of the element.
The index of the element. must be 0.
is less than 0 or greater than 0.
The value of the element.
Gets the number of elements in the .
1, the number of elements in a object.
Represents a 2-tuple, or pair.
The type of the tuple's first component.
The type of the tuple's second component.
Initializes a new instance of the class.
The value of the tuple's first component.
The value of the tuple's second component.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer, and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the current object's first component.
The value of the current object's first component.
Gets the value of the current object's second component.
The value of the current object's second component.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 1.
is less than 0 or greater than 1.
The value of the element at the specified position.
Gets the number of elements in the .
2, the number of elements in a object.
Represents a 3-tuple, or triple.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
Initializes a new instance of the class.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer, and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the current object's first component.
The value of the current object's first component.
Gets the value of the current object's second component.
The value of the current object's second component.
Gets the value of the current object's third component.
The value of the current object's third component.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 2.
is less than 0 or greater than 2.
The value of the element at the specified position.
Gets the number of elements in the .
3, the number of elements in a object.
Represents a 4-tuple, or quadruple.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
Initializes a new instance of the class.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the current object's first component.
The value of the current object's first component.
Gets the value of the current object's second component.
The value of the current object's second component.
Gets the value of the current object's third component.
The value of the current object's third component.
Gets the value of the current object's fourth component.
The value of the current object's fourth component.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 3.
is less than 0 or greater than 3.
The value of the element at the specified position.
Gets the number of elements in the .
4, the number of elements in a object.
Represents a 5-tuple, or quintuple.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
Initializes a new instance of the class.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the current object's first component.
The value of the current object's first component.
Gets the value of the current object's second component.
The value of the current object's second component.
Gets the value of the current object's third component.
The value of the current object's third component.
Gets the value of the current object's fourth component.
The value of the current object's fourth component.
Gets the value of the current object's fifth component.
The value of the current object's fifth component.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 4.
is less than 0 or greater than 4.
The value of the element at the specified position.
Gets the number of elements in the .
5, the number of elements in a object.
Represents a 6-tuple, or sextuple.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
The type of the tuple's sixth component.
Initializes a new instance of the class.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
The value of the tuple's sixth component.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the current object's first component.
The value of the current object's first component.
Gets the value of the current object's second component.
The value of the current object's second component.
Gets the value of the current object's third component.
The value of the current object's third component.
Gets the value of the current object's fourth component.
The value of the current object's fourth component.
Gets the value of the current object's fifth component.
The value of the current object's fifth component.
Gets the value of the current object's sixth component.
The value of the current object's sixth component.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 5.
is less than 0 or greater than 5.
The value of the element at the specified position.
Gets the number of elements in the .
6, the number of elements in a object.
Represents a 7-tuple, or septuple.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
The type of the tuple's sixth component.
The type of the tuple's seventh component.
Initializes a new instance of the class.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
The value of the tuple's sixth component.
The value of the tuple's seventh component.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer, and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the current object's first component.
The value of the current object's first component.
Gets the value of the current object's second component.
The value of the current object's second component.
Gets the value of the current object's third component.
The value of the current object's third component.
Gets the value of the current object's fourth component.
The value of the current object's fourth component.
Gets the value of the current object's fifth component.
The value of the current object's fifth component.
Gets the value of the current object's sixth component.
The value of the current object's sixth component.
Gets the value of the current object's seventh component.
The value of the current object's seventh component.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 6.
is less than 0 or greater than 6.
The value of the element at the specified position.
Gets the number of elements in the .
7, the number of elements in a object.
Represents an n-tuple, where n is 8 or greater.
The type of the tuple's first component.
The type of the tuple's second component.
The type of the tuple's third component.
The type of the tuple's fourth component.
The type of the tuple's fifth component.
The type of the tuple's sixth component.
The type of the tuple's seventh component.
Any generic object that defines the types of the tuple's remaining components.
Initializes a new instance of the class.
The value of the tuple's first component.
The value of the tuple's second component.
The value of the tuple's third component.
The value of the tuple's fourth component.
The value of the tuple's fifth component.
The value of the tuple's sixth component.
The value of the tuple's seventh component.
Any generic object that contains the values of the tuple's remaining components.
is not a generic object.
Returns a value that indicates whether the current object is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current object is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current object by using a specified computation method.
An object whose method calculates the hash code of the current object.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this object.
Gets the value of the current object's first component.
The value of the current object's first component.
Gets the value of the current object's second component.
The value of the current object's second component.
Gets the value of the current object's third component.
The value of the current object's third component.
Gets the value of the current object's fourth component.
The value of the current object's fourth component.
Gets the value of the current object's fifth component.
The value of the current object's fifth component.
Gets the value of the current object's sixth component.
The value of the current object's sixth component.
Gets the value of the current object's seventh component.
The value of the current object's seventh component.
Gets the current object's remaining components.
The value of the current object's remaining components.
Gets the value of the specified element.
The index of the specified element. can range from 0 for to one less than the number of elements in the .
is less than 0.
-or-
is greater than or equal to .
The value of the element at the specified position.
Gets the number of elements in the .
The number of elements in the .
Provides extension methods for tuples to interoperate with language support for tuples in C#.
Deconstructs a tuple with 1 element into a separate variable.
The 1-element tuple to deconstruct into a separate variable.
When this method returns, contains the value of the single element.
The type of the single element.
Deconstructs a tuple with 10 elements into separate variables.
The 10-element tuple to deconstruct into 10 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
Deconstructs a tuple with 11 elements into separate variables.
The 11-element tuple to deconstruct into 11 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
Deconstructs a tuple with 12 elements into separate variables.
The 12-element tuple to deconstruct into 12 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
Deconstructs a tuple with 13 elements into separate variables.
The 13-element tuple to deconstruct into 13 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
Deconstructs a tuple with 14 elements into separate variables.
The 14-element tuple to deconstruct into 14 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
Deconstructs a tuple with 15 elements into separate variables.
The 15-element tuple to deconstruct into 15 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
When this method returns, contains the value of the fifteenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
The type of the fifteenth element.
Deconstructs a tuple with 16 elements into separate variables.
The 16-element tuple to deconstruct into 16 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
When this method returns, contains the value of the fifteenth element, or .
When this method returns, contains the value of the sixteenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
The type of the fifteenth element.
The type of the sixteenth element.
Deconstructs a tuple with 17 elements into separate variables.
The 17-element tuple to deconstruct into 17 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
When this method returns, contains the value of the fifteenth element, or .
When this method returns, contains the value of the sixteenth element, or .
When this method returns, contains the value of the seventeenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
The type of the fifteenth element.
The type of the sixteenth element.
The type of the seventeenth element.
Deconstructs a tuple with 18 elements into separate variables.
The 18-element tuple to deconstruct into 18 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
When this method returns, contains the value of the fifteenth element, or .
When this method returns, contains the value of the sixteenth element, or .
When this method returns, contains the value of the seventeenth element, or .
When this method returns, contains the value of the eighteenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
The type of the fifteenth element.
The type of the sixteenth element.
The type of the seventeenth element.
The type of the eighteenth element.
Deconstructs a tuple with 19 elements into separate variables.
The 19-element tuple to deconstruct into 19 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
When this method returns, contains the value of the fifteenth element, or .
When this method returns, contains the value of the sixteenth element, or .
When this method returns, contains the value of the seventeenth element, or .
When this method returns, contains the value of the eighteenth element, or .
When this method returns, contains the value of the nineteenth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
The type of the fifteenth element.
The type of the sixteenth element.
The type of the seventeenth element.
The type of the eighteenth element.
The type of the nineteenth element.
Deconstructs a tuple with 2 elements into separate variables.
The 2-element tuple to deconstruct into 2 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
The type of the first element.
The type of the second element.
Deconstructs a tuple with 20 elements into separate variables.
The 20-element tuple to deconstruct into 20 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
When this method returns, contains the value of the fifteenth element, or .
When this method returns, contains the value of the sixteenth element, or .
When this method returns, contains the value of the seventeenth element, or .
When this method returns, contains the value of the eighteenth element, or .
When this method returns, contains the value of the nineteenth element, or .
When this method returns, contains the value of the twentieth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
The type of the fifteenth element.
The type of the sixteenth element.
The type of the seventeenth element.
The type of the eighteenth element.
The type of the nineteenth element.
The type of the twentieth element.
Deconstructs a tuple with 21 elements into separate variables.
The 21-element tuple to deconstruct into 21 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
When this method returns, contains the value of the tenth element, or .
When this method returns, contains the value of the eleventh element, or .
When this method returns, contains the value of the twelfth element, or .
When this method returns, contains the value of the thirteenth element, or .
When this method returns, contains the value of the fourteenth element, or .
When this method returns, contains the value of the fifteenth element, or .
When this method returns, contains the value of the sixteenth element, or .
When this method returns, contains the value of the seventeenth element, or .
When this method returns, contains the value of the eighteenth element, or .
When this method returns, contains the value of the nineteenth element, or .
When this method returns, contains the value of the twentieth element, or .
When this method returns, contains the value of the twenty-first element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
The type of the tenth element.
The type of the eleventh element.
The type of the twelfth element.
The type of the thirteenth element.
The type of the fourteenth element.
The type of the fifteenth element.
The type of the sixteenth element.
The type of the seventeenth element.
The type of the eighteenth element.
The type of the nineteenth element.
The type of the twentieth element.
The type of the twenty-first element.
Deconstructs a tuple with 3 elements into separate variables.
The 3-element tuple to deconstruct into 3 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
The type of the first element.
The type of the second element.
The type of the third element.
Deconstructs a tuple with 4 elements into separate variables.
The 4-element tuple to deconstruct into 4 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
Deconstructs a tuple with 5 elements into separate variables.
The 5-element tuple to deconstruct into 5 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
Deconstructs a tuple with 6 elements into separate variables.
The 6-element tuple to deconstruct into 6 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
Deconstructs a tuple with 7 elements into separate variables.
The 7-element tuple to deconstruct into 7 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
Deconstructs a tuple with 8 elements into separate variables.
The 8-element tuple to deconstruct into 8 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
Deconstructs a tuple with 9 elements into separate variables.
The 9-element tuple to deconstruct into 9 separate variables.
When this method returns, contains the value of the first element.
When this method returns, contains the value of the second element.
When this method returns, contains the value of the third element.
When this method returns, contains the value of the fourth element.
When this method returns, contains the value of the fifth element.
When this method returns, contains the value of the sixth element.
When this method returns, contains the value of the seventh element.
When this method returns, contains the value of the eighth element, or .
When this method returns, contains the value of the ninth element, or .
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element.
The type of the ninth element.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The type of the nineteenth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The type of the nineteenth element, or .
The type of the twentieth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The type of the nineteenth element, or .
The type of the twentieth element, or .
The type of the twenty-first element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The converted tuple.
Converts an instance of the structure to an instance of the class.
The value tuple instance to convert to a tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The converted tuple.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The type of the nineteenth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The type of the nineteenth element, or .
The type of the twentieth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The type of the tenth element, or .
The type of the eleventh element, or .
The type of the twelfth element, or .
The type of the thirteenth element, or .
The type of the fourteenth element, or .
The type of the fifteenth element, or .
The type of the sixteenth element, or .
The type of the seventeenth element, or .
The type of the eighteenth element, or .
The type of the nineteenth element, or .
The type of the twentieth element, or .
The type of the twenty-first element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The converted value tuple instance.
Converts an instance of the class to an instance of the structure.
The tuple object to convert to a value tuple.
The type of the first element.
The type of the second element.
The type of the third element.
The type of the fourth element.
The type of the fifth element.
The type of the sixth element.
The type of the seventh element.
The type of the eighth element, or .
The type of the ninth element, or .
The converted value tuple instance.
Represents type declarations: class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types.
Separates names in the namespace of the . This field is read-only.
Represents an empty array of type . This field is read-only.
Represents the member filter used on attributes. This field is read-only.
Represents the case-sensitive member filter used on names. This field is read-only.
Represents the case-insensitive member filter used on names. This field is read-only.
Represents a missing value in the information. This field is read-only.
Initializes a new instance of the class.
Determines if the underlying system type of the current object is the same as the underlying system type of the specified .
The object whose underlying system type is to be compared with the underlying system type of the current . For the comparison to succeed, must be able to be cast or converted to an object of type .
if the underlying system type of is the same as the underlying system type of the current ; otherwise, . This method also returns if:
- is .
- cannot be cast or converted to a object.
Determines if the underlying system type of the current is the same as the underlying system type of the specified .
The object whose underlying system type is to be compared with the underlying system type of the current .
if the underlying system type of is the same as the underlying system type of the current ; otherwise, .
Returns an array of objects representing a filtered list of interfaces implemented or inherited by the current .
The delegate that compares the interfaces against .
The search criteria that determines whether an interface should be included in the returned array.
is .
A static initializer is invoked and throws an exception.
An array of objects representing a filtered list of the interfaces implemented or inherited by the current , or an empty array if no interfaces matching the filter are implemented or inherited by the current .
Returns a filtered array of objects of the specified member type.
A bitwise combination of the enumeration values that indicates the type of member to search for.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
The delegate that does the comparisons, returning if the member currently being inspected matches the and otherwise.
The search criteria that determines whether a member is returned in the array of objects.
The fields of , , and can be used in conjunction with the delegate supplied by this class.
is .
A filtered array of objects of the specified member type.
-or-
An empty array if the current does not have members of type that match the filter criteria.
Gets the number of dimensions in an array.
The functionality of this method is unsupported in the base class and must be implemented in a derived class instead.
The current type is not an array.
An integer that contains the number of dimensions in the current type.
When overridden in a derived class, implements the property and gets a bitwise combination of enumeration values that indicate the attributes associated with the .
A object representing the attribute set of the .
Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The object that specifies the set of rules to use regarding the order and layout of arguments, how the return value is passed, what registers are used for arguments, and the stack is cleaned up.
An array of objects representing the number, order, and type of the parameters for the constructor to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a constructor that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. The default binder does not process this parameter.
is .
-or-
One of the elements in is .
is multidimensional.
-or-
is multidimensional.
-or-
and do not have the same length.
An object representing the constructor that matches the specified requirements, if found; otherwise, .
Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
An array of objects representing the number, order, and type of the parameters for the constructor to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a constructor that takes no parameters.
-or-
.
An array of objects representing the attributes associated with the corresponding element in the parameter type array. The default binder does not process this parameter.
is .
-or-
One of the elements in is .
is multidimensional.
-or-
is multidimensional.
-or-
and do not have the same length.
A object representing the constructor that matches the specified requirements, if found; otherwise, .
Searches for a constructor whose parameters match the specified argument types, using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or- Default to return .
An array of Type objects representing the number, order, and type of the parameters for the constructor to get.
-or- An empty array of the type (that is, Type[] types = Array.Empty{Type}()) to get a constructor that takes no parameters.
-or- .
A object representing the constructor that matches the specified requirements, if found; otherwise, .
Searches for a public instance constructor whose parameters match the types in the specified array.
An array of objects representing the number, order, and type of the parameters for the desired constructor.
-or-
An empty array of objects, to get a constructor that takes no parameters. Such an empty array is provided by the field .
is .
-or-
One of the elements in is .
is multidimensional.
An object representing the public instance constructor whose parameters match the types in the parameter type array, if found; otherwise, .
When overridden in a derived class, searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The object that specifies the set of rules to use regarding the order and layout of arguments, how the return value is passed, what registers are used for arguments, and the stack is cleaned up.
An array of objects representing the number, order, and type of the parameters for the constructor to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a constructor that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. The default binder does not process this parameter.
is .
-or-
One of the elements in is .
is multidimensional.
-or-
is multidimensional.
-or-
and do not have the same length.
The current type is a or .
A object representing the constructor that matches the specified requirements, if found; otherwise, .
Returns all the public constructors defined for the current .
An array of objects representing all the public instance constructors defined for the current , but not including the type initializer (static constructor). If no public instance constructors are defined for the current , or if the current represents a type parameter in the definition of a generic type or generic method, an empty array of type is returned.
When overridden in a derived class, searches for the constructors defined for the current , using the specified .
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
An array of objects representing all constructors defined for the current that match the specified binding constraints, including the type initializer if it's defined. Returns an empty array of type if no constructors are defined for the current , if none of the defined constructors match the binding constraints, or if the current represents a type parameter in the definition of a generic type or generic method.
Searches for the members defined for the current whose is set.
An array of objects representing all default members of the current .
-or-
An empty array of type , if the current does not have default members.
When overridden in a derived class, returns the of the object encompassed or referred to by the current array, pointer or reference type.
The of the object encompassed or referred to by the current array, pointer, or reference type, or if the current is not an array or a pointer, or is not passed by reference, or represents a generic type or a type parameter in the definition of a generic type or generic method.
Returns the name of the constant that has the specified value, for the current enumeration type.
The value whose name is to be retrieved.
The current type is not an enumeration.
-or-
is neither of the current type nor does it have the same underlying type as the current type.
is .
The name of the member of the current enumeration type that has the specified value, or if no such constant is found.
Returns the names of the members of the current enumeration type.
The current type is not an enumeration.
An array that contains the names of the members of the enumeration.
Returns the underlying type of the current enumeration type.
The current type is not an enumeration.
-or-
The enumeration type is not valid, because it contains more than one instance field.
The underlying type of the current enumeration.
Returns an array of the values of the constants in the current enumeration type.
The current type is not an enumeration.
An array that contains the values. The elements of the array are sorted by the binary values (that is, the unsigned values) of the enumeration constants.
Retrieves an array of the values of the underlying type constants of this enumeration type.
This type is not an enumeration type.
An array that contains the values of the underlying type constants in this enumeration type.
When overridden in a derived class, returns the object representing the specified event, using the specified binding constraints.
The name of an event that is declared or inherited by the current .
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
is .
The object representing the specified event that is declared or inherited by the current , if found; otherwise, .
Returns the object representing the specified public event.
The string containing the name of an event that is declared or inherited by the current .
is .
The object representing the specified public event that is declared or inherited by the current , if found; otherwise, .
Returns all the public events that are declared or inherited by the current .
An array of objects representing all the public events which are declared or inherited by the current .
-or-
An empty array of type , if the current does not have public events.
When overridden in a derived class, searches for events that are declared or inherited by the current , using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
An array of objects representing all events that are declared or inherited by the current that match the specified binding constraints.
-or-
An empty array of type , if the current does not have events, or if none of the events match the binding constraints.
Searches for the specified field, using the specified binding constraints.
The string containing the name of the data field to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
is .
An object representing the field that matches the specified requirements, if found; otherwise, .
Searches for the public field with the specified name.
The string containing the name of the data field to get.
is .
This object is a whose method has not yet been called.
An object representing the public field with the specified name, if found; otherwise, .
Returns all the public fields of the current .
An array of objects representing all the public fields defined for the current .
-or-
An empty array of type , if no public fields are defined for the current .
When overridden in a derived class, searches for the fields defined for the current , using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
An array of objects representing all fields defined for the current that match the specified binding constraints.
-or-
An empty array of type , if no fields are defined for the current , or if none of the defined fields match the binding constraints.
When overridden in a derived class, returns the calling conventions of the current function pointer .
The current type is not a function pointer. That is, the property returns .
An array of objects representing all the calling conventions for the current function pointer .
-or-
An empty array of type , if no calling conventions are defined for the current function pointer .
-or-
An empty array of type , if the current function pointer is not a modified . A modified is obtained from , , or .
When overridden in a derived class, returns the parameter types of the current function pointer .
The current type is not a function pointer. That is, the property returns .
An array of objects representing all the parameter types for the current function pointer .
-or-
An empty array of type , if no parameters are defined for the current function pointer .
When overridden in a derived class, returns the return type of the current function pointer .
The current type is not a function pointer. That is, the property returns .
A object representing the return type for the current function pointer .
Returns an array of objects that represent the type arguments of a closed generic type or the type parameters of a generic type definition.
The invoked method is not supported in the base class. Derived classes must provide an implementation.
An array of objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.
Returns an array of objects that represent the constraints on the current generic type parameter.
The current object is not a generic type parameter. That is, the property returns .
An array of objects that represent the constraints on the current generic type parameter.
Returns a object that represents a generic type definition from which the current generic type can be constructed.
The current type is not a generic type. That is, returns .
The invoked method is not supported in the base class. Derived classes must provide an implementation.
A object representing a generic type from which the current type can be constructed.
Returns the hash code for this instance.
The hash code for this instance.
When overridden in a derived class, searches for the specified interface, specifying whether to do a case-insensitive search for the interface name.
The string containing the name of the interface to get. For generic interfaces, this is the mangled name.
to ignore the case of that part of that specifies the simple interface name (the part that specifies the namespace must be correctly cased).
-or-
to perform a case-sensitive search for all parts of .
is .
The current represents a type that implements the same generic interface with different type arguments.
An object representing the interface with the specified name, implemented or inherited by the current , if found; otherwise, .
Searches for the interface with the specified name.
The string containing the name of the interface to get. For generic interfaces, this is the mangled name.
is .
The current represents a type that implements the same generic interface with different type arguments.
An object representing the interface with the specified name, implemented or inherited by the current , if found; otherwise, .
Returns an interface mapping for the specified interface type.
The interface type to retrieve a mapping for.
is not implemented by the current type.
-or-
The argument does not refer to an interface.
-or-
The current instance or argument is an open generic type; that is, the property returns .
-or-
is a generic interface, and the current type is an array type.
is .
The current represents a generic type parameter; that is, is .
The invoked method is not supported in the base class. Derived classes must provide an implementation.
An object that represents the interface mapping for .
When overridden in a derived class, gets all the interfaces implemented or inherited by the current .
A static initializer is invoked and throws an exception.
An array of objects representing all the interfaces implemented or inherited by the current .
-or-
An empty array of type , if no interfaces are implemented or inherited by the current .
Searches for the specified members, using the specified binding constraints.
The string containing the name of the members to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
is .
An array of objects representing the public members with the specified name, if found; otherwise, an empty array.
Searches for the specified members of the specified member type, using the specified binding constraints.
The string containing the name of the members to get.
The value to search for.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
is .
A derived class must provide an implementation.
An array of objects representing the public members with the specified name, if found; otherwise, an empty array.
Searches for the public members with the specified name.
The string containing the name of the public members to get.
is .
An array of objects representing the public members with the specified name, if found; otherwise, an empty array.
Returns all the public members of the current .
An array of objects representing all the public members of the current .
-or-
An empty array of type , if the current does not have public members.
When overridden in a derived class, searches for the members defined for the current , using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
An array of objects representing all members defined for the current that match the specified binding constraints.
-or-
An empty array if no members are defined for the current , or if none of the defined members match the binding constraints.
Searches for the on the current that matches the specified .
The to find on the current .
is .
does not match a member on the current .
An object representing the member on the current that matches the specified member.
Searches for the specified method whose parameters match the specified generic parameter count, argument types and modifiers, using the specified binding constraints and the specified calling convention.
The string containing the name of the public method to get.
The number of generic type parameters of the method.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The object that specifies the set of rules to use regarding the order and layout of arguments, how the return value is passed, what registers are used for arguments, and how the stack is cleaned up.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. To be only used when calling through COM interop, and only parameters that are passed by reference are handled. The default binder does not process this parameter.
is .
-or-
is .
-or-
One of the elements in the array is .
is negative.
An object representing the method that matches the specified generic parameter count, argument types, modifiers, binding constraints and calling convention, if found; otherwise, .
Searches for the specified method whose parameters match the specified generic parameter count, argument types and modifiers, using the specified binding constraints.
The string containing the name of the public method to get.
The number of generic type parameters of the method.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. To be only used when calling through COM interop, and only parameters that are passed by reference are handled. The default binder does not process this parameter.
is .
-or-
is .
-or-
One of the elements in the array is .
is negative.
An object representing the method that matches the specified generic parameter count, argument types, modifiers and binding constraints, if found; otherwise, .
Searches for the specified method whose parameters match the specified generic parameter count and argument types, using the specified binding constraints.
The string containing the name of the method to get.
The number of generic type parameters of the method.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
An object representing the method that matches the specified generic parameter count, argument types, and binding constraints, if found; otherwise, .
Searches for the specified public method whose parameters match the specified generic parameter count, argument types and modifiers.
The string containing the name of the public method to get.
The number of generic type parameters of the method.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. To be only used when calling through COM interop, and only parameters that are passed by reference are handled. The default binder does not process this parameter.
is .
-or-
is .
-or-
One of the elements in the array is .
is negative.
An object representing the public method that matches the specified generic parameter count, argument types and modifiers, if found; otherwise, .
Searches for the specified public method whose parameters match the specified generic parameter count and argument types.
The string containing the name of the public method to get.
The number of generic type parameters of the method.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
is .
-or-
is .
-or-
One of the elements in the array is .
is negative.
An object representing the public method whose parameters match the specified generic parameter count and argument types, if found; otherwise, .
Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
The string containing the name of the method to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The object that specifies the set of rules to use regarding the order and layout of arguments, how the return value is passed, what registers are used for arguments, and how the stack is cleaned up.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. To be only used when calling through COM interop, and only parameters that are passed by reference are handled. The default binder does not process this parameter.
More than one method is found with the specified name and matching the specified binding constraints.
is .
-or-
is .
-or-
One of the elements in is .
is multidimensional.
-or-
is multidimensional.
An object representing the method that matches the specified requirements, if found; otherwise, .
Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints.
The string containing the name of the method to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. To be only used when calling through COM interop, and only parameters that are passed by reference are handled. The default binder does not process this parameter.
More than one method is found with the specified name and matching the specified binding constraints.
is .
-or-
is .
-or-
One of the elements in is .
is multidimensional.
-or-
is multidimensional.
An object representing the method that matches the specified requirements, if found; otherwise, .
Searches for the specified method whose parameters match the specified argument types, using the specified binding constraints.
The string containing the name of the method to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or- Default to return .
An array of objects representing the number, order, and type of the parameters for the method to get.
-or- An empty array of objects (as provided by the field) to get a method that takes no parameters.
An object representing the method that matches the specified requirements, if found; otherwise, .
Searches for the specified method, using the specified binding constraints.
The string containing the name of the method to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
More than one method is found with the specified name and matching the specified binding constraints.
is .
An object representing the method that matches the specified requirements, if found; otherwise, .
Searches for the specified public method whose parameters match the specified argument types and modifiers.
The string containing the name of the public method to get.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
An array of objects representing the attributes associated with the corresponding element in the array. To be only used when calling through COM interop, and only parameters that are passed by reference are handled. The default binder does not process this parameter.
More than one method is found with the specified name and specified parameters.
is .
-or-
is .
-or-
One of the elements in is .
is multidimensional.
-or-
is multidimensional.
An object representing the public method that matches the specified requirements, if found; otherwise, .
Searches for the specified public method whose parameters match the specified argument types.
The string containing the name of the public method to get.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of objects (as provided by the field) to get a method that takes no parameters.
More than one method is found with the specified name and specified parameters.
is .
-or-
is .
-or-
One of the elements in is .
is multidimensional.
An object representing the public method whose parameters match the specified argument types, if found; otherwise, .
Searches for the public method with the specified name.
The string containing the name of the public method to get.
More than one method is found with the specified name.
is .
An object that represents the public method with the specified name, if found; otherwise, .
When overridden in a derived class, searches for the specified method whose parameters match the specified generic parameter count, argument types and modifiers, using the specified binding constraints and the specified calling convention.
The string containing the name of the method to get.
The number of generic type parameters of the method.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The object that specifies the set of rules to use regarding the order and layout of arguments, how the return value is passed, what registers are used for arguments, and what process cleans up the stack.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a method that takes no parameters.
-or-
. If is , arguments are not matched.
An array of objects representing the attributes associated with the corresponding element in the array. The default binder does not process this parameter.
The method needs to be overriden and called in a derived class.
An object representing the method that matches the specified generic parameter count, argument types, modifiers, binding constraints and calling convention, if found; otherwise, .
When overridden in a derived class, searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
The string containing the name of the method to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The object that specifies the set of rules to use regarding the order and layout of arguments, how the return value is passed, what registers are used for arguments, and what process cleans up the stack.
An array of objects representing the number, order, and type of the parameters for the method to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a method that takes no parameters.
-or-
. If is , arguments are not matched.
An array of objects representing the attributes associated with the corresponding element in the array. The default binder does not process this parameter.
More than one method is found with the specified name and matching the specified binding constraints.
is .
is multidimensional.
-or-
is multidimensional.
-or-
and do not have the same length.
The current type is a or .
An object representing the method that matches the specified requirements, if found; otherwise, .
Returns all the public methods of the current .
An array of objects representing all the public methods defined for the current .
-or-
An empty array of type , if no public methods are defined for the current .
When overridden in a derived class, searches for the methods defined for the current , using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
An array of objects representing all methods defined for the current that match the specified binding constraints.
-or-
An empty array of type , if no methods are defined for the current , or if none of the defined methods match the binding constraints.
When overridden in a derived class, searches for the specified nested type, using the specified binding constraints.
The string containing the name of the nested type to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
is .
An object representing the nested type that matches the specified requirements, if found; otherwise, .
Searches for the public nested type with the specified name.
The string containing the name of the nested type to get.
is .
An object representing the public nested type with the specified name, if found; otherwise, .
Returns the public types nested in the current .
An array of objects representing the public types nested in the current (the search is not recursive), or an empty array of type if no public types are nested in the current .
When overridden in a derived class, searches for the types nested in the current , using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An array of objects representing all the types nested in the current that match the specified binding constraints (the search is not recursive), or an empty array of type , if no nested types are found that match the binding constraints.
When overridden in a derived class, returns the optional custom modifiers of the current .
An array of objects that identify the optional custom modifiers of the current .
-or-
An empty array of type , if the current has no custom modifiers.
-or-
An empty array of type , if the current is not a modified . A modified is obtained from , , or .
Returns all the public properties of the current .
An array of objects representing all public properties of the current .
-or-
An empty array of type , if the current does not have public properties.
When overridden in a derived class, searches for the properties of the current , using the specified binding constraints.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return an empty array.
An array of objects representing all properties of the current that match the specified binding constraints.
-or-
An empty array of type , if the current does not have properties, or if none of the properties match the binding constraints.
Searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.
The string containing the name of the property to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The return type of the property.
An array of objects representing the number, order, and type of the parameters for the indexed property to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a property that is not indexed.
An array of objects representing the attributes associated with the corresponding element in the array. The default binder does not process this parameter.
More than one property is found with the specified name and matching the specified binding constraints.
is .
-or-
is .
is multidimensional.
-or-
is multidimensional.
-or-
and do not have the same length.
An element of is .
An object representing the property that matches the specified requirements, if found; otherwise, .
Searches for the specified property, using the specified binding constraints.
The string containing the name of the property to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
More than one property is found with the specified name and matching the specified binding constraints.
is .
An object representing the property that matches the specified requirements, if found; otherwise, .
Searches for the specified public property whose parameters match the specified argument types and modifiers.
The string containing the name of the public property to get.
The return type of the property.
An array of objects representing the number, order, and type of the parameters for the indexed property to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a property that is not indexed.
An array of objects representing the attributes associated with the corresponding element in the array. The default binder does not process this parameter.
More than one property is found with the specified name and matching the specified argument types and modifiers.
is .
-or-
is .
is multidimensional.
-or-
is multidimensional.
-or-
and do not have the same length.
An element of is .
An object representing the public property that matches the specified requirements, if found; otherwise, .
Searches for the specified public property whose parameters match the specified argument types.
The string containing the name of the public property to get.
The return type of the property.
An array of objects representing the number, order, and type of the parameters for the indexed property to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a property that is not indexed.
More than one property is found with the specified name and matching the specified argument types.
is .
-or-
is .
is multidimensional.
An element of is .
An object representing the public property whose parameters match the specified argument types, if found; otherwise, .
Searches for the public property with the specified name and return type.
The string containing the name of the public property to get.
The return type of the property.
More than one property is found with the specified name.
is , or is .
An object representing the public property with the specified name, if found; otherwise, .
Searches for the specified public property whose parameters match the specified argument types.
The string containing the name of the public property to get.
An array of objects representing the number, order, and type of the parameters for the indexed property to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a property that is not indexed.
More than one property is found with the specified name and matching the specified argument types.
is .
-or-
is .
is multidimensional.
An element of is .
An object representing the public property whose parameters match the specified argument types, if found; otherwise, .
Searches for the public property with the specified name.
The string containing the name of the public property to get.
More than one property is found with the specified name.
is .
An object representing the public property with the specified name, if found; otherwise, .
When overridden in a derived class, searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.
The string containing the name of the property to get.
A bitwise combination of the enumeration values that specify how the search is conducted.
-or-
to return .
An object that defines a set of properties and enables binding, which can involve selection of an overloaded member, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the .
The return type of the property.
An array of objects representing the number, order, and type of the parameters for the indexed property to get.
-or-
An empty array of the type (that is, Type[] types = new Type[0]) to get a property that is not indexed.
An array of objects representing the attributes associated with the corresponding element in the array. The default binder does not process this parameter.
More than one property is found with the specified name and matching the specified binding constraints.
is .
-or-
is .
-or-
One of the elements in is .
is multidimensional.
-or-
is multidimensional.
-or-
and do not have the same length.
The current type is a , , or .
An object representing the property that matches the specified requirements, if found; otherwise, .
When overridden in a derived class, returns the required custom modifiers of the current .
An array of objects that identify the required custom modifiers of the current .
-or-
An empty array of type , if the current has no custom modifiers.
-or-
An empty array of type , if the current is not a modified . A modified is obtained from , , or .
Gets the current .
A class initializer is invoked and throws an exception.
The current .
Gets the with the specified name, specifying whether to throw an exception if the type is not found and whether to perform a case-sensitive search.
The assembly-qualified name of the type to get. See . If the type is in the currently executing assembly or in mscorlib.dll/System.Private.CoreLib.dll, it's sufficient to supply the type name qualified by its namespace.
to throw an exception if the type cannot be found; to return . Specifying also suppresses some other exception conditions, but not all of them. See the Exceptions section.
to perform a case-insensitive search for , to perform a case-sensitive search for .
is .
A class initializer is invoked and throws an exception.
is and the type is not found.
-or-
is and contains invalid characters, such as an embedded tab.
-or-
is and is an empty string.
-or-
is and represents an array type with an invalid size.
-or-
represents an array of .
is and contains invalid syntax. For example, "MyType[,*,]".
-or-
represents a generic type that has a pointer type, a type, or as one of its type arguments.
-or-
represents a generic type that has an incorrect number of type arguments.
-or-
represents a generic type, and one of its type arguments does not satisfy the constraints for the corresponding type parameter.
is and the assembly or one of its dependencies was not found.
The assembly or one of its dependencies was found, but could not be loaded.
The assembly is not valid for the currently loaded runtime.
The type with the specified name. If the type is not found, the parameter specifies whether is returned or an exception is thrown. In some cases, an exception is thrown regardless of the value of . See the Exceptions section.
Gets the with the specified name, performing a case-sensitive search and specifying whether to throw an exception if the type is not found.
The assembly-qualified name of the type to get. See . If the type is in the currently executing assembly or in mscorlib.dll/System.Private.CoreLib.dll, it's sufficient to supply the type name qualified by its namespace.
to throw an exception if the type cannot be found; to return . Specifying also suppresses some other exception conditions, but not all of them. See the Exceptions section.
is .
A class initializer is invoked and throws an exception.
is and the type is not found.
-or-
is and contains invalid characters, such as an embedded tab.
-or-
is and is an empty string.
-or-
is and represents an array type with an invalid size.
-or-
represents an array of .
is and contains invalid syntax. For example, "MyType[,*,]".
-or-
represents a generic type that has a pointer type, a type, or as one of its type arguments.
-or-
represents a generic type that has an incorrect number of type arguments.
-or-
represents a generic type, and one of its type arguments does not satisfy the constraints for the corresponding type parameter.
is and the assembly or one of its dependencies was not found.
The assembly or one of its dependencies was found, but could not be loaded.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The assembly or one of its dependencies is not valid for the currently loaded runtime.
The type with the specified name. If the type is not found, the parameter specifies whether is returned or an exception is thrown. In some cases, an exception is thrown regardless of the value of . See the Exceptions section.
Gets the type with the specified name, specifying whether to perform a case-sensitive search and whether to throw an exception if the type is not found, and optionally providing custom methods to resolve the assembly and the type.
The name of the type to get. If the parameter is provided, the type name can be any string that is capable of resolving. If the parameter is provided or if standard type resolution is used, must be an assembly-qualified name (see ), unless the type is in the currently executing assembly or in mscorlib.dll/System.Private.CoreLib.dll, in which case it's sufficient to supply the type name qualified by its namespace.
A method that locates and returns the assembly that is specified in . The assembly name is passed to as an object. If does not contain the name of an assembly, is not called. If is not supplied, standard assembly resolution is performed.
Caution: Don't pass methods from unknown or untrusted callers. Doing so could result in elevation of privilege for malicious code. Use only methods that you provide or that you are familiar with.
A method that locates and returns the type that is specified by from the assembly that is returned by or by standard assembly resolution. If no assembly is provided, the method can provide one. The method also takes a parameter that specifies whether to perform a case-insensitive search; the value of is passed to that parameter.
Caution: Don't pass methods from unknown or untrusted callers.
to throw an exception if the type cannot be found; to return . Specifying also suppresses some other exception conditions, but not all of them. See the Exceptions section.
to perform a case-insensitive search for , to perform a case-sensitive search for .
is .
A class initializer is invoked and throws an exception.
is and the type is not found.
-or-
is and contains invalid characters, such as an embedded tab.
-or-
is and is an empty string.
-or-
is and represents an array type with an invalid size.
-or-
represents an array of .
An error occurs when is parsed into a type name and an assembly name (for example, when the simple type name includes an unescaped special character).
-or-
is and contains invalid syntax (for example, "MyType[,*,]").
-or-
represents a generic type that has a pointer type, a type, or as one of its type arguments.
-or-
represents a generic type that has an incorrect number of type arguments.
-or-
represents a generic type, and one of its type arguments does not satisfy the constraints for the corresponding type parameter.
is and the assembly or one of its dependencies was not found.
The assembly or one of its dependencies was found, but could not be loaded.
-or-
contains an invalid assembly name.
-or-
is a valid assembly name without a type name.
The assembly or one of its dependencies is not a valid assembly for the currently loaded runtime.
The type with the specified name. If the type is not found, the parameter specifies whether is returned or an exception is thrown. In some cases, an exception is thrown regardless of the value of . See the Exceptions section.
Gets the type with the specified name, specifying whether to throw an exception if the type is not found, and optionally providing custom methods to resolve the assembly and the type.
The name of the type to get. If the parameter is provided, the type name can be any string that is capable of resolving. If the parameter is provided or if standard type resolution is used, must be an assembly-qualified name (see ), unless the type is in the currently executing assembly or in mscorlib.dll/System.Private.CoreLib.dll, in which case it's sufficient to supply the type name qualified by its namespace.
A method that locates and returns the assembly that is specified in . The assembly name is passed to as an object. If does not contain the name of an assembly, is not called. If is not supplied, standard assembly resolution is performed.
Caution: Don't pass methods from unknown or untrusted callers. Doing so could result in elevation of privilege for malicious code. Use only methods that you provide or that you are familiar with.
A method that locates and returns the type that is specified by from the assembly that is returned by or by standard assembly resolution. If no assembly is provided, the method can provide one. The method also takes a parameter that specifies whether to perform a case-insensitive search; is passed to that parameter.
Caution: Don't pass methods from unknown or untrusted callers.
to throw an exception if the type cannot be found; to return . Specifying also suppresses some other exception conditions, but not all of them. See the Exceptions section.
is .
A class initializer is invoked and throws an exception.
is and the type is not found.
-or-
is and contains invalid characters, such as an embedded tab.
-or-
is and is an empty string.
-or-
is and represents an array type with an invalid size.
-or-
represents an array of .
An error occurs when is parsed into a type name and an assembly name (for example, when the simple type name includes an unescaped special character).
-or-
is and contains invalid syntax (for example, "MyType[,*,]").
-or-
represents a generic type that has a pointer type, a type, or as one of its type arguments.
-or-
represents a generic type that has an incorrect number of type arguments.
-or-
represents a generic type, and one of its type arguments does not satisfy the constraints for the corresponding type parameter.
is and the assembly or one of its dependencies was not found.
-or-
contains an invalid assembly name.
-or-
is a valid assembly name without a type name.
The assembly or one of its dependencies was found, but could not be loaded.
The assembly or one of its dependencies is not valid for the currently loaded runtime.
The type with the specified name. If the type is not found, the parameter specifies whether is returned or an exception is thrown. In some cases, an exception is thrown regardless of the value of . See the Exceptions section.
Gets the type with the specified name, optionally providing custom methods to resolve the assembly and the type.
The name of the type to get. If the parameter is provided, the type name can be any string that is capable of resolving. If the parameter is provided or if standard type resolution is used, must be an assembly-qualified name (see ), unless the type is in the currently executing assembly or in mscorlib.dll/System.Private.CoreLib.dll, in which case it's sufficient to supply the type name qualified by its namespace.
A method that locates and returns the assembly that is specified in . The assembly name is passed to as an object. If does not contain the name of an assembly, is not called. If is not supplied, standard assembly resolution is performed.
Caution: Don't pass methods from unknown or untrusted callers. Doing so could result in elevation of privilege for malicious code. Use only methods that you provide or that you are familiar with.
A method that locates and returns the type that is specified by from the assembly that is returned by or by standard assembly resolution. If no assembly is provided, the method can provide one. The method also takes a parameter that specifies whether to perform a case-insensitive search; is passed to that parameter.
Caution: Don't pass methods from unknown or untrusted callers.
is .
A class initializer is invoked and throws an exception.
An error occurs when is parsed into a type name and an assembly name (for example, when the simple type name includes an unescaped special character).
-or-
represents a generic type that has a pointer type, a type, or as one of its type arguments.
-or-
represents a generic type that has an incorrect number of type arguments.
-or-
represents a generic type, and one of its type arguments does not satisfy the constraints for the corresponding type parameter.
represents an invalid type, for example, an array of .
The assembly or one of its dependencies was found, but could not be loaded.
-or-
contains an invalid assembly name.
-or-
is a valid assembly name without a type name.
The assembly or one of its dependencies is not valid for the currently loaded runtime.
The type with the specified name, or if the type is not found.
Gets the with the specified name, performing a case-sensitive search.
The assembly-qualified name of the type to get. See . If the type is in the currently executing assembly or in mscorlib.dll/System.Private.CoreLib.dll, it's sufficient to supply the type name qualified by its namespace.
is .
A class initializer is invoked and throws an exception.
represents a generic type that has a pointer type, a type, or as one of its type arguments.
-or-
represents a generic type that has an incorrect number of type arguments.
-or-
represents a generic type, and one of its type arguments does not satisfy the constraints for the corresponding type parameter.
represents an invalid type, for example, an array of .
The assembly or one of its dependencies was found, but could not be loaded.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The assembly is not valid for the currently loaded runtime.
The type with the specified name, if found; otherwise, .
Gets the types of the objects in the specified array.
An array of objects whose types to determine.
is .
-or-
One or more of the elements in is .
The class initializers are invoked and at least one throws an exception.
An array of objects representing the types of the corresponding elements in .
Gets the underlying type code of the specified .
The type whose underlying type code to get.
The code of the underlying type, or if is .
Returns the underlying type code of this instance.
The type code of the underlying type.
Gets the type associated with the specified class identifier (CLSID), specifying whether to throw an exception if an error occurs while loading the type.
The CLSID of the type to get.
to throw any exception that occurs.
-or-
to ignore any exception that occurs.
regardless of whether the CLSID is valid.
Gets the type associated with the specified class identifier (CLSID) from the specified server, specifying whether to throw an exception if an error occurs while loading the type.
The CLSID of the type to get.
The server from which to load the type. If the server name is , this method automatically reverts to the local machine.
to throw any exception that occurs.
-or-
to ignore any exception that occurs.
regardless of whether the CLSID is valid.
Gets the type associated with the specified class identifier (CLSID) from the specified server.
The CLSID of the type to get.
The server from which to load the type. If the server name is , this method automatically reverts to the local machine.
regardless of whether the CLSID is valid.
Gets the type associated with the specified class identifier (CLSID).
The CLSID of the type to get.
regardless of whether the CLSID is valid.
Gets the type referenced by the specified type handle.
The object that refers to the type.
A class initializer is invoked and throws an exception.
The type referenced by the specified , or if the property of is .
Gets the type associated with the specified program identifier (ProgID), specifying whether to throw an exception if an error occurs while loading the type.
The ProgID of the type to get.
to throw any exception that occurs.
-or-
to ignore any exception that occurs.
is .
The specified ProgID is not registered.
The type associated with the specified program identifier (ProgID), if is a valid entry in the registry and a type is associated with it; otherwise, .
Gets the type associated with the specified program identifier (progID) from the specified server, specifying whether to throw an exception if an error occurs while loading the type.
The progID of the to get.
The server from which to load the type. If the server name is , this method automatically reverts to the local machine.
to throw any exception that occurs.
-or-
to ignore any exception that occurs.
is .
The specified progID is not registered.
The type associated with the specified program identifier (progID), if is a valid entry in the registry and a type is associated with it; otherwise, .
Gets the type associated with the specified program identifier (progID) from the specified server, returning null if an error is encountered while loading the type.
The progID of the type to get.
The server from which to load the type. If the server name is , this method automatically reverts to the local machine.
is .
The type associated with the specified program identifier (progID), if is a valid entry in the registry and a type is associated with it; otherwise, .
Gets the type associated with the specified program identifier (ProgID), returning null if an error is encountered while loading the .
The ProgID of the type to get.
is .
The type associated with the specified ProgID, if is a valid entry in the registry and a type is associated with it; otherwise, .
Gets the handle for the of a specified object.
The object for which to get the type handle.
is .
The handle for the of the specified .
When overridden in a derived class, implements the property and determines whether the current encompasses or refers to another type; that is, whether the current is an array, a pointer, or is passed by reference.
if the is an array, a pointer, or is passed by reference; otherwise, .
Invokes the specified member, using the specified binding constraints and matching the specified argument list and culture.
The string containing the name of the constructor, method, property, or field member to invoke.
-or-
An empty string ("") to invoke the default member.
-or-
For members, a string representing the DispID, for example "[DispID=3]".
A bitwise combination of the enumeration values that specify how the search is conducted. The access can be one of the such as , , , , , and so on. The type of lookup need not be specified. If the type of lookup is omitted, | | are used.
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the . Note that explicitly defining a object may be required for successfully invoking method overloads with variable arguments.
The object on which to invoke the specified member.
An array containing the arguments to pass to the member to invoke.
The object representing the globalization locale to use, which may be necessary for locale-specific conversions, such as converting a numeric to a .
-or-
A null reference ( in Visual Basic) to use the current thread's .
does not contain and is .
is not a valid attribute.
-or-
does not contain one of the following binding flags: , , , , , or .
-or-
contains combined with , , , , or .
-or-
contains both and .
-or-
contains both and .
-or-
contains combined with or .
-or-
contains and has more than one element.
-or-
This method is called on a COM object and one of the following binding flags was not passed in: , , , , or .
-or-
One of the named parameter arrays contains a string that is .
The specified member is a class initializer.
The field or property cannot be found.
No method can be found that matches the arguments in .
-or-
The current object represents a type that contains open type parameters, that is, returns .
The specified member cannot be invoked on .
More than one method matches the binding criteria.
The method represented by has one or more unspecified generic type parameters. That is, the method's property returns .
An object representing the return value of the invoked member.
When overridden in a derived class, invokes the specified member, using the specified binding constraints and matching the specified argument list, modifiers and culture.
The string containing the name of the constructor, method, property, or field member to invoke.
-or-
An empty string ("") to invoke the default member.
-or-
For members, a string representing the DispID, for example "[DispID=3]".
A bitwise combination of the enumeration values that specify how the search is conducted. The access can be one of the such as , , , , , and so on. The type of lookup need not be specified. If the type of lookup is omitted, | | are used.
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference (Nothing in Visual Basic), to use the . Note that explicitly defining a object may be required for successfully invoking method overloads with variable arguments.
The object on which to invoke the specified member.
An array containing the arguments to pass to the member to invoke.
An array of objects representing the attributes associated with the corresponding element in the array. A parameter's associated attributes are stored in the member's signature.
The default binder processes this parameter only when calling a COM component.
The object representing the globalization locale to use, which may be necessary for locale-specific conversions, such as converting a numeric String to a Double.
-or-
A null reference ( in Visual Basic) to use the current thread's .
An array containing the names of the parameters to which the values in the array are passed.
does not contain and is .
and do not have the same length.
-or-
is not a valid attribute.
-or-
does not contain one of the following binding flags: , , , , , or .
-or-
contains combined with , , , , or .
-or-
contains both and .
-or-
contains both and .
-or-
contains combined with or .
-or-
contains and has more than one element.
-or-
The named parameter array is larger than the argument array.
-or-
This method is called on a COM object and one of the following binding flags was not passed in: , , , , or .
-or-
One of the named parameter arrays contains a string that is .
The specified member is a class initializer.
The field or property cannot be found.
No method can be found that matches the arguments in .
-or-
No member can be found that has the argument names supplied in .
-or-
The current object represents a type that contains open type parameters, that is, returns .
The specified member cannot be invoked on .
More than one method matches the binding criteria.
The method represented by has one or more unspecified generic type parameters. That is, the method's property returns .
An object representing the return value of the invoked member.
Invokes the specified member, using the specified binding constraints and matching the specified argument list.
The string containing the name of the constructor, method, property, or field member to invoke.
-or-
An empty string ("") to invoke the default member.
-or-
For members, a string representing the DispID, for example "[DispID=3]".
A bitwise combination of the enumeration values that specify how the search is conducted. The access can be one of the such as , , , , , and so on. The type of lookup need not be specified. If the type of lookup is omitted, | | are used.
An object that defines a set of properties and enables binding, which can involve selection of an overloaded method, coercion of argument types, and invocation of a member through reflection.
-or-
A null reference ( in Visual Basic), to use the . Note that explicitly defining a object may be required for successfully invoking method overloads with variable arguments.
The object on which to invoke the specified member.
An array containing the arguments to pass to the member to invoke.
does not contain and is .
is not a valid attribute.
-or-
does not contain one of the following binding flags: , , , , , or .
-or-
contains combined with , , , , or .
-or-
contains both and .
-or-
contains both and .
-or-
contains combined with or .
-or-
contains and has more than one element.
-or-
This method is called on a COM object and one of the following binding flags was not passed in: , , , , or .
-or-
One of the named parameter arrays contains a string that is .
The specified member is a class initializer.
The field or property cannot be found.
No method can be found that matches the arguments in .
-or-
The current object represents a type that contains open type parameters, that is, returns .
The specified member cannot be invoked on .
More than one method matches the binding criteria.
The .NET Compact Framework does not currently support this method.
The method represented by has one or more unspecified generic type parameters. That is, the method's property returns .
An object representing the return value of the invoked member.
When overridden in a derived class, implements the property and determines whether the is an array.
if the is an array; otherwise, .
Determines whether an instance of a specified type can be assigned to a variable of the current type.
The type to compare with the current type.
if any of the following conditions is true:
- and the current instance represent the same type.
- is derived either directly or indirectly from the current instance. is derived directly from the current instance if it inherits from the current instance; is derived indirectly from the current instance if it inherits from a succession of one or more classes that inherit from the current instance.
- The current instance is an interface that implements.
- is a generic type parameter, and the current instance represents one of the constraints of .
- represents a value type, and the current instance represents Nullable<c> (Nullable(Of c) in Visual Basic).
if none of these conditions are true, or if is .
Determines whether the current type can be assigned to a variable of the specified .
The type to compare with the current type.
if any of the following conditions is true:
- The current instance and represent the same type.
- The current type is derived either directly or indirectly from . The current type is derived directly from if it inherits from ; the current type is derived indirectly from if it inherits from a succession of one or more classes that inherit from .
- is an interface that the current type implements.
- The current type is a generic type parameter, and represents one of the constraints of the current type.
- The current type represents a value type, and represents Nullable<c> (Nullable(Of c) in Visual Basic).
if none of these conditions are true, or if is .
When overridden in a derived class, implements the property and determines whether the is passed by reference.
if the is passed by reference; otherwise, .
When overridden in a derived class, implements the property and determines whether the is a COM object.
if the is a COM object; otherwise, .
Implements the property and determines whether the can be hosted in a context.
if the can be hosted in a context; otherwise, .
Returns a value that indicates whether the specified value exists in the current enumeration type.
The value to be tested.
The current type is not an enumeration.
is .
is of a type that cannot be the underlying type of an enumeration.
if the specified value is a member of the current enumeration type; otherwise, .
Determines whether two COM types have the same identity and are eligible for type equivalence.
The COM type that is tested for equivalence with the current type.
if the COM types are equivalent; otherwise, . This method also returns if one type is in an assembly that is loaded for execution, and the other is in an assembly that is loaded into the reflection-only context.
Determines whether the specified object is an instance of the current .
The object to compare with the current type.
if the current is in the inheritance hierarchy of the object represented by , or if the current is an interface that implements. if neither of these conditions is the case, if is , or if the current is an open generic type (that is, returns ).
Implements the property and determines whether the is marshaled by reference.
if the is marshaled by reference; otherwise, .
When overridden in a derived class, implements the property and determines whether the is a pointer.
if the is a pointer; otherwise, .
When overridden in a derived class, implements the property and determines whether the is one of the primitive types.
if the is one of the primitive types; otherwise, .
Determines whether the current derives from the specified .
The type to compare with the current type.
is .
if the current derives from ; otherwise, . This method also returns if and the current are equal.
Implements the property and determines whether the is a value type; that is, not a class or an interface.
if the is a value type; otherwise, .
Returns a object representing a one-dimensional array of the current type, with a lower bound of zero.
The invoked method is not supported in the base class. Derived classes must provide an implementation.
The current type is .
-or-
The current type is a type. That is, returns .
A object representing a one-dimensional array of the current type, with a lower bound of zero.
Returns a object representing an array of the current type, with the specified number of dimensions.
The number of dimensions for the array. This number must be less than or equal to 32.
is invalid. For example, 0 or negative.
The invoked method is not supported in the base class.
The current type is .
-or-
The current type is a type. That is, returns .
-or-
is greater than 32.
An object representing an array of the current type, with the specified number of dimensions.
Returns a object that represents the current type when passed as a parameter ( parameter in Visual Basic).
The invoked method is not supported in the base class.
The current type is .
-or-
The current type is a type. That is, returns .
A object that represents the current type when passed as a parameter ( parameter in Visual Basic).
Returns a signature type object that can be passed into the Type[] array parameter of a method to represent a generic parameter reference.
The typed parameter position.
is negative.
A signature type object that can be passed into the Type[] array parameter of a method to represent a generic parameter reference.
Creates a generic signature type, which allows third party reimplementations of Reflection to fully support the use of signature types in querying type members.
The generic type definition.
An array of type arguments.
A generic signature type.
Substitutes the elements of an array of types for the type parameters of the current generic type definition and returns a object representing the resulting constructed type.
An array of types to be substituted for the type parameters of the current generic type.
The current type does not represent a generic type definition. That is, returns .
is .
-or-
Any element of is .
The number of elements in is not the same as the number of type parameters in the current generic type definition.
-or-
Any element of does not satisfy the constraints specified for the corresponding type parameter of the current generic type.
-or-
contains an element that is a pointer type ( returns ), a by-ref type ( returns ), or .
The invoked method is not supported in the base class. Derived classes must provide an implementation.
A representing the constructed type formed by substituting the elements of for the type parameters of the current generic type.
Returns a object that represents a pointer to the current type.
The invoked method is not supported in the base class.
The current type is .
-or-
The current type is a type. That is, returns .
A object that represents a pointer to the current type.
Indicates whether two objects are equal.
The first object to compare.
The second object to compare.
if is equal to ; otherwise, .
Indicates whether two objects are not equal.
The first object to compare.
The second object to compare.
if is not equal to ; otherwise, .
Gets the with the specified name, specifying whether to perform a case-sensitive search and whether to throw an exception if the type is not found. The type is loaded for reflection only, not for execution.
The assembly-qualified name of the to get.
to throw a if the type cannot be found; to return if the type cannot be found. Specifying also suppresses some other exception conditions, but not all of them. See the Exceptions section.
to perform a case-insensitive search for ; to perform a case-sensitive search for .
is .
A class initializer is invoked and throws an exception.
is and the type is not found.
-or-
is and contains invalid characters, such as an embedded tab.
-or-
is and is an empty string.
-or-
is and represents an array type with an invalid size.
-or-
represents an array of objects.
does not include the assembly name.
-or-
is and contains invalid syntax; for example, "MyType[,*,]".
-or-
represents a generic type that has a pointer type, a type, or as one of its type arguments.
-or-
represents a generic type that has an incorrect number of type arguments.
-or-
represents a generic type, and one of its type arguments does not satisfy the constraints for the corresponding type parameter.
is and the assembly or one of its dependencies was not found.
The assembly or one of its dependencies was found, but could not be loaded.
The assembly or one of its dependencies is not a valid assembly for the currently loaded runtime.
.NET Core and .NET 5+ only: In all cases.
The type with the specified name, if found; otherwise, . If the type is not found, the parameter specifies whether is returned or an exception is thrown. In some cases, an exception is thrown regardless of the value of . See the Exceptions section.
Returns a representing the name of the current .
A representing the name of the current .
Gets the in which the type is declared. For generic types, gets the in which the generic type is defined.
An instance that describes the assembly containing the current type. For generic types, the instance describes the assembly that contains the generic type definition, not the assembly that creates and uses a particular constructed type.
Gets the assembly-qualified name of the type, which includes the name of the assembly from which this object was loaded.
The assembly-qualified name of the , which includes the name of the assembly from which the was loaded, or if the current instance represents a generic type parameter.
Gets the attributes associated with the .
A object representing the attribute set of the , unless the represents a generic type parameter, in which case the value is unspecified.
Gets the type from which the current directly inherits.
The from which the current directly inherits, or if the current represents the class or an interface.
Gets a value indicating whether the current object has type parameters that have not been replaced by specific types.
if the object is itself a generic type parameter or has type parameters for which specific types have not been supplied; otherwise, .
Gets a that represents the declaring method, if the current represents a type parameter of a generic method.
If the current represents a type parameter of a generic method, a that represents declaring method; otherwise, .
Gets the type that declares the current nested type or generic type parameter.
A object representing the enclosing type, if the current type is a nested type; or the generic type definition, if the current type is a type parameter of a generic type; or the type that declares the generic method, if the current type is a type parameter of a generic method; otherwise, .
Gets a reference to the default binder, which implements internal rules for selecting the appropriate members to be called by .
A reference to the default binder used by the system.
Gets the fully qualified name of the type, including its namespace but not its assembly.
The fully qualified name of the type, including its namespace but not its assembly; or if the current instance represents a generic type parameter, an array type, pointer type, or type based on a type parameter, or a generic type that is not a generic type definition but contains unresolved type parameters.
Gets a combination of flags that describe the covariance and special constraints of the current generic type parameter.
The current object is not a generic type parameter. That is, the property returns .
The invoked method is not supported in the base class.
A bitwise combination of values that describes the covariance and special constraints of the current generic type parameter.
Gets the position of the type parameter in the type parameter list of the generic type or method that declared the parameter, when the object represents a type parameter of a generic type or a generic method.
The current type does not represent a type parameter. That is, returns .
The position of a type parameter in the type parameter list of the generic type or method that defines the parameter. Position numbers begin at 0.
Gets an array of the generic type arguments for this type.
An array of the generic type arguments for this type.
Gets the GUID associated with the .
The GUID associated with the .
Gets a value indicating whether the current encompasses or refers to another type; that is, whether the current is an array, a pointer, or is passed by reference.
if the is an array, a pointer, or is passed by reference; otherwise, .
Gets a value indicating whether the is abstract and must be overridden.
if the is abstract; otherwise, .
Gets a value indicating whether the string format attribute is selected for the .
if the string format attribute is selected for the ; otherwise, .
Gets a value that indicates whether the type is an array.
if the current type is an array; otherwise, .
Gets a value indicating whether the string format attribute is selected for the .
if the string format attribute is selected for the ; otherwise, .
Gets a value indicating whether the fields of the current type are laid out automatically by the common language runtime.
if the property of the current type includes ; otherwise, .
Gets a value indicating whether the is passed by reference.
if the is passed by reference; otherwise, .
Gets a value that indicates whether the type is a byref-like structure.
if the is a byref-like structure; otherwise, .
Gets a value indicating whether the is a class or a delegate; that is, not a value type or interface.
if the is a class; otherwise, .
Gets a value indicating whether the is a COM object.
if the is a COM object; otherwise, .
Gets a value that indicates whether this object represents a constructed generic type. You can create instances of a constructed generic type.
if this object represents a constructed generic type; otherwise, .
Gets a value indicating whether the can be hosted in a context.
if the can be hosted in a context; otherwise, .
Gets a value indicating whether the current represents an enumeration.
if the current represents an enumeration; otherwise, .
Gets a value indicating whether the fields of the current type are laid out at explicitly specified offsets.
if the property of the current type includes ; otherwise, .
Gets a value that indicates whether the current is a function pointer.
if the current is a function pointer; otherwise, .
Gets a value that indicates whether the current represents a type parameter in the definition of a generic method.
if the object represents a type parameter of a generic method definition; otherwise, .
Gets a value indicating whether the current represents a type parameter in the definition of a generic type or method.
if the object represents a type parameter of a generic type definition or generic method definition; otherwise, .
Gets a value indicating whether the current type is a generic type.
if the current type is a generic type; otherwise, .
Gets a value indicating whether the current represents a generic type definition, from which other generic types can be constructed.
if the object represents a generic type definition; otherwise, .
Gets a value that indicates whether the current represents a type parameter in the definition of a generic type.
if the object represents a type parameter of a generic type definition; otherwise, .
Gets a value indicating whether the has a attribute applied, indicating that it was imported from a COM type library.
if the has a ; otherwise, .
Gets a value indicating whether the is an interface; that is, not a class or a value type.
if the is an interface; otherwise, .
Gets a value indicating whether the fields of the current type are laid out sequentially, in the order that they were defined or emitted to the metadata.
if the property of the current type includes ; otherwise, .
Gets a value indicating whether the is marshaled by reference.
if the is marshaled by reference; otherwise, .
Gets a value indicating whether the current object represents a type whose definition is nested inside the definition of another type.
if the is nested inside another type; otherwise, .
Gets a value indicating whether the is nested and visible only within its own assembly.
if the is nested and visible only within its own assembly; otherwise, .
Gets a value indicating whether the is nested and visible only to classes that belong to both its own family and its own assembly.
if the is nested and visible only to classes that belong to both its own family and its own assembly; otherwise, .
Gets a value indicating whether the is nested and visible only within its own family.
if the is nested and visible only within its own family; otherwise, .
Gets a value indicating whether the is nested and visible only to classes that belong to either its own family or to its own assembly.
if the is nested and visible only to classes that belong to its own family or to its own assembly; otherwise, .
Gets a value indicating whether the is nested and declared private.
if the is nested and declared private; otherwise, .
Gets a value indicating whether a class is nested and declared public.
if the class is nested and declared public; otherwise, .
Gets a value indicating whether the is not declared public.
if the is not declared public and is not a nested type; otherwise, .
Gets a value indicating whether the is a pointer.
if the is a pointer; otherwise, .
Gets a value indicating whether the is one of the primitive types.
if the is one of the primitive types; otherwise, .
Gets a value indicating whether the is declared public.
if the is declared public and is not a nested type; otherwise, .
Gets a value indicating whether the is declared sealed.
if the is declared sealed; otherwise, .
Gets a value that indicates whether the current type is security-critical or security-safe-critical at the current trust level, and therefore can perform critical operations.
if the current type is security-critical or security-safe-critical at the current trust level; if it's transparent.
Gets a value that indicates whether the current type is security-safe-critical at the current trust level; that is, whether it can perform critical operations and can be accessed by transparent code.
if the current type is security-safe-critical at the current trust level; if it's security-critical or transparent.
Gets a value that indicates whether the current type is transparent at the current trust level, and therefore cannot perform critical operations.
if the type is security-transparent at the current trust level; otherwise, .
Gets a value indicating whether the is binary serializable.
if the is binary serializable; otherwise, .
Gets a value that indicates whether the type is a signature type.
if the is a signature type; otherwise, .
Gets a value indicating whether the type has a name that requires special handling.
if the type has a name that requires special handling; otherwise, .
Gets a value that indicates whether the type is an array type that can represent only a single-dimensional array with a zero lower bound.
if the current is an array type that can represent only a single-dimensional array with a zero lower bound; otherwise, .
Gets a value that indicates whether the type is a type definition.
if the current is a type definition; otherwise, .
Gets a value indicating whether the string format attribute is selected for the .
if the string format attribute is selected for the ; otherwise, .
Gets a value that indicates whether the current is an unmanaged function pointer.
if the current is an unmanaged function pointer; otherwise, .
Gets a value indicating whether the is a value type.
if the is a value type; otherwise, .
Gets a value that indicates whether the type is an array type that can represent a multi-dimensional array or an array with an arbitrary lower bound.
if the current is an array type that can represent a multi-dimensional array or an array with an arbitrary lower bound; otherwise, .
Gets a value indicating whether the can be accessed by code outside the assembly.
if the current is a public type or a public nested type such that all the enclosing types are public; otherwise, .
Gets a value indicating that this member is a type or a nested type.
A value indicating that this member is a type or a nested type.
Gets the module (the DLL) in which the current is defined.
The module in which the current is defined.
Gets the namespace of the .
The namespace of the ; if the current instance has no namespace or represents a generic parameter.
Gets the class object that was used to obtain this member.
The object through which this object was obtained.
Gets a that describes the layout of the current type.
The invoked method is not supported in the base class.
Gets a that describes the gross layout features of the current type.
Gets the handle for the current .
The .NET Compact Framework does not currently support this property.
The handle for the current .
Gets the initializer for the type.
An object that contains the name of the class constructor for the .
Indicates the type provided by the common language runtime that represents this type.
The underlying system type for the .
The exception that is thrown when a method attempts to use a type that it does not have access to.
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class with serialized data.
The object that holds the serialized data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor must ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor must ensure that this string has been localized for the current system culture.
Specifies the type of an object.
A simple type representing Boolean values of or .
An integral type representing unsigned 8-bit integers with values between 0 and 255.
An integral type representing unsigned 16-bit integers with values between 0 and 65535. The set of possible values for the type corresponds to the Unicode character set.
A type representing a date and time value.
A database null (column) value.
A simple type representing values ranging from 1.0 x 10 -28 to approximately 7.9 x 10 28 with 28-29 significant digits.
A floating point type representing values ranging from approximately 5.0 x 10 -324 to 1.7 x 10 308 with a precision of 15-16 digits.
A null reference.
An integral type representing signed 16-bit integers with values between -32768 and 32767.
An integral type representing signed 32-bit integers with values between -2147483648 and 2147483647.
An integral type representing signed 64-bit integers with values between -9223372036854775808 and 9223372036854775807.
A general type representing any reference or value type not explicitly represented by another .
An integral type representing signed 8-bit integers with values between -128 and 127.
A floating point type representing values ranging from approximately 1.5 x 10 -45 to 3.4 x 10 38 with a precision of 7 digits.
A sealed class type representing Unicode character strings.
An integral type representing unsigned 16-bit integers with values between 0 and 65535.
An integral type representing unsigned 32-bit integers with values between 0 and 4294967295.
An integral type representing unsigned 64-bit integers with values between 0 and 18446744073709551615.
Describes objects that contain both a managed pointer to a location and a runtime representation of the type that may be stored at that location.
Checks if this object is equal to the specified object.
The object with which to compare the current object.
This method is not implemented.
if this object is equal to the specified object; otherwise, .
Returns the hash code of this object.
The hash code of this object.
Returns the type of the target of the specified .
The value whose target's type is to be returned.
The type of the target of the specified .
Makes a for a field identified by a specified object and list of field descriptions.
An object that contains the field described by the first element of .
A list of field descriptions where each element describes a field that contains the field described by the succeeding element. Each described field must be a value type. The field descriptions must be objects supplied by the type system.
or is .
-or-
An element of is .
The array has no elements.
-or-
An element of is not a object.
-or-
The or property of an element of is .
Parameter does not contain the field described by the first element of , or an element of describes a field that is not contained in the field described by the succeeding element of .
-or-
The field described by an element of is not a value type.
A for the field described by the last element of .
Converts the specified value to a . This method is not supported.
The target of the conversion.
The value to be converted.
In all cases.
Returns the internal metadata type handle for the specified .
The for which the type handle is requested.
The internal metadata type handle for the specified .
Converts the specified to an .
The to be converted.
An converted from a .
The exception that is thrown as a wrapper around the exception thrown by the class initializer. This class cannot be inherited.
Initializes a new instance of the class with the default error message, the specified type name, and a reference to the inner exception that is the root cause of this exception.
The fully qualified name of the type that fails to initialize.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Sets the object with the type name and additional exception information.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Gets the fully qualified name of the type that fails to initialize.
The fully qualified name of the type that fails to initialize.
The exception that is thrown when type-loading failures occur.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
The object is .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Sets the object with the class name, method name, resource ID, and additional exception information.
The object that holds the serialized object data.
The contextual information about the source or destination.
The object is .
Gets the error message for this exception.
The error message string.
Gets the fully qualified name of the type that causes the exception.
The fully qualified type name.
The exception that is thrown when there is an attempt to access an unloaded class.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Represents a 128-bit unsigned integer.
Initializes a new instance of the struct.
The upper 64-bits of the 128-bit value.
The lower 64-bits of the 128-bit value.
Produces the full product of two unsigned native integers.
The integer to multiply with .
The integer to multiply with .
The lower half of the full product.
The upper half of the full product.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value
Meaning
-
Less than zero
This instance precedes in the sort order.
-
Zero
This instance occurs in the same position in the sort order as .
-
Greater than zero
This instance follows in the sort order.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value
Meaning
-
Less than zero
This instance precedes in the sort order.
-
Zero
This instance occurs in the same position in the sort order as .
-
Greater than zero
This instance follows in the sort order.
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
if the specified object is equal to the current object; otherwise, .
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
if the current object is equal to the parameter; otherwise, .
Serves as the default hash function.
A hash code for the current object.
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Adds two values together to compute their sum.
The value to which is added.
The value that is added to .
The sum of and .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Adds two values together to compute their sum.
The value to which is added.
The value that is added to .
The sum of and .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides two values together to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided-by .
Increments a value.
The value to increment.
The result of incrementing .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied-by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that is subtracted from .
The difference of subtracted from .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides two values together to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided-by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Explicitly converts a 128-bit unsigned integer to a value.
The value to convert.
converted to a .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Implicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Implicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Implicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Implicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Implicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Implicitly converts a value to a 128-bit unsigned integer.
The value to convert.
converted to a 128-bit unsigned integer.
Increments a value.
The value to increment.
The result of incrementing .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided-by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied-by .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that is subtracted from .
The difference of subtracted from .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of characters into a value.
The span of characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a string into a value.
The string to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a string into a value.
A string containing a number to parse.
A bitwise combination of number styles that can be present in .
The result of parsing .
Parses a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a string into a value.
A string containing a number to parse.
The result of parsing .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Returns a string that represents the current object.
A string that represents the current object.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Formats the value of the current instance using the specified format.
The format to use, or a reference to use the default format defined for the type of the implementation.
An object that supplies culture-specific formatting information.
The value of the current instance in the specified format.
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
The format to use, or a reference to use the default format defined for the type of the implementation.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 128-bit unsigned integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 128-bit unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a string into a value.
The string to parse.
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the value 1 for the type.
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the multiplicative identity of the current type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Represents a 16-bit unsigned integer.
Represents the largest possible value of . This field is constant.
Represents the smallest possible value of . This field is constant.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not a .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Compares this instance to a specified 16-bit unsigned integer and returns an indication of their relative values.
An unsigned integer to compare.
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare to this instance.
if is an instance of and equals the value of this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified value.
A 16-bit unsigned integer to compare to this instance.
if has the same value as this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent.
A span containing the characters that represent the number to convert. The span is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicate the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
A 16-bit unsigned integer equivalent to the number specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent.
A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicate the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number that is less than UInt16.MinValue or greater than UInt16.MaxValue.
-or-
includes non-zero, fractional digits.
A 16-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number in a specified style to its 16-bit unsigned integer equivalent.
This method is not CLS-compliant. The CLS-compliant alternative is .
A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of the enumeration values that specify the permitted format of . A typical value to specify is .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number less than UInt16.MinValue or greater than UInt16.MaxValue.
-or-
includes non-zero, fractional digits.
A 16-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number in a specified culture-specific format to its 16-bit unsigned integer equivalent.
A string that represents the number to convert.
An object that supplies culture-specific formatting information about .
is .
is not in the correct format.
represents a number less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number to its 16-bit unsigned integer equivalent.
A string that represents the number to convert.
is .
is not in the correct format.
represents a number less than UInt16.MinValue or greater than UInt16.MaxValue.
A 16-bit unsigned integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The current value of this instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The current value of this instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The current value of this instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of this instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The current value of this instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The current value of this instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The current value pf this instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An implementation that supplies information about the format of the returned value.
The current value of this instance, converted to .
For a description of this member, see .
This parameter is ignored.
The current value of this instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The current value of this instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The current value of this instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance, which consists of a sequence of digits ranging from 0 to 9, without a sign or leading zeros.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance, which consists of a sequence of digits ranging from 0 to 9, without a sign or leading zeros.
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information.
is invalid.
The string representation of the value of this instance, as specified by and .
Converts the numeric value of this instance to its equivalent string representation using the specified format.
A numeric format string.
The parameter is invalid.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current unsigned short number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 16-bit unsigned integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 16-bit unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the span representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters that represent the number to convert. The span is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 16-bit unsigned integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than UInt16.MinValue or greater than UInt16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the span representation of a number to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters representing the number to convert.
When this method returns, contains the 16-bit unsigned integer value that is equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in the correct format. , or represents a number less than UInt16.MinValue or greater than UInt16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 16-bit unsigned integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than UInt16.MinValue or greater than UInt16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the string representation of a number to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string that represents the number to convert.
When this method returns, contains the 16-bit unsigned integer value that is equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in the correct format, or represents a number less than UInt16.MinValue or greater than UInt16.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Represents a 32-bit unsigned integer.
Represents the largest possible value of . This field is constant.
Represents the smallest possible value of . This field is constant.
Produces the full product of two unsigned 32-bit numbers.
The first number to multiply.
The second number to multiply.
The number containing the product of the specified numbers.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not a .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Compares this instance to a specified 32-bit unsigned integer and returns an indication of their relative values.
An unsigned integer to compare.
A signed number indicating the relative values of this instance and .
Return value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance.
if is an instance of and equals the value of this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified .
A value to compare to this instance.
if has the same value as this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent.
A span containing the characters that represent the number to convert. The span is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
A 32-bit unsigned integer equivalent to the number specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent.
A string representing the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
-or-
includes non-zero, fractional digits.
A 32-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number in a specified style to its 32-bit unsigned integer equivalent.
A string representing the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of the enumeration values that specify the permitted format of . A typical value to specify is .
is .
is not a value.
-or-
is not a combination of and values.
is not in a format compliant with .
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
-or-
includes non-zero, fractional digits.
A 32-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number in a specified culture-specific format to its 32-bit unsigned integer equivalent.
A string that represents the number to convert.
An object that supplies culture-specific formatting information about .
is .
is not in the correct style.
represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number to its 32-bit unsigned integer equivalent.
A string representing the number to convert.
The parameter is .
The parameter is not of the correct format.
The parameter represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue.
A 32-bit unsigned integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An implementation that supplies culture-specific information about the format of the returned value.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance, consisting of a sequence of digits ranging from 0 to 9, without a sign or leading zeroes.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance, which consists of a sequence of digits ranging from 0 to 9, without a sign or leading zeros.
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information about this instance.
The parameter is invalid.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation using the specified format.
A numeric format string.
The parameter is invalid.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current unsigned integer number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 32-bit unsigned integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 32-bit unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the span representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters that represent the number to convert. The span is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 32-bit unsigned integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the span representation of a number to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters that represent the number to convert.
When this method returns, contains the 32-bit unsigned integer value that is equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the string representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 32-bit unsigned integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the string representation of a number to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string that represents the number to convert.
When this method returns, contains the 32-bit unsigned integer value that is equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number that is less than UInt32.MinValue or greater than UInt32.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Represents a 64-bit unsigned integer.
Represents the largest possible value of . This field is constant.
Represents the smallest possible value of . This field is constant.
Produces the full product of two unsigned 64-bit numbers.
The first number to multiply.
The second number to multiply.
The number containing the product of the specified numbers.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares this instance to a specified object and returns an indication of their relative values.
An object to compare, or .
is not a .
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than , or is .
Compares this instance to a specified 64-bit unsigned integer and returns an indication of their relative values.
An unsigned integer to compare.
A signed number indicating the relative values of this instance and .
Return Value Description- Less than zero This instance is less than .
- Zero This instance is equal to .
- Greater than zero This instance is greater than .
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare to this instance.
if is an instance of and equals the value of this instance; otherwise, .
Returns a value indicating whether this instance is equal to a specified value.
A value to compare to this instance.
if has the same value as this instance; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns the for value type .
The enumerated constant, .
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the span representation of a number in a specified style and culture-specific format to its 64-bit unsigned integer equivalent.
A span containing the characters that represent the number to convert. The span is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
A 64-bit unsigned integer equivalent to the number specified in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its 64-bit unsigned integer equivalent.
A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is .
An object that supplies culture-specific formatting information about .
The parameter is .
is not a value.
-or-
is not a combination of and values.
The parameter is not in a format compliant with .
The parameter represents a number less than UInt64.MinValue or greater than UInt64.MaxValue.
-or-
includes non-zero, fractional digits.
A 64-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number in a specified style to its 64-bit unsigned integer equivalent.
A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of the enumeration values that specifies the permitted format of . A typical value to specify is .
The parameter is .
is not a value.
-or-
is not a combination of and values.
The parameter is not in a format compliant with .
The parameter represents a number less than UInt64.MinValue or greater than UInt64.MaxValue.
-or-
includes non-zero, fractional digits.
A 64-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number in a specified culture-specific format to its 64-bit unsigned integer equivalent.
A string that represents the number to convert.
An object that supplies culture-specific formatting information about .
The parameter is .
The parameter is not in the correct style.
The parameter represents a number less than UInt64.MinValue or greater than UInt64.MaxValue.
A 64-bit unsigned integer equivalent to the number specified in .
Converts the string representation of a number to its 64-bit unsigned integer equivalent.
A string that represents the number to convert.
The parameter is .
The parameter is not in the correct format.
The parameter represents a number less than UInt64.MinValue or greater than UInt64.MaxValue.
A 64-bit unsigned integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
For a description of this member, see .
This parameter is ignored.
if the value of the current instance is not zero; otherwise, .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
This conversion is not supported. Attempting to use this method throws an .
This parameter is ignored.
In all cases.
This conversion is not supported. No value is returned.
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to an .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
The type to which to convert this value.
An implementation that supplies information about the format of the returned value.
The value of the current instance, converted to .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, converted to a .
For a description of this member, see .
This parameter is ignored.
The value of the current instance, unchanged.
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Compares two values to determine equality.
The value to compare with .
The value to compare with .
if is equal to ; otherwise, .
Compares two values to determine inequality.
The value to compare with .
The value to compare with .
if is not equal to ; otherwise, .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance, consisting of a sequence of digits ranging from 0 to 9, without a sign or leading zeroes.
Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance, consisting of a sequence of digits ranging from 0 to 9, without a sign or leading zeros.
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
A numeric format string.
An object that supplies culture-specific formatting information about this instance.
The parameter is invalid.
The string representation of the value of this instance as specified by and .
Converts the numeric value of this instance to its equivalent string representation using the specified format.
A numeric format string.
The parameter is invalid.
The string representation of the value of this instance as specified by .
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current unsigned long number instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format of .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its 64-bit unsigned integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the 64-bit unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the span representation of a number in a specified style and culture-specific format to its 64-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters that represent the number to convert. The span is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 64-bit unsigned integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than UInt64.MinValue or greater than UInt64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing , or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the span representation of a number to its 64-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A span containing the characters that represent the number to convert.
When this method returns, contains the 64-bit unsigned integer value that is equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than UInt64.MinValue or greater than UInt64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Tries to convert the string representation of a number in a specified style and culture-specific format to its 64-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
An object that supplies culture-specific formatting information about .
When this method returns, contains the 64-bit unsigned integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than UInt64.MinValue or greater than UInt64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
is not a value.
-or-
is not a combination of and values.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert the string representation of a number to its 64-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
A string that represents the number to convert.
When this method returns, contains the 64-bit unsigned integer value that is equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not of the correct format, or represents a number less than UInt64.MinValue or greater than UInt64.MaxValue. This parameter is passed uninitialized; any value originally supplied in will be overwritten.
if was converted successfully; otherwise, .
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
Represents an unsigned integer where the bit-width is the same as a pointer.
A read-only field that represents an unsigned integer that has been initialized to zero.
Initializes a new instance of the structure using the specified 32-bit unsigned integer.
A 32-bit unsigned integer.
Initializes a new instance of using the specified 64-bit unsigned integer.
A 64-bit unsigned integer.
In a 32-bit process, is too large to represent as an .
Initializes a new instance of using the specified pointer to an unspecified type.
A pointer to an unspecified type.
Adds an offset to an unsigned integer.
The unsigned integer to add the offset to.
The offset to add.
A new unsigned integer that reflects the addition of to .
Produces the full product of two unsigned native integers.
The integer to multiply with .
The integer to multiply with .
The lower half of the full product.
The upper half of the full product.
Clamps a value to an inclusive minimum and maximum value.
The value to clamp.
The inclusive minimum to which should clamp.
The inclusive maximum to which should clamp.
The result of clamping to the inclusive range of and .
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare, or .
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning- Less than zero This instance precedes in the sort order.
- Zero This instance occurs in the same position in the sort order as .
- Greater than zero This instance follows in the sort order.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An unsigned native integer to compare.
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning- Less than zero This instance precedes in the sort order.
- Zero This instance occurs in the same position in the sort order as .
- Greater than zero This instance follows in the sort order.
Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
The type of .
An instance of created from .
Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , saturating if falls outside the representable range of .
Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.
The value that is used to create the instance of .
The type of .
An instance of created from , truncating if falls outside the representable range of .
Computes the quotient and remainder of two values.
The value that divides.
The value that divides .
The quotient and remainder of divided-by .
Returns a value indicating whether this instance is equal to a specified object.
An object to compare with this instance or .
if is an instance of and equals the value of this instance; otherwise, .
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
if the current object is equal to the parameter; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Determines if a value represents an even integral number.
The value to be checked.
if is an even integer; otherwise, .
Determines if a value represents an odd integral number.
The value to be checked.
if is an odd integer; otherwise, .
Determines if a value is a power of two.
The value to be checked.
if is a power of two; otherwise, .
Computes the number of leading zeros in a value.
The value whose leading zeroes are to be counted.
The number of leading zeros in .
Computes the log2 of a value.
The value whose log2 is to be computed.
The log2 of .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Adds an offset to an unsigned integer.
The unsigned integer to add the offset to.
The offset to add.
A new unsigned integer that reflects the addition of to .
Determines whether two specified instances of are equal.
The first unsigned integer to compare.
The second unsigned integer to compare.
if equals ; otherwise, .
Converts the value of a 32-bit unsigned integer to an .
A 32-bit unsigned integer.
A new instance of initialized to .
Converts the value of a 64-bit unsigned integer to an .
A 64-bit unsigned integer.
In a 32-bit process, is too large to represent as an .
A new instance of initialized to .
Converts the value of the specified to a 32-bit unsigned integer.
The unsigned integer to convert.
In a 64-bit process, the value of is too large to represent as a 32-bit unsigned integer.
The contents of .
Converts the value of the specified to a 64-bit unsigned integer.
The unsigned integer to convert.
The contents of .
Converts the value of the specified to a pointer to an unspecified type.
This API is not CLS-compliant.
The unsigned integer to convert.
The contents of .
Converts the specified pointer to an unspecified type to an .
This API is not CLS-compliant.
A pointer to an unspecified type.
A new instance of initialized to .
Determines whether two specified instances of are not equal.
The first unsigned integer to compare.
The second unsigned integer to compare.
if does not equal ; otherwise, .
Subtracts an offset from an unsigned integer.
The unsigned integer to subtract the offset from.
The offset to subtract.
A new unsigned integer that reflects the subtraction of from .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
The result of parsing .
Parses a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the read-only span of characters representation of a number in optionally specified style and optionally specified culture-specific format to its unsigned native integer equivalent.
A read-only span of characters containing a number to convert.
An optional bitwise combination of the enumeration values that indicates the style elements that can be present in . The default value is .
An optional object that supplies culture-specific formatting information about . The default value is .
is not a value or is not a combination of and values.
is not in the correct format.
represents a number less than or greater than .
An unsigned native integer equivalent to the number contained in .
Parses a span of characters into a value.
The span of characters to parse.
An object that provides culture-specific formatting information about .
The result of parsing .
Converts the string representation of a number in a specified style and culture-specific format to its unsigned native integer equivalent.
A string containing a number to convert.
A bitwise combination of the enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
is .
is not a value or is not a combination of and values.
is not in the correct format.
represents a number less than or greater than .
An unsigned native integer equivalent to the number contained in .
Converts the string representation of a number in a specified style to its unsigned native integer equivalent.
A string containing a number to convert.
A bitwise combination of the enumeration values that indicates the style elements that can be present in .
is .
is not a value or is not a combination of and values.
is not in the correct format.
represents a number less than or greater than .
An unsigned native integer equivalent to the number contained in .
Converts the string representation of a number in a specified culture-specific format to its unsigned native integer equivalent.
A string containing a number to convert.
An object that supplies culture-specific formatting information about .
is .
is not in the correct format.
represents a number less than or greater than .
An unsigned native integer equivalent to the number contained in .
Converts the string representation of a number to its unsigned native integer equivalent.
A string containing a number to convert.
is .
is not in the correct format.
represents a number less than or greater than .
An unsigned native integer equivalent to the number contained in .
Computes the number of bits that are set in a value.
The value whose set bits are to be counted.
The number of set bits in .
Rotates a value left by a given amount.
The value that is rotated left by .
The amount by which is rotated left.
The result of rotating left by .
Rotates a value right by a given amount.
The value that is rotated right by .
The amount by which is rotated right.
The result of rotating right by .
Computes the sign of a value.
The value whose sign is to be computed.
A positive value if is positive, if is zero, and a negative value if is negative.
Subtracts an offset from an unsigned integer.
The unsigned integer to subtract the offset from.
The offset to subtract.
A new unsigned integer that reflects the subtraction of from .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Adds two values together to compute their sum.
The value to which is added.
The value that's added to .
The sum of and .
Gets the number of bytes that will be written as part of .
The number of bytes that will be written as part of .
Gets the length, in bits, of the shortest two's complement representation of the current value.
The length, in bits, of the shortest two's complement representation of the current value.
Tries to write the current value, in big-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Tries to write the current value, in little-endian format, to a given span.
The span to which the current value should be written.
When this method returns, contains the number of bytes written to .
if the value was succesfully written to ; otherwise, .
Computes the bitwise-and of two values.
The value to with .
The value to with .
The bitwise-and of and .
Computes the bitwise-or of two values.
The value to with .
The value to with .
The bitwise-or of and .
Computes the exclusive-or of two values.
The value to xor with .
The value to xor with .
The exclusive-or of and .
Computes the ones-complement representation of a given value.
The value for which to compute the ones-complement.
The ones-complement of .
Compares two values to determine which is greater.
The value to compare with .
The value to compare with .
if is greater than ; otherwise, .
Compares two values to determine which is greater or equal.
The value to compare with .
The value to compare with .
if is greater than or equal to ; otherwise, .
Compares two values to determine which is less.
The value to compare with .
The value to compare with .
if is less than ; otherwise, .
Compares two values to determine which is less or equal.
The value to compare with .
The value to compare with .
if is less than or equal to ; otherwise, .
Decrements a value.
The value to decrement.
The result of decrementing .
Decrements a value.
The value to decrement.
The result of decrementing .
Divides one value by another to compute their quotient.
The value that divides.
The value that divides .
The quotient of divided by .
Increments a value.
The value to increment.
The result of incrementing .
Increments a value.
The value to increment.
The result of incrementing .
Divides two values together to compute their modulus or remainder.
The value that divides.
The value that divides .
The modulus or remainder of divided by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Multiplies two values together to compute their product.
The value that multiplies.
The value that multiplies .
The product of multiplied by .
Copies the sign of a value to the sign of another value.
The value whose magnitude is used in the result.
The value whose sign is used in the result.
A value with the magnitude of and the sign of .
Compares two values to compute which is greater and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes the absolute of a value.
The value for which to get its absolute.
The absolute of .
Determines if a value is in its canonical representation.
The value to be checked.
if is in its canonical representation; otherwise, .
Determines if a value represents a complex number.
The value to be checked.
if is a complex number; otherwise, .
Determines if a value is finite.
The value to be checked.
if is finite; otherwise, .
Determines if a value represents a pure imaginary number.
The value to be checked.
if is a pure imaginary number; otherwise, .
Determines if a value is infinite.
The value to be checked.
if is infinite; otherwise, .
Determines if a value represents an integral number.
The value to be checked.
if is an integer; otherwise, .
Determines if a value is NaN.
The value to be checked.
if is NaN; otherwise, .
Determines if a value is negative.
The value to be checked.
if is negative; otherwise, .
Determines if a value is negative infinity.
The value to be checked.
if is negative infinity; otherwise, .
Determines if a value is normal.
The value to be checked.
if is normal; otherwise, .
Determines if a value is positive.
The value to be checked.
if is positive; otherwise, .
Determines if a value is positive infinity.
The value to be checked.
if is positive infinity; otherwise, .
Determines if a value represents a real number.
The value to be checked.
if is a real number; otherwise, .
Determines if a value is subnormal.
The value to be checked.
if is subnormal; otherwise, .
Determines if a value is zero.
The value to be checked.
if is zero; otherwise, .
Compares two values to compute which is greater.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is greater than ; otherwise, .
Compares two values to compute which is lesser.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.
The value to compare with .
The value to compare with .
if it is less than ; otherwise, .
Computes an estimate of ( * ) + .
The value to be multiplied with .
The value to be multiplied with .
The value to be added to the result of multiplied by .
An estimate of ( * ) + .
Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
The value that's used to create the instance of .
When this method returns, contains an instance of converted from .
The type to which should be converted.
if is not supported; otherwise, .
Shifts a value left by a given amount.
The value that is shifted left by .
The amount by which is shifted left.
The result of shifting left by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Shifts a value right by a given amount.
The value that is shifted right by .
The amount by which is shifted right.
The result of shifting right by .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Subtracts two values to compute their difference.
The value from which is subtracted.
The value that's subtracted from .
The value of subtracted from .
Computes the checked unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary negation of a value.
The value for which to compute the unary negation.
The unary negation of .
Computes the unary plus of a value.
The value for which to compute the unary plus.
The unary plus of .
Populates a object with the data needed to serialize the current object.
The object to populate with data.
The destination for this serialization. (This parameter is not used; specify .)
is .
Converts the value of this instance to a pointer to an unspecified type.
A pointer to ; that is, a pointer to memory containing data of an unspecified type.
Converts the numeric value of this instance to its equivalent string representation.
The string representation of the value of this instance.
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
An object that supplies culture-specific formatting information.
The string representation of the value of this instance as specified by .
Formats the value of the current instance using the specified format.
The format to use.
-or-
A reference ( in Visual Basic) to use the default format defined for the type of the implementation.
An object that supplies culture-specific formatting information.
is invalid or not supported.
The value of the current instance in the specified format.
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
A standard or custom numeric format string.
is invalid or not supported.
The string representation of the value of this instance as specified by .
Converts the value of this instance to a 32-bit unsigned integer.
In a 64-bit process, the value of this instance is too large to represent as a 32-bit unsigned integer.
A 32-bit unsigned integer equal to the value of this instance.
Converts the value of this instance to a 64-bit unsigned integer.
A 64-bit unsigned integer equal to the value of this instance.
Computes the number of trailing zeros in a value.
The value whose trailing zeroes are to be counted.
The number of trailing zeros in .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
A bitwise combination of number styles that can be present in .
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to parse a span of UTF-8 characters into a value.
The span of UTF-8 characters to parse.
An object that provides culture-specific formatting information about .
On return, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Tries to convert a UTF-8 character span containing the string representation of a number to its unsigned integer equivalent.
A span containing the UTF-8 characters representing the number to convert.
When this method returns, contains the unsigned integer value equivalent to the number contained in if the conversion succeeded, or zero if the conversion failed. This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the read-only span of characters representation of a number in a specified style and culture-specific format to its unsigned native integer equivalent. A return value indicates whether the conversion succeeded.
A read-only span of characters containing a number to convert. The span is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
When this method returns, contains the unsigned native integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
A read-only span of characters containing a number to convert.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was converted successfully; otherwise, .
Converts the read-only span of characters representation of a number to its unsigned native integer equivalent. A return value indicates whether the conversion succeeded.
A read-only span of characters containing a number to convert.
When this method returns, contains the unsigned native integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Converts the string representation of a number in a specified style and culture-specific format to its unsigned native integer equivalent. A return value indicates whether the conversion succeeded.
A string containing a number to convert. The string is interpreted using the style specified by .
A bitwise combination of enumeration values that indicates the style elements that can be present in .
An object that supplies culture-specific formatting information about .
When this method returns, contains the unsigned native integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Tries to parse a string into a value.
The string to parse.
An object that provides culture-specific formatting information about .
When this method returns, contains the result of successfully parsing or an undefined value on failure.
if was successfully parsed; otherwise, .
Converts the string representation of a number to its unsigned native integer equivalent. A return value indicates whether the conversion succeeded.
A string containing a number to convert.
When this method returns, contains the unsigned native integer value equivalent of the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or empty, is not of the correct format, or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in result will be overwritten.
if was converted successfully; otherwise, .
Represents the largest possible value of .
The largest possible value of .
Represents the smallest possible value of .
The smallest possible value of .
Gets the size of this instance.
The size of an unsigned integer in the executing process, measured in bytes. The value of this property is 4 in a 32-bit process, and 8 in a 64-bit process. You can define the process type by setting the switch when you compile your code with the C# and Visual Basic compilers.
Gets the additive identity of the current type.
Gets an instance of the binary type in which all bits are set.
Gets the maximum value of the current type.
Gets the minimum value of the current type.
Gets the multiplicative identity of the current type.
Gets the value 1 for the type.
Gets the radix, or base, for the type.
Gets the value 0 for the type.
The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error.
Initializes a new instance of the class.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not a null reference ( in Visual Basic), the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Provides data for the event that is raised when there is an exception that is not handled in any application domain.
Initializes a new instance of the class with the exception object and a common language runtime termination flag.
The exception that is not handled.
if the runtime is terminating; otherwise, .
Gets the unhandled exception object.
The unhandled exception object.
Gets a value that indicates whether the common language runtime is terminating.
if the runtime is terminating; otherwise, .
Represents the method that will handle the event raised by an exception that is not handled by the application domain.
The source of the unhandled exception event.
An UnhandledExceptionEventArgs that contains the event data.
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI.
Specifies the characters that separate the communication protocol scheme from the address portion of the URI. This field is read-only.
Specifies that the URI is a pointer to a file. This field is read-only.
Specifies that the URI is accessed through the File Transfer Protocol (FTP). This field is read-only.
Specifies that the URI is accessed through the File Transfer Protocol Secure (FTPS). This field is read-only.
Specifies that the URI is accessed through the Gopher protocol. This field is read-only.
Specifies that the URI is accessed through the Hypertext Transfer Protocol (HTTP). This field is read-only.
Specifies that the URI is accessed through the Secure Hypertext Transfer Protocol (HTTPS). This field is read-only.
Specifies that the URI is an email address and is accessed through the Simple Mail Transport Protocol (SMTP). This field is read-only.
Specifies that the URI is accessed through the NetPipe scheme used by Windows Communication Foundation (WCF). This field is read-only.
Specifies that the URI is accessed through the NetTcp scheme used by Windows Communication Foundation (WCF). This field is read-only.
Specifies that the URI is an Internet news group and is accessed through the Network News Transport Protocol (NNTP). This field is read-only.
Specifies that the URI is an Internet news group and is accessed through the Network News Transport Protocol (NNTP). This field is read-only.
Specifies that the URI is accessed through the SSH File Transfer Protocol (SFTP). This field is read-only.
Specifies that the URI is accessed through the Secure Socket Shell protocol (SSH). This field is read-only.
Specifies that the URI is accessed through the Telnet protocol. This field is read-only.
Specifies that the URI is accessed through the WebSocket protocol (WS). This field is read-only.
Specifies that the URI is accessed through the WebSocket Secure protocol (WSS). This field is read-only.
Initializes a new instance of the class from the specified instances of the and classes.
The information required to serialize the new instance.
The source of the serialized stream associated with the new instance.
The parameter contains a URI.
The parameter contains a URI that is empty.
-or-
The scheme specified is not correctly formed. See .
-or-
The URI contains too many slashes.
-or-
The password, host name, file name, or user name specified in the URI is not valid.
-or-
The host or authority name specified in the URI is terminated by backslashes.
-or-
The port number specified in the URI is not valid or can't be parsed.
-or-
The length of URI exceeds 65519 characters (.NET 9 and earlier versions only).
-or-
The length of the scheme specified in the URI exceeds 1023 characters.
-or-
There is an invalid character sequence in the URI.
-or-
The MS-DOS path specified in the URI doesn't start with c:\\.
Initializes a new instance of the class with the specified URI, with explicit control of character escaping.
A string that identifies the resource to be represented by the instance. Note that an IPv6 address in string form must be enclosed within brackets. For example, "http://[2607:f8b0:400d:c06::69]".
if is completely escaped; otherwise, .
is .
is empty or contains only spaces.
-or-
The scheme specified in is not valid.
-or-
contains too many slashes.
-or-
The password, host name, file name, or user name specified in is not valid.
-or-
The host or authority name specified in is terminated by backslashes.
-or-
The port number specified in is not valid or can't be parsed.
-or-
The length of exceeds 65519 characters (.NET 9 and earlier versions only).
-or-
The length of the scheme specified in exceeds 1023 characters.
-or-
There is an invalid character sequence in .
-or-
The MS-DOS path specified in doesn't start with c:\\.
Initializes a new instance of the class with the specified URI and additional .
A string that identifies the resource to be represented by the instance.
Options that control how the is created and behaves.
Initializes a new instance of the class with the specified URI. This constructor allows you to specify if the URI string is a relative URI, absolute URI, or is indeterminate.
A string that identifies the resource to be represented by the instance.
Specifies whether the URI string is a relative URI, absolute URI, or is indeterminate.
is invalid.
is .
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
contains a relative URI and is .
or
contains an absolute URI and is .
or
is empty.
-or-
The scheme specified in is not correctly formed. See .
-or-
contains too many slashes.
-or-
The password, host name, file name, or user name specified in is not valid.
-or-
The host or authority name specified in is terminated by backslashes.
-or-
The port number specified in is not valid or cannot be parsed.
-or-
The length of exceeds 65519 characters (.NET 9 and earlier versions only).
-or-
The length of the scheme specified in exceeds 1023 characters.
-or-
There is an invalid character sequence in .
-or-
The MS-DOS path specified in doesn't start with c:\\.
Initializes a new instance of the class with the specified URI.
A string that identifies the resource to be represented by the instance.
is .
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
is empty.
-or-
The scheme specified in is not correctly formed. See .
-or-
contains too many slashes.
-or-
The password, host name, file name, or user name specified in is not valid.
-or-
The host or authority name specified in is terminated by backslashes.
-or-
The port number specified in is not valid or can't be parsed.
-or-
The length of exceeds 65519 characters (.NET 9 and earlier versions only).
-or-
The length of the scheme specified in exceeds 1023 characters.
-or-
There's an invalid character sequence in .
-or-
The MS-DOS path specified in doesn't start with c:\\.
Initializes a new instance of the class based on the specified base and relative URIs, with explicit control of character escaping.
The base URI.
The relative URI to add to the base URI.
if and are completely escaped; otherwise, .
is .
is not an absolute instance.
The URI formed by combining and is empty or contains only spaces.
-or-
The scheme specified in the URI formed by combining and is not valid.
-or-
The URI formed by combining and contains too many slashes.
-or-
The password, host name, file name, or user name specified in the URI formed by combining and is not valid.
-or-
The host or authority name specified in the URI formed by combining and is terminated by backslashes.
-or-
The port number specified in the URI formed by combining and is not valid or cannot be parsed.
-or-
The length of the URI formed by combining and exceeds 65519 characters (.NET 9 and earlier versions only).
-or-
The length of the scheme specified in the URI formed by combining and exceeds 1023 characters.
-or-
There is an invalid character sequence in the URI formed by combining and .
-or-
The MS-DOS path specified in doesn't start with c:\\.
Initializes a new instance of the class based on the specified base URI and relative URI string.
The base URI.
The relative URI to add to the base URI.
is .
is not an absolute instance.
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The URI formed by combining and is empty or contains only spaces.
-or-
The scheme specified in the URI formed by combining and is not valid.
-or-
The URI formed by combining and contains too many slashes.
-or-
The password, host name, file name, or user name specified in the URI formed by combining and is not valid.
-or-
The host or authority name specified in the URI formed by combining and is terminated by backslashes.
-or-
The port number specified in the URI formed by combining and is not valid or cannot be parsed.
-or-
The length of the URI formed by combining and exceeds 65519 characters (.NET 9 and earlier versions only).
-or-
The length of the scheme specified in the URI formed by combining and exceeds 1023 characters.
-or-
There is an invalid character sequence in the URI formed by combining and .
-or-
The MS-DOS path specified in doesn't start with c:\\.
Initializes a new instance of the class based on the combination of a specified base instance and a relative instance.
An absolute that is the base for the new instance.
A relative instance that is combined with .
is not an absolute instance.
is .
is not an absolute instance.
Note: In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The URI formed by combining and is empty or contains only spaces.
-or-
The scheme specified in the URI formed by combining and is not valid.
-or-
The URI formed by combining and contains too many slashes.
-or-
The password, host name, file name, or user name specified in the URI formed by combining and is not valid.
-or-
The host or authority name specified in the URI formed by combining and is terminated by backslashes.
-or-
The port number specified in the URI formed by combining and is not valid or cannot be parsed.
-or-
The length of the URI formed by combining and exceeds 65519 characters (.NET 9 and earlier versions only).
-or-
The length of the scheme specified in the URI formed by combining and exceeds 1023 characters.
-or-
There is an invalid character sequence in the URI formed by combining and .
-or-
The MS-DOS path specified in doesn't start with c:\\.
Converts the internally stored URI to canonical form.
This instance represents a relative URI, and this method is valid only for absolute URIs.
The URI is incorrectly formed.
Determines whether the specified host name is a valid DNS name.
The host name to validate. This can be an IPv4 or IPv6 address or an Internet host name.
The type of the host name. If the type of the host name cannot be determined or if the host name is or a zero-length string, this method returns .
Determines whether the specified scheme name is valid.
The scheme name to validate.
if the scheme name is valid; otherwise, .
Calling this method has no effect.
Compares the specified parts of two URIs using the specified comparison rules.
The first URI.
The second URI.
A bitwise combination of the values that specifies the parts of and to compare.
One of the enumeration values that specifies the character escaping used when the URI components are compared.
One of the enumeration values that specifies the culture, case, and sort rules for the comparison.
is not a valid value.
A value that indicates the lexical relationship between the compared components.
Value Meaning- Less than zero is less than .
- Zero equals .
- Greater than zero is greater than .
Compares two instances for equality.
The URI or a URI identifier to compare with the current instance.
if the two instances represent the same URI; otherwise, .
Compares two instances for equality.
The to compare to this instance.
if the two instances represent the same URI; otherwise, .
Converts any unsafe or reserved characters in the path component to their hexadecimal character representations.
The URI passed from the constructor is invalid. This exception can occur if a URI has too many characters or the URI is relative.
Converts a span to its escaped representation.
The span to escape.
The escaped representation of .
Converts a string to its escaped representation.
The string to escape.
is .
.NET Framework only: The length of exceeds 32766 characters.
The escaped representation of .
Converts a string to its escaped representation.
The string to transform to its escaped representation.
The escaped representation of the string.
Converts a URI string to its escaped representation.
The string to escape.
is .
.NET Framework only: The length of exceeds 32766 characters.
The escaped representation of .
Gets the decimal value of a hexadecimal digit.
The hexadecimal digit (0-9, a-f, A-F) to convert.
is not a valid hexadecimal digit (0-9, a-f, A-F).
A number from 0 to 15 that corresponds to the specified hexadecimal digit.
Gets the specified components of the current instance using the specified escaping for special characters.
A bitwise combination of the values that specifies which parts of the current instance to return to the caller.
One of the enumeration values that controls how special characters are escaped.
is not a combination of valid values.
The current is not an absolute URI. Relative URIs cannot be used with this method.
The components of the current instance.
Gets the hash code for the URI.
The hash value generated for this URI.
Gets the specified portion of a instance.
One of the enumeration values that specifies the end of the URI portion to return.
The current instance is not an absolute instance.
The specified is not valid.
The specified portion of the instance.
Returns the data needed to serialize the current instance.
The information required to serialize the .
An object that contains the source and destination of the serialized stream associated with the .
Converts a specified character into its hexadecimal equivalent.
The character to convert to hexadecimal representation.
is greater than 255.
The hexadecimal representation of the specified character.
Converts a specified hexadecimal representation of a character to the character.
The hexadecimal representation of a character.
The location in where the hexadecimal representation of a character begins.
is less than 0 or greater than or equal to the number of characters in .
The character represented by the hexadecimal encoding at position . If the character at is not hexadecimal encoded, the character at is returned. The value of is incremented to point to the character following the one returned.
Indicates whether a character is invalid in a file system name.
The to test.
if the specified character is invalid; otherwise, .
Determines whether the current instance is a base of the specified instance.
The specified URI to test.
is .
if the current instance is a base of ; otherwise, .
Determines whether the specified character should be escaped.
The character to test.
if the specified character should be escaped; otherwise, .
Determines whether a specified character is a valid hexadecimal digit.
The character to validate.
if the character is a valid hexadecimal digit; otherwise, .
Determines whether a character in a string is hexadecimal encoded.
The string to check.
The location in to check for hexadecimal encoding.
if is hexadecimal encoded at the specified location; otherwise, .
Determines whether the specified character is a reserved character.
The character to test.
if the specified character is a reserved character otherwise, .
Indicates whether the string used to construct this was well-formed and does not require further escaping.
if the string was well-formed; otherwise, .
Indicates whether the string is well-formed by attempting to construct a URI with the string and ensures that the string does not require further escaping.
The string used to attempt to construct a .
The type of the in .
if the string was well-formed; otherwise, .
Determines the difference between two instances.
The URI to compare to the current URI.
is .
This instance represents a relative URI, and this method is valid only for absolute URIs.
If the hostname and scheme of this URI instance and are the same, then this method returns a that represents a relative URI that, when appended to the current URI instance, yields the parameter.
If the hostname or scheme is different, then this method returns a that represents the parameter.
Determines the difference between two instances.
The URI to compare to the current URI.
is .
This instance represents a relative URI, and this property is valid only for absolute URIs.
If the hostname and scheme of this URI instance and are the same, then this method returns a relative that, when appended to the current URI instance, yields .
If the hostname or scheme is different, then this method returns a that represents the parameter.
Determines whether two instances have the same value.
A URI to compare with .
A URI to compare with .
if the instances are equivalent; otherwise, .
Determines whether two instances do not have the same value.
A URI to compare with .
A URI to compare with .
if the two instances are not equal; otherwise, . If either parameter is , this method returns .
Parses the URI of the current instance to ensure it contains all the parts required for a valid URI.
The Uri passed from the constructor is invalid.
Formats the value of the current instance using the specified format.
The format to use.
-or-
A reference ( in Visual Basic) to use the default format defined for the type of the implementation.
The provider to use to format the value.
-or-
A reference ( in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
The value of the current instance in the specified format.
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Returns the data needed to serialize the current instance.
The information required to serialize the .
An object containing the source and destination of the serialized stream associated with the .
Gets a canonical string representation for the specified instance.
The unescaped canonical representation of the instance. All characters are unescaped except #, ?, and %.
Creates a new using the specified instance and .
The string representation of the .
Options that control how the is created and behaves.
When this method returns, contains the constructed .
if the was successfully created; otherwise, .
Creates a new using the specified instance and a .
The string representation of the .
The type of the Uri.
When this method returns, contains the constructed .
if the was successfully created; otherwise, .
Creates a new using the specified base and relative instances.
The base URI.
The string representation of the relative URI to add to the base .
When this method returns, contains a constructed from and . This parameter is passed uninitialized.
if the was successfully created; otherwise, .
Creates a new using the specified base and relative instances.
The base URI.
The relative URI to add to the base .
When this method returns, contains a constructed from and . This parameter is passed uninitialized.
is .
if the was successfully created; otherwise, .
Attempts to convert a span to its escaped representation.
The span to escape.
The output span that contains the escaped result of the operation.
When this method returns, contains the number of chars that were written into .
if the was large enough to hold the entire result; otherwise, .
Attempts to format a canonical string representation for the instance into the specified span.
The span into which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
if the formatting was successful; otherwise, .
Attempts to convert a span to its unescaped representation.
The span to unescape.
The output span that contains the unescaped result of the operation.
When this method returns, contains the number of chars that were written into .
if the was large enough to hold the entire result; otherwise, .
Converts the specified string by replacing any escape sequences with their unescaped representation.
The string to convert.
The unescaped value of the parameter.
Converts a span to its unescaped representation.
The span to unescape.
The unescaped representation of .
Converts a string to its unescaped representation.
The string to unescape.
is .
The unescaped representation of .
Gets the absolute path of the URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The absolute path to the resource.
Gets the absolute URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The entire URI.
Gets the Domain Name System (DNS) host name or IP address and the port number for a server.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The authority component of the URI represented by this instance.
Gets a host name that, after being unescaped if necessary, is safe to use for DNS resolution.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The host part of the URI in a format suitable for DNS resolution; or the original host string, if it is already suitable for resolution.
Gets the escaped URI fragment, including the leading '#' character if not empty.
This instance represents a relative URI, and this property is valid only for absolute URIs.
URI fragment information.
Gets the host component of this instance.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The host name. This is usually the DNS host name or IP address of the server.
Gets the type of the host name specified in the URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
A member of the enumeration.
Gets the RFC 3490 compliant International Domain Name of the host, using Punycode as appropriate. This string, after being unescaped if necessary, is safe to use for DNS resolution.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The hostname, formatted with Punycode according to the IDN standard.
Gets a value that indicates whether the instance is absolute.
if the instance is absolute; otherwise, .
Gets a value that indicates whether the port value of the URI is the default for this scheme.
This instance represents a relative URI, and this property is valid only for absolute URIs.
if the value in the property is the default port for this scheme; otherwise, .
Gets a value that indicates whether the specified is a file URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
if the is a file URI; otherwise, .
Gets a value that indicates whether the specified references the local host.
This instance represents a relative URI, and this property is valid only for absolute URIs.
if this references the local host; otherwise, .
Gets a value that indicates whether the specified is a universal naming convention (UNC) path.
This instance represents a relative URI, and this property is valid only for absolute URIs.
if the is a UNC path; otherwise, .
Gets a local operating-system representation of a file name.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The local operating-system representation of a file name.
Gets the original URI string that was passed to the constructor.
The exact URI specified when this instance was constructed; otherwise, .
Gets the and properties separated by a question mark (?).
This instance represents a relative URI, and this property is valid only for absolute URIs.
The and properties separated by a question mark (?).
Gets the port number of this URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The port number for this URI.
Gets any query information included in the specified URI, including the leading '?' character if not empty.
This instance represents a relative URI, and this property is valid only for absolute URIs.
Any query information included in the specified URI.
Gets the scheme name for this URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The scheme for this URI, converted to lowercase.
Gets an array containing the path segments that make up the specified URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The path segments that make up the specified URI.
Gets a value that indicates whether the URI string was completely escaped before the instance was created.
if the dontEscape parameter was set to when the instance was created; otherwise, .
Gets the user name, password, or other user-specific information associated with the specified URI.
This instance represents a relative URI, and this property is valid only for absolute URIs.
The user information associated with the URI. The returned value does not include the '@' character reserved for delimiting the user information part of the URI.
Provides a custom constructor for uniform resource identifiers (URIs) and modifies URIs for the class.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified scheme, host, port number, path, and query string or fragment identifier.
An Internet access protocol.
A DNS-style domain name or IP address.
An IP port number for the service.
The path to the Internet resource.
A query string or fragment identifier.
is neither nor , nor does a valid fragment identifier begin with a number sign (#), nor a valid query string begin with a question mark (?).
is less than -1 or greater than 65,535.
Initializes a new instance of the class with the specified scheme, host, port number, and path.
An Internet access protocol.
A DNS-style domain name or IP address.
An IP port number for the service.
The path to the Internet resource.
is less than -1 or greater than 65,535.
Initializes a new instance of the class with the specified scheme, host, and port.
An Internet access protocol.
A DNS-style domain name or IP address.
An IP port number for the service.
is less than -1 or greater than 65,535.
Initializes a new instance of the class with the specified scheme and host.
An Internet access protocol.
A DNS-style domain name or IP address.
Initializes a new instance of the class with the specified URI.
A URI string.
is .
is a zero-length string or contains only spaces.
-or-
The parsing routine detected a scheme in an invalid form.
-or-
The parser detected more than two consecutive slashes in a URI that does not use the "file" scheme.
-or-
is not a valid URI.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
Initializes a new instance of the class with the specified instance.
An instance of the class.
is .
Compares an existing instance with the contents of the for equality.
The object to compare with the current instance.
if represents the same as the constructed by this instance; otherwise, .
Returns the hash code for the URI.
The hash code generated for the URI.
Returns the display string for the specified instance.
The instance has a bad password.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The string that contains the unescaped display string of the .
Gets or sets the fragment portion of the URI, including the leading '#' character if not empty.
The fragment portion of the URI.
Gets or sets the Domain Name System (DNS) host name or IP address of a server.
The DNS host name or IP address of the server.
Gets or sets the password associated with the user that accesses the URI.
The password of the user that accesses the URI.
Gets or sets the path to the resource referenced by the URI.
The path to the resource referenced by the URI.
Gets or sets the port number of the URI.
The port cannot be set to a value less than -1 or greater than 65,535.
The port number of the URI.
Gets or sets any query information included in the URI, including the leading '?' character if not empty.
The query information included in the URI.
Gets or sets the scheme name of the URI.
The scheme cannot be set to an invalid scheme name.
The scheme of the URI.
Gets the instance constructed by the specified instance.
The URI constructed by the properties is invalid.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
The URI constructed by the .
Gets or sets the user name associated with the user that accesses the URI.
The name of the user that accesses the URI.
Specifies the parts of a .
The , , , , , , and data.
The data.
The data.
The and data. If no port data is in the Uri and a default port has been assigned to the , the default port is returned. If there is no default port, -1 is returned.
The , , , , and data.
Specifies that the delimiter should be included.
The normalized form of the .
The data.
The and data. Also see .
The data.
The data.
The data.
The , , and data.
The complete context that is needed for Uri Serializers. The context includes the IPv6 scope.
The , , and data. If no port data is in the and a default port has been assigned to the , the default port is returned. If there is no default port, -1 is returned.
The data. If no port data is in the and a default port has been assigned to the , the default port is returned. If there is no default port, -1 is returned.
The data.
Provides options that control how a is created and behaves.
Gets or sets a value that indicates whether the path and query are validated and normalized.
to disable path and query validation; to enable it.
Controls how URI information is escaped.
Characters that have a reserved meaning in the requested URI components remain escaped. All others are not escaped.
No escaping is performed.
Escaping is performed according to the rules in RFC 2396.
The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected.
Initializes a new instance of the class.
Initializes a new instance of the class from the specified and instances.
A that contains the information that is required to serialize the new .
A that contains the source of the serialized stream that is associated with the new .
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the innerException parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with the specified message.
The error message string.
Populates a instance with the data that is needed to serialize the .
A that will hold the serialized data for the .
A that contains the destination of the serialized stream that is associated with the new .
Defines host name types for the method.
The host is set, but the type cannot be determined.
The host name is a domain name system (DNS) style host name.
The host name is an Internet Protocol (IP) version 4 host address.
The host name is an Internet Protocol (IP) version 6 host address.
The type of the host name is not supplied.
Defines the different kinds of URIs.
The URI is absolute.
The URI is relative.
The URI kind is indeterminate.
Parses a new URI scheme. This is an abstract class.
Constructs a default URI parser.
Gets the components from a URI.
The URI to parse.
The to retrieve from .
One of the values that controls how special characters are escaped.
is invalid.
-or-
is not a combination of valid values.
requires user-driven parsing
-or-
is not an absolute URI. Relative URIs cannot be used with this method.
A string that contains the components.
Initialize the state of the parser and validate the URI.
The to validate.
When this method returns, contains the validation errors, if any.
Determines whether is a base URI for .
The base URI.
The URI to test.
if is a base URI for ; otherwise, .
Indicates whether the parser for a scheme is registered.
The scheme name to check.
The parameter is null.
The parameter is not valid.
if has been registered; otherwise, .
Indicates whether a URI is well-formed.
The URI to check.
if is well-formed; otherwise, .
Invoked by a constructor to get a instance.
A for the constructed .
Invoked by the Framework when a method is registered.
The scheme that is associated with this .
The port number of the scheme.
Associates a scheme and port number with a .
The URI parser to register.
The name of the scheme that is associated with this parser.
The default port number for the specified scheme.
parameter is null
-or-
parameter is null.
parameter is not valid
-or-
parameter is not valid. The parameter is less than -1 or greater than 65,534.
Called by constructors and to resolve a relative URI.
A base URI.
A relative URI.
When this method returns, contains the errors that occurred during the resolve process, if any.
parameter is not an absolute
-or-
parameter requires user-driven parsing.
The string of the resolved relative .
Defines the parts of a URI for the method.
The scheme and authority segments of the URI.
The scheme, authority, and path segments of the URI.
The scheme, authority, path, and query segments of the URI.
The scheme segment of the URI.
Provides static methods for creating value tuples.
Compares the current instance to a specified instance.
The object to compare with the current instance.
is not a instance.
This method always returns 0.
Creates a new value tuple with zero components.
A new value tuple with no components.
Creates a new value tuple with 1 component (a singleton).
The value of the value tuple's only component.
The type of the value tuple's only component.
A value tuple with 1 component.
Creates a new value tuple with 2 components (a pair).
The value of the value tuple's first component.
The value of the value tuple's second component.
The type of the value tuple's first component.
The type of the value tuple's second component.
A value tuple with 2 components.
Creates a new value tuple with 3 components (a triple).
The value of the value tuple's first component.
The value of the value tuple's second component.
The value of the value tuple's third component.
The type of the value tuple's first component.
The type of the value tuple's second component.
The type of the value tuple's third component.
A value tuple with 3 components.
Creates a new value tuple with 4 components (a quadruple).
The value of the value tuple's first component.
The value of the value tuple's second component.
The value of the value tuple's third component.
The value of the value tuple's fourth component.
The type of the value tuple's first component.
The type of the value tuple's second component.
The type of the value tuple's third component.
The type of the value tuple's fourth component.
A value tuple with 4 components.
Creates a new value tuple with 5 components (a quintuple).
The value of the value tuple's first component.
The value of the value tuple's second component.
The value of the value tuple's third component.
The value of the value tuple's fourth component.
The value of the value tuple's fifth component.
The type of the value tuple's first component.
The type of the value tuple's second component.
The type of the value tuple's third component.
The type of the value tuple's fourth component.
The type of the value tuple's fifth component.
A value tuple with 5 components.
Creates a new value tuple with 6 components (a sexuple).
The value of the value tuple's first component.
The value of the value tuple's second component.
The value of the value tuple's third component.
The value of the value tuple's fourth component.
The value of the value tuple's fifth component.
The value of the value tuple's sixth component.
The type of the value tuple's first component.
The type of the value tuple's second component.
The type of the value tuple's third component.
The type of the value tuple's fourth component.
The type of the value tuple's fifth component.
The type of the value tuple's sixth component.
A value tuple with 6 components.
Creates a new value tuple with 7 components (a septuple).
The value of the value tuple's first component.
The value of the value tuple's second component.
The value of the value tuple's third component.
The value of the value tuple's fourth component.
The value of the value tuple's fifth component.
The value of the value tuple's sixth component.
The value of the value tuple's seventh component.
The type of the value tuple's first component.
The type of the value tuple's second component.
The type of the value tuple's third component.
The type of the value tuple's fourth component.
The type of the value tuple's fifth component.
The type of the value tuple's sixth component.
The type of the value tuple's seventh component.
A value tuple with 7 components.
Creates a new value tuple with 8 components (an octuple).
The value of the value tuple's first component.
The value of the value tuple's second component.
The value of the value tuple's third component.
The value of the value tuple's fourth component.
The value of the value tuple's fifth component.
The value of the value tuple's sixth component.
The value of the value tuple's seventh component.
The value of the value tuple's eighth component.
The type of the value tuple's first component.
The type of the value tuple's second component.
The type of the value tuple's third component.
The type of the value tuple's fourth component.
The type of the value tuple's fifth component.
The type of the value tuple's sixth component.
The type of the value tuple's seventh component.
The type of the value tuple's eighth component.
A value tuple with 8 components.
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare to the current instance.
if is a instance; otherwise, .
Determines whether two instances are equal. This method always returns .
The value tuple to compare with the current instance.
This method always returns .
Returns the hash code for the current instance.
This method always return 0.
Compares the current instance to a specified object.
The object to compare with the current instance.
An object that provides custom rules for comparison. This parameter is ignored.
is not a instance.
Returns 0 if is a instance and 1 if is .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Returns the hash code for this instance.
An object whose method computes the hash code. This parameter is ignored.
The hash code for this instance.
Compares this instance with a specified object and returns an indication of their relative values.
The object to compare with the current instance.
is not a instance.
0 if is a instance; otherwise, 1 if is .
Returns the string representation of this instance.
This method always returns "()".
Returns an . There are no elements in a .
There is no acceptable value for .
There is no acceptable value for .
An .
Gets the length of this instance, which is always 0. There are no elements in a .
0, the number of elements in this instance.
Represents a value tuple with a single component.
The type of the value tuple's only element.
Gets the value of the current instance's first element.
Initializes a new instance.
The value tuple's first element.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified object; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the element.
The index of the element. must be 0.
is less than 0 or greater than 0.
The value of the element.
Gets the number of elements in the .
1, the number of elements in a object.
Represents a value tuple with 2 components.
The type of the value tuple's first element.
The type of the value tuple's second element.
Gets the value of the current instance's first element.
Gets the value of the current instance's second element.
Initializes a new instance.
The value tuple's first element.
The value tuple's second element.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified objects; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 1.
is less than 0 or greater than 1.
The value of the element at the specified position.
Gets the number of elements in the .
2, the number of elements in a object.
Represents a value tuple with 3 components.
The type of the value tuple's first element.
The type of the value tuple's second element.
The type of the value tuple's third element.
Gets the value of the current instance's first element.
Gets the value of the current instance's second element.
Gets the value of the current instance's third element.
Initializes a new instance.
The value tuple's first element.
The value tuple's second element.
The value tuple's third element.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified objects; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 2.
is less than 0 or greater than 2.
The value of the element at the specified position.
Gets the number of elements in the .
3, the number of elements in a object.
Represents a value tuple with 4 components.
The type of the value tuple's first element.
The type of the value tuple's second element.
The type of the value tuple's third element.
The type of the value tuple's fourth element.
Gets the value of the current instance's first element.
Gets the value of the current instance's second element.
Gets the value of the current instance's third element.
Gets the value of the current instance's fourth element.
Initializes a new instance.
The value tuple's first element.
The value tuple's second element.
The value tuple's third element.
The value tuple's fourth element.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified objects; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 3.
is less than 0 or greater than 3.
The value of the element at the specified position.
Gets the number of elements in the .
4, the number of elements in a object.
Represents a value tuple with 5 components.
The type of the value tuple's first element.
The type of the value tuple's second element.
The type of the value tuple's third element.
The type of the value tuple's fourth element.
The type of the value tuple's fifth element.
Gets the value of the current instance's first element.
Gets the value of the current instance's second element.
Gets the value of the current instance's third element.
Gets the value of the current instance's fourth element.
Gets the value of the current instance's fifth element.
Initializes a new instance.
The value tuple's first element.
The value tuple's second element.
The value tuple's third element.
The value tuple's fourth element.
The value tuple's fifth element.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified objects; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 4.
is less than 0 or greater than 4.
The value of the element at the specified position.
Gets the number of elements in the .
5, the number of elements in a object.
Represents a value tuple with 6 components.
The type of the value tuple's first element.
The type of the value tuple's second element.
The type of the value tuple's third element.
The type of the value tuple's fourth element.
The type of the value tuple's fifth element.
The type of the value tuple's sixth element.
Gets the value of the current instance's first element.
Gets the value of the current instance's second element.
Gets the value of the current instance's third element.
Gets the value of the current instance's fourth element.
Gets the value of the current instance's fifth element.
Gets the value of the current instance's sixth element.
Initializes a new instance.
The value tuple's first element.
The value tuple's second element.
The value tuple's third element.
The value tuple's fourth element.
The value tuple's fifth element.
The value tuple's sixth element.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified objects; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the specified element.
The index of the specified element. can range from 0 to 5.
is less than 0 or greater than 5.
The value of the element at the specified position.
Gets the number of elements in the .
6, the number of elements in a object.
Represents a value tuple with 7 components.
The type of the value tuple's first element.
The type of the value tuple's second element.
The type of the value tuple's third element.
The type of the value tuple's fourth element.
The type of the value tuple's fifth element.
The type of the value tuple's sixth element.
The type of the value tuple's seventh element.
Gets the value of the current instance's first element.
Gets the value of the current instance's second element.
Gets the value of the current instance's third element.
Gets the value of the current instance's fourth element.
Gets the value of the current instance's fifth element.
Gets the value of the current instance's sixth element.
Gets the value of the current instance's seventh element.
Initializes a new instance.
The value tuple's first element.
The value tuple's second element.
The value tuple's third element.
The value tuple's fourth element.
The value tuple's fifth element.
The value tuple's sixth element.
The value tuple's seventh element.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified objects; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the specified element.
The index of the specified element. can range from 0 (the index of ) to 6 (the index of ).
is less than 0 or greater than 6.
The value of the element at the specified position.
Gets the number of elements in the .
7, the number of elements in a object.
Represents an n-value tuple, where n is 8 or greater.
The type of the value tuple's first element.
The type of the value tuple's second element.
The type of the value tuple's third element.
The type of the value tuple's fourth element.
The type of the value tuple's fifth element.
The type of the value tuple's sixth element.
The type of the value tuple's seventh element.
Any generic value tuple instance that defines the types of the tuple's remaining elements.
Gets the value of the current instance's first element.
Gets the value of the current instance's second element.
Gets the value of the current instance's third element.
Gets the value of the current instance's fourth element.
Gets the value of the current instance's fifth element.
Gets the value of the current instance's sixth element.
Gets the value of the current instance's seventh element.
Gets the current instance's remaining elements.
Initializes a new instance.
The value tuple's first element.
The value tuple's second element.
The value tuple's third element.
The value tuple's fourth element.
The value tuple's fifth element.
The value tuple's sixth element.
The value tuple's seventh element.
An instance of any value tuple type that contains the values of the value's tuple's remaining elements.
is not a generic value tuple type.
Compares the current instance to a specified instance.
The tuple to compare with this instance.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object.
The object to compare with this instance.
if the current instance is equal to the specified object; otherwise, .
Returns a value that indicates whether the current instance is equal to a specified instance.
The value tuple to compare with this instance.
if the current instance is equal to the specified tuple; otherwise, .
Calculates the hash code for the current instance.
The hash code for the current instance.
Compares the current instance to a specified object by using a specified comparer and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
The object to compare with the current instance.
An object that provides custom rules for comparison.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method.
The object to compare with this instance.
An object that defines the method to use to evaluate whether the two objects are equal.
if the current instance is equal to the specified objects; otherwise, .
Calculates the hash code for the current instance by using a specified computation method.
An object whose method calculates the hash code of the current instance.
A 32-bit signed integer hash code.
Compares the current object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
An object to compare with the current instance.
is not a object.
A signed integer that indicates the relative position of this instance and in the sort order, as shown in the following table.
Value Description- A negative integer This instance precedes .
- Zero This instance and have the same position in the sort order.
- A positive integer This instance follows .
Returns a string that represents the value of this instance.
The string representation of this instance.
Gets the value of the specified element.
The value of the specified element. can range from 0 for to one less than the number of elements in the .
is less than 0.
-or-
is greater than or equal to .
The value of the element at the specified position.
Gets the number of elements in the .
The number of elements in the .
Provides the base class for value types.
Initializes a new instance of the class.
Indicates whether this instance and a specified object are equal.
The object to compare with the current instance.
if and this instance are the same type and represent the same value; otherwise, .
Returns the hash code for this instance.
A 32-bit signed integer that is the hash code for this instance.
Returns the fully qualified type name of this instance.
The fully qualified type name.
Represents the version number of an assembly, operating system, or the common language runtime. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified major, minor, build, and revision numbers.
The major version number.
The minor version number.
The build number.
The revision number.
, , , or is less than zero.
Initializes a new instance of the class using the specified major, minor, and build values.
The major version number.
The minor version number.
The build number.
, , or is less than zero.
Initializes a new instance of the class using the specified major and minor values.
The major version number.
The minor version number.
or is less than zero.
Initializes a new instance of the class using the specified string.
A string containing the major, minor, build, and revision numbers, where each number is delimited with a period character ('.').
has fewer than two components or more than four components.
is .
A major, minor, build, or revision component is less than zero.
At least one component of does not parse to an integer.
At least one component of represents a number greater than Int32.MaxValue.
Returns a new object whose value is the same as the current object.
A new whose values are a copy of the current object.
Compares the current object to a specified object and returns an indication of their relative values.
An object to compare, or .
is not of type .
A signed integer that indicates the relative values of the two objects, as shown in the following table.
Return value Meaning- Less than zero The current object is a version before .
- Zero The current object is the same version as .
- Greater than zero The current object is a version subsequent to , or is .
Compares the current object to a specified object and returns an indication of their relative values.
A object to compare to the current object, or .
A signed integer that indicates the relative values of the two objects, as shown in the following table.
Return value Meaning- Less than zero The current object is a version before .
- Zero The current object is the same version as .
- Greater than zero The current object is a version subsequent to , or is .
Returns a value indicating whether the current object is equal to a specified object.
An object to compare with the current object, or .
if the current object and are both objects, and every component of the current object matches the corresponding component of ; otherwise, .
Returns a value indicating whether the current object and a specified object represent the same value.
A object to compare to the current object, or .
if every component of the current object matches the corresponding component of the parameter; otherwise, .
Returns a hash code for the current object.
A 32-bit signed integer hash code.
Determines whether two specified objects are equal.
The first object.
The second object.
if equals ; otherwise, .
Determines whether the first specified object is greater than the second specified object.
The first object.
The second object.
if is greater than ; otherwise, .
Determines whether the first specified object is greater than or equal to the second specified object.
The first object.
The second object.
if is greater than or equal to ; otherwise, .
Determines whether two specified objects are not equal.
The first object.
The second object.
if does not equal ; otherwise, .
Determines whether the first specified object is less than the second specified object.
The first object.
The second object.
.NET Framework only: is .
if is less than ; otherwise, .
Determines whether the first specified object is less than or equal to the second object.
The first object.
The second object.
.NET Framework only: is .
if is less than or equal to ; otherwise, .
Converts the specified read-only span of UTF-8 characters that represents a version number to an equivalent Version object.
A read-only span of UTF-8 characters that contains a version number to convert.
has fewer than two or more than four version components.
At least one component in is less than zero.
At least one component in is not an integer.
At least one component in represents a number that is greater than .
An object that is equivalent to the version number specified in the parameter.
Converts the specified read-only span of characters that represents a version number to an equivalent object.
A read-only span of characters that contains a version number to convert.
has fewer than two or more than four version components.
At least one component in is less than zero.
At least one component in is not an integer.
At least one component in represents a number that is greater than Int32.MaxValue.
An object that is equivalent to the version number specified in the parameter.
Converts the string representation of a version number to an equivalent object.
A string that contains a version number to convert.
is .
has fewer than two or more than four version components.
At least one component in is less than zero.
At least one component in is not an integer.
At least one component in represents a number that is greater than Int32.MaxValue.
An object that is equivalent to the version number specified in the parameter.
Formats the value of the current instance using the specified format.
The format to use.
-or-
A reference ( in Visual Basic) to use the default format defined for the type of the implementation.
The provider to use to format the value.
-or-
A reference ( in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
The value of the current instance in the specified format.
Tries to format the value of the current instance into the provided span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
The span in which to write this instance's value formatted as a span of bytes.
When this method returns, contains the number of bytes that were written in .
A span containing the characters that represent a standard or custom format string that defines the acceptable format for .
An optional object that supplies culture-specific formatting information for .
if the formatting was successful; otherwise, .
Converts the value of the current object to its equivalent representation.
The representation of the values of the major, minor, build, and revision components of the current object, as depicted in the following format. Each component is separated by a period character ('.'). Square brackets ('[' and ']') indicate a component that will not appear in the return value if the component is not defined:
major.minor[.build[.revision]]
For example, if you create a object using the constructor Version(1,1), the returned string is "1.1". If you create a object using the constructor Version(1,3,4,2), the returned string is "1.3.4.2".
Converts the value of the current object to its equivalent representation. A specified count indicates the number of components to return.
The number of components to return. The ranges from 0 to 4.
is less than 0, or more than 4.
-or-
is more than the number of components defined in the current object.
The representation of the values of the major, minor, build, and revision components of the current object, each separated by a period character ('.'). The parameter determines how many components are returned.
fieldCount Return Value- 0 An empty string ("").
- 1 major
- 2 major.minor
- 3 major.minor.build
- 4 major.minor.build.revision
For example, if you create object using the constructor Version(1,3,5), ToString(2) returns "1.3" and ToString(4) throws an exception.
Tries to format this version instance into a span of bytes.
The span in which to write this instance's value formatted as a span of UTF-8 bytes.
The number of components to return. This value ranges from 0 to 4.
When this method returns, contains the number of bytes that were written in .
if the formatting was successful; otherwise, .
Tries to format this version instance into a span of bytes.
The span in which to write this instance's value formatted as a span of UTF-8 bytes.
When this method returns, contains the number of bytes that were written in .
if the formatting was successful; otherwise, .
Tries to format this version instance into a span of characters.
The span in which to write this instance's value formatted as a span of characters.
The number of components to return. This value ranges from 0 to 4.
When this method returns, contains the number of characters that were written in .
if the formatting was successful; otherwise, .
Tries to format this version instance into a span of characters.
The span in which to write this instance's value formatted as a span of characters.
When this method returns, contains the number of characters that were written in .
if the formatting was successful; otherwise, .
Tries to convert the UTF-8 representation of a version number to an equivalent Version object, and returns a value that indicates whether the conversion succeeded.
The span of UTF-8 characters to parse.
When this method returns, contains the Version equivalent of the number that is contained in , if the conversion succeeded.
If is empty, or if the conversion fails, result is when the method returns.
if the parameter was converted successfully; otherwise, .
Tries to convert the specified read-only span of characters representing a version number to an equivalent object, and returns a value that indicates whether the conversion succeeded.
A read-only span of characters that contains a version number to convert.
When this method returns, contains the equivalent of the number that is contained in , if the conversion succeeded. If is , , or if the conversion fails, is when the method returns.
if the parameter was converted successfully; otherwise, .
Tries to convert the string representation of a version number to an equivalent object, and returns a value that indicates whether the conversion succeeded.
A string that contains a version number to convert.
When this method returns, contains the equivalent of the number that is contained in , if the conversion succeeded. If is , , or if the conversion fails, is when the method returns.
if the parameter was converted successfully; otherwise, .
Gets the value of the build component of the version number for the current object.
The build number, or -1 if the build number is undefined.
Gets the value of the major component of the version number for the current object.
The major version number.
Gets the high 16 bits of the revision number.
A 16-bit signed integer.
Gets the value of the minor component of the version number for the current object.
The minor version number.
Gets the low 16 bits of the revision number.
A 16-bit signed integer.
Gets the value of the revision component of the version number for the current object.
The revision number, or -1 if the revision number is undefined.
Specifies a return value type for a method that does not return a value.
Represents a weak reference, which references an object while still allowing that object to be reclaimed by garbage collection.
Initializes a new instance of the class, referencing the specified object and using the specified resurrection tracking.
An object to track.
Indicates when to stop tracking the object. If , the object is tracked after finalization; if , the object is only tracked until finalization.
Initializes a new instance of the class, referencing the specified object.
The object to track or .
Initializes a new instance of the class, using deserialized data from the specified serialization and stream objects.
An object that holds all the data needed to serialize or deserialize the current object.
(Reserved) Describes the source and destination of the serialized stream specified by .
is .
Discards the reference to the target represented by the current object.
Populates a object with all the data needed to serialize the current object.
An object that holds all the data needed to serialize or deserialize the current object.
(Reserved) The location where serialized data is stored and retrieved.
is .
Gets an indication whether the object referenced by the current object has been garbage collected.
if the object referenced by the current object has not been garbage collected and is still accessible; otherwise, .
Gets or sets the object (the target) referenced by the current object.
The reference to the target object is invalid. This exception can be thrown while setting this property if the value is a null reference or if the object has been finalized during the set operation.
if the object referenced by the current object has been garbage collected; otherwise, a reference to the object referenced by the current object.
Gets an indication whether the object referenced by the current object is tracked after it is finalized.
if the object the current object refers to is tracked after finalization; or if the object is only tracked until finalization.
Represents a typed weak reference, which references an object while still allowing that object to be reclaimed by garbage collection.
The type of the object referenced.
Initializes a new instance of the class that references the specified object and uses the specified resurrection tracking.
The object to reference, or .
to track the object after finalization; to track the object only until finalization.
Initializes a new instance of the class that references the specified object.
The object to reference, or .
Discards the reference to the target that is represented by the current object.
Populates a object with all the data necessary to serialize the current object.
An object that holds all the data necessary to serialize or deserialize the current object.
The location where serialized data is stored and retrieved.
is .
Sets the target object that is referenced by this object.
The new target object.
Tries to retrieve the target object that is referenced by the current object.
When this method returns, contains the target object, if it is available. This parameter is treated as uninitialized.
if the target was retrieved; otherwise, .