共用方式為


DocData.QuerySaveFile Method

Definition

Overloads

QuerySaveFile()

Helper to perform an SCC QuerySaveFiles call on the file represented by this DocData.

QuerySaveFile(String, tagVSQuerySaveFlags)

Helper to perform an SCC QuerySaveFiles call.

QuerySaveFile()

Helper to perform an SCC QuerySaveFiles call on the file represented by this DocData.

public:
 Microsoft::VisualStudio::Modeling::Shell::QuerySaveResult QuerySaveFile();
public Microsoft.VisualStudio.Modeling.Shell.QuerySaveResult QuerySaveFile ();
member this.QuerySaveFile : unit -> Microsoft.VisualStudio.Modeling.Shell.QuerySaveResult
Public Function QuerySaveFile () As QuerySaveResult

Returns

Applies to

QuerySaveFile(String, tagVSQuerySaveFlags)

Helper to perform an SCC QuerySaveFiles call.

public:
 virtual Microsoft::VisualStudio::Modeling::Shell::QuerySaveResult QuerySaveFile(System::String ^ fileName, Microsoft::VisualStudio::Shell::Interop::tagVSQuerySaveFlags querySaveFlags);
public virtual Microsoft.VisualStudio.Modeling.Shell.QuerySaveResult QuerySaveFile (string fileName, Microsoft.VisualStudio.Shell.Interop.tagVSQuerySaveFlags querySaveFlags);
abstract member QuerySaveFile : string * Microsoft.VisualStudio.Shell.Interop.tagVSQuerySaveFlags -> Microsoft.VisualStudio.Modeling.Shell.QuerySaveResult
override this.QuerySaveFile : string * Microsoft.VisualStudio.Shell.Interop.tagVSQuerySaveFlags -> Microsoft.VisualStudio.Modeling.Shell.QuerySaveResult
Public Overridable Function QuerySaveFile (fileName As String, querySaveFlags As tagVSQuerySaveFlags) As QuerySaveResult

Parameters

fileName
String

File to query.

querySaveFlags
tagVSQuerySaveFlags

QuerySaveFlags.

Returns

true if OK to save the file.

Applies to