WorkbookBase.SmartDocument 属性

定义

获取一个表示智能文档解决方案的设置的 Microsoft.Office.Core.SmartDocument。

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

属性值

一个 Microsoft.Office.Core.SmartDocument,表示智能文档解决方案的设置。

示例

下面的代码示例使用 SmartDocument 属性显示一个对话框,该对话框允许用户选取要附加到文档的 XML 扩展包。

此示例适用于文档级自定义项。

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

适用于