Entity.GetViewAccessorMethodInstances 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

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

命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Public Function GetViewAccessorMethodInstances As NamedMethodInstanceDictionary
用法
Dim instance As Entity
Dim returnValue As NamedMethodInstanceDictionary

returnValue = instance.GetViewAccessorMethodInstances
public NamedMethodInstanceDictionary GetViewAccessorMethodInstances ()

返回值

A list of MethodInstance ojects.

备注

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.

另请参阅

参考

Entity 类
Entity 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间