Sdílet prostřednictvím


IDatabaseReferenceContainer.AddReference – metoda (VSCOMPONENTSELECTORDATA, String)

Přidá nový odkaz na projekt.

Obor názvů:  Microsoft.VisualStudio.Data.Schema.Package.Project
Sestavení:  Microsoft.VisualStudio.Data.Schema.Package (v Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntaxe

'Deklarace
Function AddReference ( _
    selectorData As VSCOMPONENTSELECTORDATA, _
    includePath As String _
) As IDatabaseReferenceNode
IDatabaseReferenceNode AddReference(
    VSCOMPONENTSELECTORDATA selectorData,
    string includePath
)
IDatabaseReferenceNode^ AddReference(
    VSCOMPONENTSELECTORDATA selectorData, 
    String^ includePath
)
abstract AddReference : 
        selectorData:VSCOMPONENTSELECTORDATA * 
        includePath:string -> IDatabaseReferenceNode 
function AddReference(
    selectorData : VSCOMPONENTSELECTORDATA, 
    includePath : String
) : IDatabaseReferenceNode

Parametry

  • includePath
    Typ: System.String
    Hodnota atributu zahrnout MSBuild zboží.

Vrácená hodnota

Typ: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseReferenceNode
Vytvořený odkaz.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

IDatabaseReferenceContainer Rozhraní

AddReference – přetížení

Microsoft.VisualStudio.Data.Schema.Package.Project – obor názvů