Document::Name property
The Name property sets or returns the name of the console file. The Name property contains the fully qualified path with the file name. This property is read/write. If the console file has never been saved, the file name is an empty string.
Syntax
Property Name As String
Property value
The name of the document. If the document has never been saved, the document's name is an empty string.
Examples
' Retrieve the document name.
Dim strDocName As String
strDocName = objDoc.Name
MsgBox (strDocName)
' Set the document name.
objDoc.Name = "d:\console44.msc"
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_Document |