ConfigurationElementInterceptor.OnDeserializeUnrecognizedAttribute Metoda

Definicja

Pobiera wartość wskazującą, czy podczas deserializacji napotkano nieznany atrybut. Zawsze zwraca wartość true.

protected:
 override bool OnDeserializeUnrecognizedAttribute(System::String ^ name, System::String ^ value);
protected override bool OnDeserializeUnrecognizedAttribute (string name, string value);
override this.OnDeserializeUnrecognizedAttribute : string * string -> bool
Protected Overrides Function OnDeserializeUnrecognizedAttribute (name As String, value As String) As Boolean

Parametry

name
String

Nazwa nierozpoznanego atrybutu.

value
String

Wartość nierozpoznanego atrybutu.

Zwraca

Zawsze zwraca wartość true, która wskazuje, że napotkano nierozpoznany atrybut.

Uwagi

Klasa ConfigurationElementInterceptor jest specjalnie zaimplementowana w celu obsługi dowolnych atrybutów i elementów zdefiniowanych przez użytkownika. Z tego powodu ta metoda zwraca true wartość , gdy .NET Framework wykryje nierozpoznany element lub atrybut, aby zachować uruchomiony analizator.

Dotyczy