PropertyAttribute

Marks a property as a property bag property.

Namespace:
Inetdev.PropertyBag
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Attribute

Constructors

PropertyAttribute

Initializes a new instance of PropertyAttribute.

Signature:
public Void PropertyAttribute(dataType, caption)
Parameters
Name Type Summary
dataType PropertyDataType Data type of the property bag property.
caption String Caption of the property bag property.
Exceptions
Type Summary
ArgumentNullOrEmptyException Thrown when caption is null or empty.

Properties

Caption

Caption of the property bag property.

Signature:
public String Caption { get; set; }

DataType

Property data type.

Signature:
public PropertyDataType DataType { get; set; }

Description

Description of the property bag property.

Signature:
public String Description { get; set; }

ResourceType

Type for getting string resources.

Signature:
public Type ResourceType { get; set; }

SaveEncrypted

Whether the property must be saved encrypted.

Signature:
public Boolean SaveEncrypted { get; set; }