Megosztás a következőn keresztül:


AdvancedFilter Class

Definition

This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter. Please note AdvancedFilter is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include BoolEqualsAdvancedFilter, IsNotNullAdvancedFilter, IsNullOrUndefinedAdvancedFilter, NumberGreaterThanAdvancedFilter, NumberGreaterThanOrEqualsAdvancedFilter, NumberInAdvancedFilter, NumberInRangeAdvancedFilter, NumberLessThanAdvancedFilter, NumberLessThanOrEqualsAdvancedFilter, NumberNotInAdvancedFilter, NumberNotInRangeAdvancedFilter, StringBeginsWithAdvancedFilter, StringContainsAdvancedFilter, StringEndsWithAdvancedFilter, StringInAdvancedFilter, StringNotBeginsWithAdvancedFilter, StringNotContainsAdvancedFilter, StringNotEndsWithAdvancedFilter and StringNotInAdvancedFilter.

public abstract class AdvancedFilter
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.EventGrid.Models.UnknownAdvancedFilter))]
public abstract class AdvancedFilter : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.Models.AdvancedFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.Models.AdvancedFilter>
type AdvancedFilter = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.EventGrid.Models.UnknownAdvancedFilter))>]
type AdvancedFilter = class
    interface IJsonModel<AdvancedFilter>
    interface IPersistableModel<AdvancedFilter>
Public MustInherit Class AdvancedFilter
Public MustInherit Class AdvancedFilter
Implements IJsonModel(Of AdvancedFilter), IPersistableModel(Of AdvancedFilter)
Inheritance
AdvancedFilter
Derived
Attributes
Implements

Constructors

AdvancedFilter()

Initializes a new instance of AdvancedFilter.

Properties

Key

The field/property in the event based on which you want to filter.

Explicit Interface Implementations

IJsonModel<AdvancedFilter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AdvancedFilter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AdvancedFilter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AdvancedFilter>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AdvancedFilter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to