Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Saves the specified file if it is dirty.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Sub SaveFileIfDirty ( _
site As IServiceProvider, _
fullPath As String _
)
public static void SaveFileIfDirty(
IServiceProvider site,
string fullPath
)
public:
static void SaveFileIfDirty(
IServiceProvider^ site,
String^ fullPath
)
static member SaveFileIfDirty :
site:IServiceProvider *
fullPath:string -> unit
public static function SaveFileIfDirty(
site : IServiceProvider,
fullPath : String
)
Parameters
site
Type: IServiceProvider
fullPath
Type: StringThe absolute path of the file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.