﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ComCompatibleVersionAttribute" FullName="System.Runtime.InteropServices.ComCompatibleVersionAttribute"><TypeSignature Language="C#" Value="public sealed class ComCompatibleVersionAttribute : Attribute" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ComCompatibleVersionAttribute extends System.Attribute" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Attribute</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.AttributeUsage(System.AttributeTargets.Assembly, Inherited=false)</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You can apply this attribute to assemblies.</para><para>By default, the <format type="text/html"><a href="A487D61B-D166-467B-A7CA-D8B52FBFF42D">[&lt;topic://cpgrfTypeLibraryExporterTlbexpexe&gt;]</a></format> uses an assembly's version number to calculate class identifiers (CLSIDs). All public, COM-visible classes receive new CLSIDs each time you export a new assembly version.</para><para>You can apply the ComCompatibleVersionAttribute attribute to force all CLSIDs for classes in the current version of an assembly to be the same as CLSIDs for classes in an earlier version of the assembly. As long as the CLSIDs remain the same, a legacy COM application can use the later version of a compatible assembly after you uninstall the original assembly. If you apply the <see cref="T:System.Runtime.InteropServices.GuidAttribute" /> to a class to explicitly set its CLSID, the ComCompatibleVersionAttribute has no effect.</para><para>The properties of this attribute combine to form the four parts of an assembly version. Always specify the lowest version that the current assembly is backward compatible with so that version is used to calculate all CLSIDs in the assembly.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Indicates to a COM client that all classes in the current version of an assembly are compatible with classes in an earlier version of the assembly.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ComCompatibleVersionAttribute (int major, int minor, int build, int revision);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 major, int32 minor, int32 build, int32 revision) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="major" Type="System.Int32" /><Parameter Name="minor" Type="System.Int32" /><Parameter Name="build" Type="System.Int32" /><Parameter Name="revision" Type="System.Int32" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComCompatibleVersionAttribute" /> class with the major version, minor version, build, and revision numbers of the assembly.</para></summary><param name="major"><attribution license="cc4" from="Microsoft" modified="false" />The major version number of the assembly. </param><param name="minor"><attribution license="cc4" from="Microsoft" modified="false" />The minor version number of the assembly. </param><param name="build"><attribution license="cc4" from="Microsoft" modified="false" />The build number of the assembly. </param><param name="revision"><attribution license="cc4" from="Microsoft" modified="false" />The revision number of the assembly. </param></Docs></Member><Member MemberName="BuildNumber"><MemberSignature Language="C#" Value="public int BuildNumber { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 BuildNumber" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the build number of the assembly.</para></summary></Docs></Member><Member MemberName="MajorVersion"><MemberSignature Language="C#" Value="public int MajorVersion { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 MajorVersion" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the major version number of the assembly.</para></summary></Docs></Member><Member MemberName="MinorVersion"><MemberSignature Language="C#" Value="public int MinorVersion { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 MinorVersion" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the minor version number of the assembly.</para></summary></Docs></Member><Member MemberName="RevisionNumber"><MemberSignature Language="C#" Value="public int RevisionNumber { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 RevisionNumber" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the revision number of the assembly.</para></summary></Docs></Member></Members></Type>