Freigeben über


WorkbookBase.SmartDocument Eigenschaft

Definition

Ruft ein Microsoft.Office.Core.SmartDocument-Objekt ab, das die Einstellungen für eine SmartDocuments-Projektmappe darstellt.

public:
 property Microsoft::Office::Core::SmartDocument ^ SmartDocument { Microsoft::Office::Core::SmartDocument ^ get(); };
public Microsoft.Office.Core.SmartDocument SmartDocument { get; }
member this.SmartDocument : Microsoft.Office.Core.SmartDocument
Public ReadOnly Property SmartDocument As SmartDocument

Eigenschaftswert

Ein Microsoft.Office.Core.SmartDocument, das die Einstellungen für eine intelligente Dokumentlösung darstellt.

Beispiele

Im folgenden Codebeispiel wird die SmartDocument -Eigenschaft verwendet, um ein Dialogfeld anzuzeigen, in dem der Benutzer ein XML-Erweiterungspaket auswählen kann, das an das Dokument angefügt werden soll.

Dieses Beispiel gilt für eine Anpassung auf Dokumentebene.

private void WorkbookSmartDocument()
{
    this.SmartDocument.PickSolution(true);
}
Private Sub WorkbookSmartDocument()
    Me.SmartDocument.PickSolution(True)
End Sub

Gilt für: