次の方法で共有


Entity.GetViewAccessorMethodInstances メソッド (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

このエンティティの MethodInstance 型 ViewAccessor であるすべてのメソッド インスタンスを取得します。

名前空間: 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 ()

戻り値

MethodInstance オブジェクトのリスト。

備考

VIewAccessor を使用して、Entity Instance の現在のビューを ViewAccessor が提供する他のビューに切り替えることができます。MethodInstance (つまり ViewAccessor) の Name が要求される View の名前になります。

関連項目

参照

Entity クラス
Entity メンバ
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 名前空間