Gemstone Common Library
Show/Hide TOC

# AssemblyExtensionsComCompatibleVersion Method

Gets the string representing the assembly version used to indicate to a COM client that all classes in the current version of the assembly are compatible with classes in an earlier version of the assembly.

## Definition

Namespace: Gemstone.Reflection.AssemblyExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
C#
View Source Request Example

    public static string ComCompatibleVersion(
    	this Assembly instance
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function ComCompatibleVersion (
    	instance As Assembly
    ) As String

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static String^ ComCompatibleVersion(
    	Assembly^ instance
    )

JavaScript
View Source Request Example

    Gemstone.Reflection.AssemblyExtensions.AssemblyExtensions.ComCompatibleVersion = function(instance);

#### Parameters

instance Assembly
  Source assembly.

#### Return Value

String
The string representing the assembly version in MajorVersion.MinorVersion.RevisionNumber.BuildNumber format.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Assembly. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

## See Also

#### Reference

AssemblyExtensions Class
Gemstone.Reflection.AssemblyExtensions Namespace