Partager via


Entity.GetViewAccessorMethodInstances, méthode (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

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

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Function GetViewAccessorMethodInstances As NamedMethodInstanceDictionary
'Utilisation
Dim instance As Entity
Dim returnValue As NamedMethodInstanceDictionary

returnValue = instance.GetViewAccessorMethodInstances
public NamedMethodInstanceDictionary GetViewAccessorMethodInstances ()

Valeur de retour

A list of MethodInstance ojects.

Remarques

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.

Voir aussi

Référence

Entity, classe
Membres Entity
Microsoft.Office.Server.ApplicationRegistry.MetadataModel, espace de noms