IDatabaseReferenceContainer.AddReference Method (VSCOMPONENTSELECTORDATA)
Adds a new reference to the project.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function AddReference ( _
selectorData As VSCOMPONENTSELECTORDATA _
) As IDatabaseReferenceNode
IDatabaseReferenceNode AddReference(
VSCOMPONENTSELECTORDATA selectorData
)
IDatabaseReferenceNode^ AddReference(
VSCOMPONENTSELECTORDATA selectorData
)
abstract AddReference :
selectorData:VSCOMPONENTSELECTORDATA -> IDatabaseReferenceNode
function AddReference(
selectorData : VSCOMPONENTSELECTORDATA
) : IDatabaseReferenceNode
Parameters
- selectorData
Type: Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA
The information about the reference that will be added.
Return Value
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseReferenceNode
The created reference.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseReferenceContainer Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace