Muokkaa

Jaa


MetadataSerializer.ReadCustomElement<T>(XmlReader, T) Method

Definition

Extensibility point for reading custom elements. By default, returns false.

protected:
generic <typename T>
 virtual bool ReadCustomElement(System::Xml::XmlReader ^ reader, T target);
protected virtual bool ReadCustomElement<T> (System.Xml.XmlReader reader, T target);
abstract member ReadCustomElement : System.Xml.XmlReader * 'T -> bool
override this.ReadCustomElement : System.Xml.XmlReader * 'T -> bool
Protected Overridable Function ReadCustomElement(Of T) (reader As XmlReader, target As T) As Boolean

Type Parameters

T

The type that represents the metadata element that is being read; for example, ContactPerson.

Parameters

reader
XmlReader

The XML reader.

target
T

An object of type T.

Returns

true if an element of type T is read; otherwise, false.

Applies to