FileManagerItem.Metadata Property
Provides access to an item’s metadata.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
FileManagerItemMetadata | A FileManagerItemMetadata object. |
Remarks
An item’s metadata are key-value pairs of string and object types, respectively. Use the FileManagerItemProperties.Metadata property to specify the item’s metadata using an appropriate FileManagerFile or FileManagerFolder constructor. To access the item’s metadata, use the Metadata property.
To obtain the item’s metadata, use the following methods:
- the FileManagerItemMetadata.GetAllKeys and FileManagerItemMetadata.GetValueByKey methods (on the server side);
- the ASPxClientFileManagerItem.GetMetadata method (on the client side if the FileManagerSettings.EnableClientSideItemMetadata property is set to
true
).
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
See Also