Export (0) Print
Expand All

VCReferences.AddActiveXReferenceEx Method

Adds an ActiveX (COM) reference to the project.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Object AddActiveXReferenceEx(
	string typeLibGuid,
	int majorVersion,
	int minorVersion,
	int localeID,
	string wrapper,
	out bool created
)

Parameters

typeLibGuid
Type: System.String

A string representing the type library GUID.

majorVersion
Type: System.Int32

An integer representing the major version number.

minorVersion
Type: System.Int32

An integer representing the minor version number.

localeID
Type: System.Int32

An integer representing the locale ID.

wrapper
Type: System.String

A string representing the wrapper name. Can be blank.

created
Type: System.Boolean

When this method returns, contains true if the reference is created; otherwise, false. This parameter is passed uninitialized.

Return Value

Type: System.Object
An object representing the project reference.

This method is the same as the AddActiveXReference method, but includes the created parameter to support interoperability.

Show:
© 2014 Microsoft