Method.GetFilters 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Gets the filters associated with the specified method instance.

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

语法

声明
Public Function GetFilters ( _
    methodInstance As MethodInstance _
) As FilterCollection
用法
Dim instance As Method
Dim methodInstance As MethodInstance
Dim returnValue As FilterCollection

returnValue = instance.GetFilters(methodInstance)
public FilterCollection GetFilters (
    MethodInstance methodInstance
)

参数

返回值

A FilterCollection object.

备注

Even though Filters are associated with Methods, the argument to this takes a MethodInstance, because the Filters returned will be initialized with a DefaultValue that depends on the MethodInstance to get identified.

另请参阅

参考

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