MetadataSerializer.ReadCustomElement<T>(XmlReader, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.