DocumentReference.SetDocument(FixedDocument) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.