Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

ObjectWrapper Class (Microsoft.Office.Interop.InfoPath.SemiTrust)

Defines the generic wrapper class that is used to access members of the CommandBars, Extension, and LanguageSettings objects.

Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)

public class ObjectWrapper : WrapperBase

In the InfoPath COM object model, the CommandBars, Extension, and LanguageSettings objects are accessed with corresponding accessor properties of the Window, XDocument, and Application objects. This functionality is enabled through the Microsoft Office 11.0 Object Library, which is not available directly to the InfoPath managed-code assemblies.

To view an example of using the ObjectWrapper class to access members of the CommandBars object, see the CommandBars topic.

System.Object
   Microsoft.Office.Interop.InfoPath.Helper.WrapperBase
    Microsoft.Office.Interop.InfoPath.SemiTrust.ObjectWrapper

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft