Xbasic

A5Storage_getItemProperties Function

Syntax

P itemProperties = a5Storage_getItemProperties(C connectionString , C itemName)

Arguments

connectionString

Storage connection string with ::storage:: as a prefix.

itemName

The name of the item in storage.

Returns

itemPropertiesPointer

Returns a dot variable with these properties:

itemFoundLogical

.t. or .f.

hasErrorLogical

.t. or .f.

AbsolutePathCharacter

the URL to the item

ContentTypeCharacter

the content type of the item

ModifiedTime

time item was last modified

NameCharacter

name of the item

sizeNumeric

item size

itemPointer

a dot variable with a pointer to the item object. This object exposes various methods and properties of the item.

Description

Gets properties of an item in storage.

See Also