Sdílet prostřednictvím


DocData.SaveSubordinateFile(DocData, String) Method

Definition

Save the given document that is subordinate to this document.

protected public:
 virtual void SaveSubordinateFile(Microsoft::VisualStudio::Modeling::Shell::DocData ^ subordinateDocument, System::String ^ fileName);
protected internal virtual void SaveSubordinateFile (Microsoft.VisualStudio.Modeling.Shell.DocData subordinateDocument, string fileName);
abstract member SaveSubordinateFile : Microsoft.VisualStudio.Modeling.Shell.DocData * string -> unit
override this.SaveSubordinateFile : Microsoft.VisualStudio.Modeling.Shell.DocData * string -> unit
Protected Friend Overridable Sub SaveSubordinateFile (subordinateDocument As DocData, fileName As String)

Parameters

subordinateDocument
DocData
fileName
String

Remarks

If this document has any subordinate files for which it usually maintains the data (such as diagram files) then it must save the data for that file here as the subordinate has been explicitly asked to save itself.

Applies to