_Document.Container 属性

定义

返回包含指定 OLE 对象的容器应用程序的对象。

public:
 property System::Object ^ Container { System::Object ^ get(); };
public object Container { get; }
member this.Container : obj
Public ReadOnly Property Container As Object

属性值

注解

如果文档作为 OLE 对象嵌入到另一个应用程序中,则此属性提供对指定文档的容器应用程序的访问权限。

如果作为 ActiveX 文档打开Word文档(例如,在 Internet Explorer 中打开Word文档),则 Container 属性还提供容器应用程序对象模型的路径。

适用于