VCReferences.AddProjectReferenceByIdentifierEx(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an assembly (.NET) reference to the selected project using its unique identifier.
public:
System::Object ^ AddProjectReferenceByIdentifierEx(System::String ^ Identifier, [Runtime::InteropServices::Out] bool % created);
winrt::Windows::Foundation::IInspectable AddProjectReferenceByIdentifierEx(std::wstring const & Identifier, [Runtime::InteropServices::Out] bool & created);
[System.Runtime.InteropServices.DispId(916)]
public object AddProjectReferenceByIdentifierEx (string Identifier, out bool created);
[<System.Runtime.InteropServices.DispId(916)>]
abstract member AddProjectReferenceByIdentifierEx : string * bool -> obj
Public Function AddProjectReferenceByIdentifierEx (Identifier As String, ByRef created As Boolean) As Object
Parameters
- Identifier
- String
Unique identifier of the assembly.
- created
- Boolean
When this method returns, contains true
if the reference is created; otherwise, false
. This parameter is passed uninitialized.
Returns
The path of the assembly.
- Attributes
Remarks
This method is the same as the AddProjectReferenceByIdentifier method, but includes the created
parameter to support interoperability.