Share via


String Property

Retrieves a Vector of bytes as a String.

Syntax

[ pbstrResult = ] Vector.String( [Unicode])

Possible Values

> > > > > > >
Unicode Boolean value that indicates whether the Vector of bytes should be treated as a Unicode or an ANSI string.
True Default. Treat as a Unicode string.
False Treat as an ANSI string.
pbstrResultString value.
> > The property is read-only. The property has no default value.

Remarks

Because Vectors of bytes can actually be strings in either Unicode or ANSI form, this property provides an easy way to access the contents of Vectors that otherwise might be difficult to access or maintain.

For more information (and a common programming pitfall) about how to create a Vector of bytes, see the Remarks section of SetFromString.

For example code, see Display Detailed Image Information in Shared Samples.

Property Information

Minimum operating systems Windows XP SP1