GetProperty Method (ALog)

Returns the value of a property associated with the given object.

Syntax

[ vValue = ] Object.GetProperty ( sProperty )

The GetProperty method syntax has the following parts:

 

Name

Type

Description

Object

ALog

ALog control

sProperty

Val BString

Caller-allocated buffer that contains the name of the property to retrieve.

vValue

Variant

Address of a variable that receives the value associated with the given property.

Example

The following example will return the associated value vValue for the property sProperty of the ALog control:

vlog1Value = log1.GetProperty(sProperty)

Applies to

ALog

See Also

OnPropertyChange, PutProperty