次の方法で共有


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'宣言
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: System.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