Partager via


MethodInstance.GetFilters, méthode (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Gets the filters associated with this MethodInstance object.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Function GetFilters As FilterCollection
'Utilisation
Dim instance As MethodInstance
Dim returnValue As FilterCollection

returnValue = instance.GetFilters
public FilterCollection GetFilters ()

Valeur de retour

A FilterCollection object.

Remarques

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.

Voir aussi

Référence

MethodInstance, classe
Membres MethodInstance
Microsoft.Office.Server.ApplicationRegistry.MetadataModel, espace de noms