This documentation is archived and is not being maintained.

ModuleHandle.MDStreamVersion Property

Note: This property is new in the .NET Framework version 2.0.

Gets the metadata stream version.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Public ReadOnly Property MDStreamVersion As Integer
Dim instance As ModuleHandle
Dim value As Integer

value = instance.MDStreamVersion

/** @property */
public int get_MDStreamVersion ()

public function get MDStreamVersion () : int

Property Value

A 32-bit integer representing the metadata stream version. The high-order two bytes represent the major version number, and the low-order two bytes represent the minor version number.


For more information on the metadata header, see the Partition II: Metadata Definition and Semantics documentation. The documentation is available online at and

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0