InterfaceImplementedInVersionAttribute(Type, Byte, Byte, Byte, Byte) Constructor

Definition

Initializes a new instance of the InterfaceImplementedInVersionAttribute class, specifying the interface that the target type implements and the version in which that interface was first implemented.

C#
public InterfaceImplementedInVersionAttribute(Type interfaceType, byte majorVersion, byte minorVersion, byte buildVersion, byte revisionVersion);

Parameters

interfaceType
Type

The interface that was first implemented in the specified version of the target type.

majorVersion
Byte

The major component of the version of the target type that first implemented interfaceType.

minorVersion
Byte

The minor component of the version of the target type that first implemented interfaceType.

buildVersion
Byte

The build component of the version of the target type that first implemented interfaceType.

revisionVersion
Byte

The revision component of the version of the target type that first implemented interfaceType.

Applies to

منتج الإصدارات
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
UWP 10.0