ConfigurationElementProperty 类

定义

指定配置元素的属性。Specifies the property of a configuration element. 此类不能被继承。This class cannot be inherited.

public ref class ConfigurationElementProperty sealed
public sealed class ConfigurationElementProperty
type ConfigurationElementProperty = class
Public NotInheritable Class ConfigurationElementProperty
继承
ConfigurationElementProperty

注解

此类可用于验证配置元素属性。This class can be used to validate configuration element properties. 此外,此类可与 ConfigurationElement 类结合使用。Also, this class can be used in conjunction with the ConfigurationElement class.

构造函数

ConfigurationElementProperty(ConfigurationValidatorBase)

使用所提供的参数初始化 ConfigurationElementProperty 类的新实例。Initializes a new instance of the ConfigurationElementProperty class, based on a supplied parameter.

属性

Validator

获取用于验证 ConfigurationValidatorBase 对象的 ConfigurationElementProperty 对象。Gets a ConfigurationValidatorBase object used to validate the ConfigurationElementProperty object.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅