AbstractEntityInstance.GetView 方法 (Microsoft.Office.Server.ApplicationRegistry.Runtime)
When overridden in a derived class, gets the same entity instance in the specified view.
命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Public Overridable Function GetView ( _
viewName As String _
) As IEntityInstance
用法
Dim instance As AbstractEntityInstance
Dim viewName As String
Dim returnValue As IEntityInstance
returnValue = instance.GetView(viewName)
public virtual IEntityInstance GetView (
string viewName
)
参数
- viewName
The name of the view.
返回值
An IEntityInstance object that represents a different view of the same entity instance— with a different set of fields as per the schema of the view.
另请参阅
参考
AbstractEntityInstance 类
AbstractEntityInstance 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间