OptionGroup 属性 (权限)OptionGroup.EventProcPrefix property (Access)

获取或设置事件过程名称的前缀部分。Gets or sets the prefix portion of an event procedure name. 读/写 StringRead/write String.

语法Syntax

表达式EventProcPrefixexpression.EventProcPrefix

_表达式_一个代表**OptionGroup** 对象的变量。expression A variable that represents an OptionGroup object.

说明Remarks

例如, 如果具有名为Details_Click的事件过程的命令按钮, 则EventProcPrefix属性将返回字符串详细信息For example, if you have a command button with an event procedure named Details_Click, the EventProcPrefix property returns the string Details.

Microsoft Access 将事件过程名称的前缀部分添加到带下划线字符 (_) 的事件名称中。Microsoft Access adds the prefix portion of an event procedure name to the event name with an underscore character ( _ ).

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.