次の方法で共有


MethodInstance.GetFilters メソッド (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

この MethodInstance オブジェクトに関連するフィルタを取得します。

名前空間: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
Public Function GetFilters As FilterCollection
'使用
Dim instance As MethodInstance
Dim returnValue As FilterCollection

returnValue = instance.GetFilters
public FilterCollection GetFilters ()

戻り値

FilterCollection オブジェクト。

備考

Filter が Method に関連付けられていても DefaultValue が MethodInstnce に関連付けられているため、Filter を MethodInstance オブジェクトに配置すると、すべてが適切な既定値で初期設定された Filter のコレクションが返されます。

関連項目

参照

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