FilterableAttribute.IsTypeFilterable(Type) Método
Definição
Determina se o tipo de dados especificado dá suporte a filtragem de dispositivo.Determines whether the specified data type supports device filtering.
public:
static bool IsTypeFilterable(Type ^ type);
public static bool IsTypeFilterable (Type type);
static member IsTypeFilterable : Type -> bool
Public Shared Function IsTypeFilterable (type As Type) As Boolean
Parâmetros
- type
- Type
Um Type que representa o tipo de dados a ser testado.A Type that represents the data type to test.
Retornos
true se o tipo de dados contido no parâmetro type dá suporte a filtragem de dispositivos; caso contrário, false.true if the data type contained in the type parameter supports device filtering; otherwise, false.
Exceções
O parâmetro type é null.The type parameter is null.
Comentários
Use o IsTypeFilterable método para determinar se o tipo especificado oferece suporte à filtragem de dispositivos.Use the IsTypeFilterable method to determine whether the specified type supports device filtering. Um tipo oferece suporte à filtragem de dispositivos se ele tiver um FilterableAttribute atributo aplicado a ele.A type supports device filtering if it has a FilterableAttribute attribute applied to it.