次の方法で共有


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

'宣言
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

  • 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

See Also

Reference

DslDefinitionModelSerializationHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace