Share via


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

  • fileName
    Type: String

    The 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

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace