Table of contents
TOC
折叠目录
展开目录

AccessObjectProperties.Add 方法 (访问)AccessObjectProperties.Add Method (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

可以使用Add方法将新的属性作为AccessObjectProperty对象添加到AccessObject对象的AccessObjectProperties集合。You can use the Add method to add a new property as an AccessObjectProperty object to the AccessObjectProperties collection of an AccessObject object.

语法Syntax

表达式添加(* 属性名称)expression. **Add( ** PropertyName, ** Value* )

表达式_一个表示AccessObjectProperties对象的变量。_expression A variable that represents an AccessObjectProperties object.

参数Parameters

名称Name必需/可选Required/Optional数据类型Data Type说明Description
属性名称PropertyName必需RequiredStringString字符串表达式,表示新属性的名称。A string expression that's the name of the new property.
Value必需RequiredVariantVariant一个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

可以使用AccessObjectProperties集合中删除方法来删除现有的属性。You can use the Remove method of the AccessObjectProperties collection to delete an existing property.

另请参阅See also

概念Concepts

AccessObjectProperties 集合AccessObjectProperties Collection

© 2018 Microsoft