VCReferences::AddActiveXReferenceEx Method (String^, Int32, Int32, Int32, String^, Boolean)

 

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,
	[OutAttribute] 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.

Return to top
Show: