SharePointListAdapterRW.ContentTypeId 属性

获取或设置与 SharePointListAdapterRWObject 对象关联的 SharePoint 列表的内容类型 ID。

命名空间:  Microsoft.Office.Interop.InfoPath.SemiTrust
程序集:  Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)

语法

声明
Property ContentTypeId As String
    Get
    Set
用法
Dim instance As SharePointListAdapterRW
Dim value As String

value = instance.ContentTypeId

instance.ContentTypeId = value
string ContentTypeId { get; set; }

属性值

类型:System.String
返回 Empty

备注

对于与 SharePoint 列表的辅助数据连接,此属性始终返回 Empty

此成员只能由与当前打开的表单在相同域中运行的表单访问,或者由已授予跨域权限的表单访问。

另请参阅

引用

SharePointListAdapterRW 接口

SharePointListAdapterRW 成员

Microsoft.Office.Interop.InfoPath.SemiTrust 命名空间