DocData.SaveSubordinateFile Method
Save the specified document that is subordinate to this document, for example a diagram file.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Protected Friend Overridable Sub SaveSubordinateFile ( _
subordinateDocument As DocData, _
fileName As String _
)
protected internal virtual void SaveSubordinateFile(
DocData subordinateDocument,
string fileName
)
protected public:
virtual void SaveSubordinateFile(
DocData^ subordinateDocument,
String^ fileName
)
abstract SaveSubordinateFile :
subordinateDocument:DocData *
fileName:string -> unit
override SaveSubordinateFile :
subordinateDocument:DocData *
fileName:string -> unit
function SaveSubordinateFile(
subordinateDocument : DocData,
fileName : String
)
Parameters
subordinateDocument
Type: Microsoft.VisualStudio.Modeling.Shell.DocDataSubordinate file.
fileName
Type: StringThe file name of the subordinate file.
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.
.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.