Share via


AddedComReference Constructor

Initializes a new instance of the AddedComReference class with information about a COM reference.

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
Public Sub New ( _
    reference As String, _
    libid As Guid, _
    majorVersion As Long, _
    minorVersion As Long, _
    lcid As Long _
)
'Usage
Dim reference As String 
Dim libid As Guid 
Dim majorVersion As Long 
Dim minorVersion As Long 
Dim lcid As Long 

Dim instance As New AddedComReference(reference, _
    libid, majorVersion, minorVersion, _
    lcid)
public AddedComReference(
    string reference,
    Guid libid,
    long majorVersion,
    long minorVersion,
    long lcid
)
public:
AddedComReference(
    String^ reference, 
    Guid libid, 
    long long majorVersion, 
    long long minorVersion, 
    long long lcid
)
public function AddedComReference(
    reference : String, 
    libid : Guid, 
    majorVersion : long, 
    minorVersion : long, 
    lcid : long
)

Parameters

  • libid
    Type: System.Guid

    A GUID that identifies the type library.

  • majorVersion
    Type: System.Int64

    The major version number of the COM DLL.

  • minorVersion
    Type: System.Int64

    The minor version number of the COM DLL.

.NET Framework Security

See Also

Reference

AddedComReference Class

AddedComReference Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace