InfoPathNamespaceAttribute.UserNamespace 属性

定义

获取或设置属性中的命名空间前缀, InfoPathNamespaceAttribute 该属性应用于托管代码项目中包含表单代码的类。

public:
 property System::String ^ UserNamespace { System::String ^ get(); void set(System::String ^ value); };
public string UserNamespace { get; set; }
member this.UserNamespace : string with get, set
Public Property UserNamespace As String

属性值

注解

重要提示:使用 InfoPath 2003 对象模型创建和使用 InfoPath 托管代码表单模板时,将自动生成 InfoPathNamespace 属性的设置。 不应改变该属性。 有关详细信息,请参阅如何:使用 InfoPath 2003 对象模型创建托管代码表单模板。

适用于