_Document.CodeName Property

Definition

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

Property Value

Remarks

The code name is the name for the module that houses event macros for a document. The default name for the module is "ThisDocument"; you can view it in the Project window.

Applies to