SPMobileComponent.ViewId 属性

获取或设置当前视图的 GUID。

命名空间:  Microsoft.SharePoint.Mobile.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overridable Property ViewId As Guid
    Get
    Set
用法
Dim instance As SPMobileComponent
Dim value As Guid

value = instance.ViewId

instance.ViewId = value
public virtual Guid ViewId { get; set; }

属性值

类型:System.Guid
用作当前视图的 ID Guid

备注

在默认实现中,当SPMobileComponent表示字段或不是列表视图中的其他一些实体ViewId是当前视图的 ID。如果没有当前视图, ViewId是父控件的ViewId属性的值。

另请参阅

引用

SPMobileComponent 类

SPMobileComponent 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间