This documentation is archived and is not being maintained.

FullName Property (General Extensibility)

Visual Studio .NET 2003

Returns the full path and name of the object's file.

[Visual Basic .NET]
Public ReadOnly Property FullName() As String
[Visual Basic 6]
Property Get FullName() As String
[C++]
HRESULT __stdcall get_FullName(
   /* [out, retval] */ BSTR* retVal
);
[C#]
string FullName {get;}
[JScript .NET]
public function get FullName() : String

Remarks

The FullName property was previously known as the FileName property in prior versions of Visual Studio.

Example

Sub FullNameExample()
   ' Before running this example, open a text document.
   Dim objDoc As Document
   objDoc = DTE.ActiveDocument
   MsgBox("Full name of document: " & objDoc.FullName)
End Sub

See Also

IsOpen Property (General Extensibility) | Saved Property (General Extensibility) | TemplatePath Property | FileCodeModel Property

Applies To: CodeAttribute Object | CodeClass Object | CodeDelegate Object | CodeElement Object | CodeEnum Object | CodeFunction Object | CodeInterface Object | CodeNameSpace Object | CodeParameter Object | CodeProperty Object | CodeStruct Object | CodeType Object | CodeVariable Object | Document Object | Project Object | Solution Object | VCCodeAttribute Object | VCCodeBase Object | VCCodeClass Object | VCCodeDelegate Object | VCCodeElement Object | VCCodeEnum Object | VCCodeEvent Object | VCCodeFunction Object | VCCodeIDLCoClass Object | VCCodeIDLImport Object | VCCodeIDLImportLib Object | VCCodeIDLLibrary Object | VCCodeImport Object | VCCodeInclude Object | VCCodeInterface Object | VCCodeMacro Object | VCCodeMap Object | VCCodeMapEntry Object | VCCodeNamespace Object | VCCodeParameter Object | VCCodeProperty Object | VCCodeStruct Object | VCCodeTypedef Object | VCCodeUnion Object | VCCodeVariable Object | VCCodeUsing Object

Show: