VCReferences.AddProjectReferenceByIdentifierEx(String, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute une référence d'assembly (.NET) au projet sélectionné à l'aide de son identificateur unique.
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
Paramètres
- Identifier
- String
Identificateur unique de l'assembly.
- created
- Boolean
Lorsque cette méthode est retournée, elle contient une valeur true si la référence est créée ; sinon, false. Ce paramètre est passé sans être initialisé.
Retours
Chemin d’accès de l’assembly.
- Attributs
Remarques
Cette méthode est la même que la AddProjectReferenceByIdentifier méthode, mais elle comprend le created paramètre pour prendre en charge l’interopérabilité.