_Document.CodeName 属性

定义

返回指定文档的代码名称。Returns the code name for the specified document.

public:
 property System::String ^ CodeName { System::String ^ get(); };
public string CodeName { get; }
member this.CodeName : string
Public ReadOnly Property CodeName As String

属性值

String

注解

代码名称是保存文档的事件宏的模块名。The code name is the name for the module that houses event macros for a document. 该模块的默认名为"ThisDocument",可在"工程"窗口中查看该模块。The default name for the module is "ThisDocument"; you can view it in the Project window.

适用于