編輯

共用方式為


DocumentReference.SetDocument(FixedDocument) Method

Definition

Attaches a FixedDocument to the DocumentReference.

public:
 void SetDocument(System::Windows::Documents::FixedDocument ^ doc);
public void SetDocument (System.Windows.Documents.FixedDocument doc);
member this.SetDocument : System.Windows.Documents.FixedDocument -> unit
Public Sub SetDocument (doc As FixedDocument)

Parameters

doc
FixedDocument

The document that is attached.

Remarks

You can attach a document only if it has not been attached to this DocumentReference before.

Applies to