Export (0) Print
Expand All

VCReferences.CanAddActiveXReference Method

Returns a value indicating whether to add the given ActiveX (COM) reference.

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

bool CanAddActiveXReference(
	string typeLibGuid,
	int majorVersion,
	int minorVersion,
	int localeID,
	string wrapper
)

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.

Return Value

Type: System.Boolean
true if it is okay to add the given ActiveX reference; otherwise, false.

Show:
© 2015 Microsoft