다음을 통해 공유


AccessObjectProperties.Add Method (Access)

You can use the Add method to add a new property as an AccessObjectProperty object to the AccessObjectProperties collection of an AccessObject object.

Syntax

.Add(PropertyName, Value)

A variable that represents an AccessObjectProperties object.

Parameters

Name

Required/Optional

Data Type

Description

PropertyName

필수

String

A string expression that's the name of the new property.

Value

필수

Variant

A Variant value corresponding to the option setting. The setting of the value argument depends on the possible settings for a particular option. Can be a constant or a string value.

Remarks

You can use the Remove method of the AccessObjectProperties collection to delete an existing property.

참고 항목

개념

AccessObjectProperties Object Members

AccessObjectProperties Collection