IEntityInstance.GetView 方法 (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Gets the same entity instance in the specified view.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Function GetView ( _
    viewName As String _
) As IEntityInstance
用法
Dim instance As IEntityInstance
Dim viewName As String
Dim returnValue As IEntityInstance

returnValue = instance.GetView(viewName)
IEntityInstance GetView (
    string viewName
)

参数

  • viewName
    The name of the view.

返回值

An IEntityInstance object that represents the same entity instance but in a different view—with a different set of fields as per the schema of the view.

另请参阅

参考

IEntityInstance 接口
IEntityInstance 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间