EnvironmentPolicy Members
In This Article
System.Environment
initiated by DevExpress controls.
#Properties
Name | Description |
---|---|
Should |
Gets a value that indicates whether the Environment throws an exception if a request to System. fails.
|
#Methods
Name | Description |
---|---|
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Suppress |
Suppresses all requests to System. . No exception is thrown.
|
Suppress |
Prevents DevExpress controls from forcibly exiting the current process. |
Suppress |
Prevents DevExpress controls from reading environment variables. |
Suppress |
Prevents DevExpress controls from reading current process data (for example, Current , Process , Process ).
|
Suppress |
Prevents DevExpress controls from getting the path to the specified system special folder. |
Suppress |
Prevents DevExpress controls from setting the current directory. |
Suppress |
Prevents DevExpress controls from setting environment variables. |
Throw |
Throws an exception when the DevExpress control accesses System. .
|
Throw |
Throws an exception if a request to System. fails.
|
To |
Returns a string that represents the current object. Inherited from Object. |
#Events
Name | Description |
---|---|
Exiting |
Fires when the DevExpress control attempts to exit the current process. Handle this event to allow or suppress the operation. |
Expanded |
Fires after environment variables are expanded within the given string and allows you to modify the result. |
Expanding |
Fires when the DevExpress control attempts to replace names of environment variables using the Environment. method. Handle this event to allow or suppress the operation.
|
Failed static | Allows you to respond to associated failures (exceptions and errors). |
Getting |
Fires when the DevExpress control attempts to retrieve the value of the environment variable from the current process. Handle this event to allow or suppress the operation. |
Got |
Fires after the DevExpress control has read the value of the environment variable. |
Read |
Fires after the DevExpress control has read current process data. |
Reading |
Fires when the DevExpress control attempts to read current process data (for example, Current , Process , Process ). Handle this event to allow or suppress the operation.
|
Reading |
Fires when the DevExpress control attempts to read the path to the system special folder (such as Program Files, Programs, System, or Startup). Handle this event to allow or suppress the operation. |
Read |
Fires after the DevExpress control has read the path to the system special folder (such as Program Files, Programs, System, or Startup). |
Set |
Fires after the DevExpress control has set the path of the current working directory. |
Setting |
Fires when the DevExpress control attempts to set the path of the current working directory. Handle this event to allow or suppress the operation. |
Setting |
Fires when the DevExpress control attempts to set the value of the environment variable in the current process. Handle this event to allow or suppress the operation. |
Set |
Fires after the DevExpress control has set the value of the environment variable. |
See Also