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.
- stream
Type: System.IO.Stream
The stream used to create the reference file.
Implements
IProjectSystemAddReference(String, Stream)