Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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)
public View GetViewDefinition(
string viewAccessorName
)
Parameters
- viewAccessorName
Type: System.String
The 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