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
reference
Type: System.StringThe name of the COM DLL.
libid
Type: System.GuidA GUID that identifies the type library.
majorVersion
Type: System.Int64The major version number of the COM DLL.
minorVersion
Type: System.Int64The minor version number of the COM DLL.
lcid
Type: System.Int64The locale ID.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace