RedirectionType 类
定义
一个表示重定向类型的类型。A type that represents the type of redirection.
public ref class RedirectionType sealed
[System.Serializable]
public sealed class RedirectionType
[<System.Serializable>]
type RedirectionType = class
Public NotInheritable Class RedirectionType
- 继承
-
RedirectionType
- 属性
属性
| Cache |
获取表示缓存重定向类型的 RedirectionType。Gets a RedirectionType that represents the cache redirection type. |
| Namespace |
获取 RedirectionType 的命名空间。Gets the namespace of the RedirectionType. |
| Resource |
获取表示资源重定向类型的 RedirectionType。Gets a RedirectionType that represents the resource redirection type. |
| UseIntermediary |
获取表示使用中间重定向类型的 RedirectionType。Gets a RedirectionType that represents the use intermediary redirection type. |
| Value |
获取 RedirectionType 的值。Gets the value of the RedirectionType. |
方法
| Create(String, String) |
使用指定的重定向类型和重定向命名空间创建 RedirectionType 类的新实例。Creates a new instance of the RedirectionType class with the specified redirection type and redirection namespace. |
| Equals(Object) |
确定指定对象是否与当前的 RedirectionType 实例相等。Determines whether the specified object is equal to the current RedirectionType instance. |
| GetHashCode() |
获取此实例的哈希代码。Gets the hash code for this instance. |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
将当前 RedirectionType 转换为其等效的字符串表示形式。Converts the current RedirectionType to its equivalent string representation. |
运算符
| Equality(RedirectionType, RedirectionType) |
返回一个值,该值指示 RedirectionType 类型的两个实例是否相等。Returns a value that indicates whether two instances of the RedirectionType types are equal. |
| Inequality(RedirectionType, RedirectionType) |
返回一个值,该值指示 RedirectionType 类型的两个实例是否不相等。Returns a value that indicates whether two instances of the RedirectionType types are not equal. |