IEntityInstance.GetView Method
Gets the same entity instance in the specified view.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Function GetView ( _
viewName As String _
) As IEntityInstance
'Usage
Dim instance As IEntityInstance
Dim viewName As String
Dim returnValue As IEntityInstance
returnValue = instance.GetView(viewName)
IEntityInstance GetView(
string viewName
)
Parameters
- viewName
Type: System.String
The name of the view.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstance
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.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace