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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.