Share via


ConfigurationAttributeSchema Class

Definition

Provides access to the attributes that define the schema for a configuration attribute.

public ref class ConfigurationAttributeSchema sealed
public sealed class ConfigurationAttributeSchema
type ConfigurationAttributeSchema = class
Public NotInheritable Class ConfigurationAttributeSchema
Inheritance
ConfigurationAttributeSchema

Properties

AllowInfinite

Gets a value indicating whether the value "infinite" can be stored in this attribute.

DefaultValue

Gets the data that the attribute returns when a value is not explicitly set.

IsCaseSensitive

Gets a value indicating whether the attribute value is case-sensitive.

IsCombinedKey

Gets a value indicating whether this attribute is part of a multiple-attribute key for a collection.

IsEncrypted

Gets a value indicating whether the attribute is encrypted on disk.

IsExpanded

Gets a value indicating whether environment variables in an attribute value should be expanded.

IsRequired

Gets a value indicating whether a value must be defined for an attribute.

IsUniqueKey

Gets a value indicating whether this attribute is the unique key for a collection.

Name

Gets the name of the attribute.

TimeSpanFormat

Gets a value that determines the format in which TimeSpan attributes are stored.

Type

Gets the common language runtime (CLR) type of an attribute.

ValidationParameter

Gets the additional parameters needed to validate the data in a configuration attribute.

ValidationType

Gets the type of validation that this attribute uses.

Methods

GetEnumValues()

Returns a collection of configuration enumeration values.

GetMetadata(String)

Returns metadata values from the schema.

Applies to