共用方式為


DslDefinitionModelSerializationHelperBase.CheckVersion Method

Definition

Checks the version of the file being read.

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

Parameters

serializationContext
SerializationContext

Serialization context.

reader
XmlReader

Reader for the file being read. The reader is positioned at the open tag of the root element being read.

Applies to