共用方式為


LoggingOptions.EventFilter Property

Definition

Gets or sets an array that contains the names of the events that are the subject of the filtering options.

public:
 property cli::array <System::String ^> ^ EventFilter { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[] EventFilter { get; set; }
member this.EventFilter : string[] with get, set
Public Property EventFilter As String()

Property Value

String[]

A String array that contains the names of the events.

Remarks

For more information, see Enabling Logging Programmatically.

Applies to