Platforms to show: All Mac Windows Linux Cross-Platform

Back to WIAPropertyStorageMBS class.

WIAPropertyStorageMBS.Commit(flags as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Saves changes made to a property storage object to the parent storage object.

See kCommit* flags for the flags parameter.
Lasterror is set.

WIAPropertyStorageMBS.Count as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the number of properties stored in the property storage.

Lasterror is set.

WIAPropertyStorageMBS.Delete(id as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Deletes an item by ID.

Lasterror is set.

See also:

WIAPropertyStorageMBS.Delete(name as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Deletes an item by name.

Lasterror is set.

See also:

WIAPropertyStorageMBS.DeletePropertyName(id as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Deletes specified string names from the current property set.

Lasterror is set.

id: Property identifier for which string name are to be deleted.

For each property identifier in rgpropid, DeletePropertyName removes any corresponding name-to-property ID mapping. An attempt is silently ignored to delete the name of a property that either does not exist or does not currently have a string name associated with it. This method has no effect on the properties themselves.

WIAPropertyStorageMBS.Enumerate as WIAPropertyEnumeratorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Enumerates the properties on this property storage.

Returns nil on any error. Lasterror is set.

WIAPropertyStorageMBS.Read(id as Integer) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Reads a property by id.

Lasterror is set.

See also:

WIAPropertyStorageMBS.Read(name as string) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Reads a property by name.
Example
dim DeviceManager as new WIADeviceManager1MBS

if 0 = DeviceManager.Handle then
MsgBox "Failed to initialize device manager."
else
dim it as WIAItemMBS = DeviceManager.SelectDeviceDialog(window1, DeviceManager.kDeviceTypeDefault, DeviceManager.kSelectDeviceNoDefault)

if it<>Nil then
dim p as WIAPropertyStorageMBS = it.PropertyStorage
dim name as string = p.Read(p.kItemPropertyItemNameString)
MsgBox name
end if
end if

Lasterror is set.

See also:

WIAPropertyStorageMBS.Read(p as WIAPropertyMBS) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Reads a property by a property specification.

Lasterror is set.

See also:

WIAPropertyStorageMBS.ReadPropertyName(id as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves any existing string name for the specified property ID.

Lasterror is set.

WIAPropertyStorageMBS.Revert

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The Revert method discards all changes to the named property set since it was last opened or discards changes that were last committed to the property set.

This method has no effect on a direct-mode property set.
Lasterror is set.

WIAPropertyStorageMBS.Write(id as Integer, value as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Writes a property by id.

Lasterror is set.

See also:

WIAPropertyStorageMBS.Write(name as string, value as Variant, id as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Writes a property by name with optional id.

Lasterror is set.

See also:

WIAPropertyStorageMBS.Write(p as WIAPropertyMBS, value as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Writes a property by property specification.

Lasterror is set.

See also:

WIAPropertyStorageMBS.WritePropertyName(id as Integer, name as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Assigns string names to a specified array of property IDs in the current property set.

id: the property ID for which name is to be set.
name: The new name to be assigned to the corresponding property ID in the id parameter. This name may not exceed 255 characters.

Lasterror is set.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...