共用方式為


IPersistFile.GetCurFile Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
Sub GetCurFile ( _
    <OutAttribute> ByRef ppszFileName As String _
)
'用途
Dim instance As IPersistFile
Dim ppszFileName As String

instance.GetCurFile(ppszFileName)
void GetCurFile(
    out string ppszFileName
)
void GetCurFile(
    [OutAttribute] String^% ppszFileName
)
abstract GetCurFile : 
        ppszFileName:string byref -> unit 
function GetCurFile(
    ppszFileName : String
)

Parameters

.NET Framework Security

See Also

Reference

IPersistFile Interface

IPersistFile Members

Microsoft.VisualStudio.OLE.Interop Namespace