Share via


IVsWebFormDesignerSupport.AddReference(String) Method

Definition

Adds a reference to the specified page.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 int AddReference(System::String ^ pszReference);
public:
 int AddReference(Platform::String ^ pszReference);
int AddReference(std::wstring const & pszReference);
public int AddReference (string pszReference);
abstract member AddReference : string -> int
Public Function AddReference (pszReference As String) As Integer

Parameters

pszReference
String

[in] A string containing the full path to the web page to add.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT IVsWebFormDesignerSupport::AddReference(  
   [in] LPCWSTR pszReference  
);  

Applies to