DslDefinitionModelSerializationHelperBase.CheckVersion Method
Checks the version of the file being read.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Protected Overridable Sub CheckVersion ( _
serializationContext As SerializationContext, _
reader As XmlReader _
)
protected virtual void CheckVersion(
SerializationContext serializationContext,
XmlReader reader
)
protected:
virtual void CheckVersion(
SerializationContext^ serializationContext,
XmlReader^ reader
)
abstract CheckVersion :
serializationContext:SerializationContext *
reader:XmlReader -> unit
override CheckVersion :
serializationContext:SerializationContext *
reader:XmlReader -> unit
protected function CheckVersion(
serializationContext : SerializationContext,
reader : XmlReader
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
Serialization context.
- reader
Type: System.Xml.XmlReader
Reader for the file being read. The reader is positioned at the open tag of the root element being read.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.