InfoPathNamespaceAttribute class

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

Inheritance hierarchy

System.Object
  System.Attribute
    Microsoft.Office.Interop.InfoPath.SemiTrust.InfoPathNamespaceAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class InfoPathNamespaceAttribute _
    Inherits Attribute
'Usage
Dim instance As InfoPathNamespaceAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class InfoPathNamespaceAttribute : Attribute

Remarks

Important

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.

Thread safety

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

See also

Reference

InfoPathNamespaceAttribute members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace