PropertyInformation Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Contains meta-information on an individual property within the configuration. This type cannot be inherited.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

System::Object
  System.Configuration::PropertyInformation

public ref class PropertyInformation sealed 

NameDescription
System_CAPS_pubpropertyConverter

Gets the TypeConverter object related to the configuration attribute.

System_CAPS_pubpropertyDefaultValue

Gets an object containing the default value related to a configuration attribute.

System_CAPS_pubpropertyDescription

Gets the description of the object that corresponds to a configuration attribute.

System_CAPS_pubpropertyIsKey

Gets a value specifying whether the configuration attribute is a key.

System_CAPS_pubpropertyIsLocked

Gets a value specifying whether the configuration attribute is locked.

System_CAPS_pubpropertyIsModified

Gets a value specifying whether the configuration attribute has been modified.

System_CAPS_pubpropertyIsRequired

Gets a value specifying whether the configuration attribute is required.

System_CAPS_pubpropertyLineNumber

Gets the line number in the configuration file related to the configuration attribute.

System_CAPS_pubpropertyName

Gets the name of the object that corresponds to a configuration attribute.

System_CAPS_pubpropertySource

Gets the source file that corresponds to a configuration attribute.

System_CAPS_pubpropertyType

Gets the Type of the object that corresponds to a configuration attribute.

System_CAPS_pubpropertyValidator

Gets a ConfigurationValidatorBase object related to the configuration attribute.

System_CAPS_pubpropertyValue

Gets or sets an object containing the value related to a configuration attribute.

System_CAPS_pubpropertyValueOrigin

Gets a PropertyValueOrigin object related to the configuration attribute.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The PropertyInformation object contains the meta-information of an individual property within the configuration. This object can be used when validating and changing the properties of an individual attribute.

The PropertyInformation object is derived from the associated PropertyInformationCollection object. The PropertyInformationCollection object is derived from the associated ElementInformation object.

The following code example demonstrates how to use the PropertyInformation type.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: