Skip to main content
Tab

FileManagerItemProperties.Metadata Property

Provides access to a collection of an item’s metadata.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public IDictionary<string, object> Metadata { get; set; }

Property Value

Type Description
IDictionary<String, Object>

A dictionary, containing an item’s metadata.

Remarks

An item’s metadata are key-value pairs of string and object types, respectively. Use the Metadata property to specify the item’s metadata using an appropriate FileManagerFile or FileManagerFolder constructor. To access the item’s metadata, use the FileManagerItem.Metadata property.

To obtain the item’s metadata, use the following methods:

The list of allowed types of the metadata:

  • System.String
  • System.Guid
  • System.Byte
  • System.Int16
  • System.Int32
  • System.Int64
  • System.Double
  • System.Boolean
  • System.Single
  • System.Decimal
  • System.Char
  • System.DateTime
FileManagerFile file=new FileManagerFile(this, folder, "filename1.txt",
new FileManagerItemProperties {
Metadata = new Dictionary<string, object>() {
{ "meta1", "value1" },
{ "meta2", "value2" }
};
});

ASPxFileManager-Metadata

See Also