InfoPathNamespaceAttribute 类

定义

应用该属性以指定在托管代码项目中包含表单代码的类中使用的命名空间前缀。

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
继承
InfoPathNamespaceAttribute
属性

注解

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

构造函数

InfoPathNamespaceAttribute(String)

此成员仅供内部使用,不能直接在您的代码中使用。

属性

UserNamespace

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

适用于