InfoPathNamespaceAttribute 类
应用该属性以指定在托管代码项目中包含表单代码的类中使用的命名空间前缀。
继承层次结构
System.Object
System.Attribute
Microsoft.Office.Interop.InfoPath.SemiTrust.InfoPathNamespaceAttribute
命名空间: Microsoft.Office.Interop.InfoPath.SemiTrust
程序集: Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)
语法
声明
<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class InfoPathNamespaceAttribute _
Inherits Attribute
用法
Dim instance As InfoPathNamespaceAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class InfoPathNamespaceAttribute : Attribute
备注
重要
使用 InfoPath 2003 对象模型创建和使用 InfoPath 托管代码表单模板时会自动生成该属性及其设置。不应改变该属性。有关详细信息,请参阅如何:使用 InfoPath 2003 对象模型创建表单模板。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。