Share via


FullName Property

Home Page (Objects)OverviewFAQReference

Applies to: Application object, Document object, TextDocument object, Project object

Gets the full path.

Syntax

object**.FullName**

Parameters

object

An expression that evaluates to one of the objects in the Applies To list above. When you access the FullName property of the Application object, you can omit object because the name of the Application object is implied when you access its properties and methods.

Remarks

The FullName property has the String type.

The following table summarizes the results of using the FullName property with the objects in the Applies To list:

Object Results
Application Gets the full path to the Developer Studio executable, for example: "C:\Program Files\Microsoft Visual Studio\Common\MSDEV98\Bin\MSDev.exe"
Document
TextDocument
Gets the full path to the file containing the document, for example: "C:\Mydocuments\Thisdoc.cpp"

Example

The following example displays the full path to each document in the Documents collection:

For i = 1 to Documents.Count
   MsgBox (Documents.Item(i).FullName)
Next

See Also   Name property, Path property.