Entity.GetViewDefinition Method
NOTE: This API is now obsolete.
Gets the list of fields in a given view of an entity.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Function GetViewDefinition ( _
viewAccessorName As String _
) As View
'Usage
Dim instance As Entity
Dim viewAccessorName As String
Dim returnValue As View
returnValue = instance.GetViewDefinition(viewAccessorName)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public View GetViewDefinition(
string viewAccessorName
)
Parameters
viewAccessorName
Type: System.StringThe name of the ViewAccessor method instance.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.View
A View object.
Remarks
The Name of the View corresponds to the Name of the MethodInstance that provides the ViewAccessor.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace