WebProjectSystem.AddReference Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Adds the reference with the specified path to the physical file system.

Namespace:  System.Web.WebPages.Administration.PackageManager
Assembly:  System.Web.WebPages.Administration (in System.Web.WebPages.Administration.dll)

Syntax

'Declaration
Public Sub AddReference ( _
    referencePath As String, _
    stream As Stream _
)
'Usage
Dim instance As WebProjectSystem 
Dim referencePath As String 
Dim stream As Stream

instance.AddReference(referencePath, _
    stream)
public void AddReference(
    string referencePath,
    Stream stream
)
public:
virtual void AddReference(
    String^ referencePath, 
    Stream^ stream
) sealed
abstract AddReference : 
        referencePath:string * 
        stream:Stream -> unit  
override AddReference : 
        referencePath:string * 
        stream:Stream -> unit
public final function AddReference(
    referencePath : String, 
    stream : Stream
)

Parameters

  • referencePath
    Type: System.String
    The path of the reference to add.

Implements

IProjectSystemAddReference(String, Stream)

See Also

Reference

WebProjectSystem Class

System.Web.WebPages.Administration.PackageManager Namespace