InfoPathNamespaceAttribute class

Office 2013 and later

Apply this attribute to specify the namespace prefixes that are used in the class that contains form code in a managed-code project.


Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

public sealed class InfoPathNamespaceAttribute : Attribute

Important noteImportant

This attribute and its settings are generated automatically when you create and work with an InfoPath managed-code form template using the InfoPath 2003 object model. You should not alter this attribute. For more information, see How to: Create a Form Template Using the InfoPath 2003 Object Model.

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