InfoPathNamespaceAttribute.UserNamespace Property

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.

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

Syntax

'Declaration
Public Property UserNamespace As String
    Get
    Set
'Usage
Dim instance As InfoPathNamespaceAttribute
Dim value As String

value = instance.UserNamespace

instance.UserNamespace = value
public string UserNamespace { get; set; }

Property Value

Type: System.String

Remarks

Important

The settings of the InfoPathNamespace attribute 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.

See Also

Reference

InfoPathNamespaceAttribute Class

InfoPathNamespaceAttribute Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace