InfoPathNamespaceAttribute Class

Definition

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

public ref class InfoPathNamespaceAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class InfoPathNamespaceAttribute : Attribute
type InfoPathNamespaceAttribute = class
    inherit Attribute
Public NotInheritable Class InfoPathNamespaceAttribute
Inherits Attribute
Inheritance
InfoPathNamespaceAttribute
Attributes

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 Managed Code Form Template Using the InfoPath 2003 Object Model.

Constructors

InfoPathNamespaceAttribute(String)

This member is reserved for internal use and is not intended to be used directly from your code.

Properties

UserNamespace

Gets or sets the namespace prefixes in the InfoPathNamespaceAttribute attribute that is applied to the class that contains form code in a managed-code project.

Applies to