Entity.GetViewAccessorMethodInstances Method

Gets all method instances that are of MethodInstance type ViewAccessor for this entity.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Function GetViewAccessorMethodInstances As NamedMethodInstanceDictionary
'Usage
Dim instance As Entity
Dim returnValue As NamedMethodInstanceDictionary

returnValue = instance.GetViewAccessorMethodInstances()
public NamedMethodInstanceDictionary GetViewAccessorMethodInstances()

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.NamedMethodInstanceDictionary
A list of MethodInstance ojects.

Remarks

A VIewAccessor may be used to switch the current view of an Entity Instance to another view provided by a ViewAccessor. The Name of the MethodInstance that is the ViewAccessor becomes the name of the View to be requested.

See Also

Reference

Entity Class

Entity Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace