MethodInstance.GetFilters 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Gets the filters associated with this MethodInstance object.
命名空间: 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 ()
返回值
A FilterCollection object.
备注
Even though Filters are associated with Methods, DefaultValues are associated with MethodInstnces, so putting this on the MethodInstance object allows it to return a collection of Filters that are all pre-initialized with the appropriate default values.
另请参阅
参考
MethodInstance 类
MethodInstance 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间