共用方式為


DslDefinitionModelSerializationHelperBase.ReadExtensions Method

Definition

Read any extension data written inside this XML element

protected public:
 virtual void ReadExtensions(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlReader ^ reader);
protected internal virtual void ReadExtensions (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlReader reader);
abstract member ReadExtensions : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
override this.ReadExtensions : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
Protected Friend Overridable Sub ReadExtensions (serializationContext As SerializationContext, element As ModelElement, reader As XmlReader)

Parameters

serializationContext
SerializationContext

The current serialization context instance.

element
ModelElement

In-memory ModelElement instance that is currently being read.

reader
XmlReader

Reader for the file being read. The reader is positioned after the attributes of the specified element.

Remarks

The method reads any extension element data, regardless of whether it relates the current element or not. There may be no additional data for the specified element.

Applies to