VCReferences::CanAddActiveXReference Method (String^, Int32, Int32, Int32, String^)
Visual Studio 2015
Returns a value indicating whether to add the given ActiveX (COM) reference.
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::Booleantrue if it is okay to add the given ActiveX reference; otherwise, false.
Show: