IVsContainedLanguageHost.InsertReference(UInt16) Method

Definition

Adds an assembly that is currently in the global assembly cache (GAC).

public:
 int InsertReference(System::UInt16 % __MIDL_0010);
int InsertReference(unsigned short & __MIDL_0010);
public int InsertReference (ref ushort __MIDL_0010);
abstract member InsertReference : uint16 -> int
Public Function InsertReference (ByRef __MIDL_0010 As UShort) As Integer

Parameters

__MIDL_0010
UInt16

[in] A string defining the reference to be added. See Remarks for an example.

Returns

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

Remarks

An example of the string defining the System assembly:

"system,version=1.0.0.1,culture=neutral,publickeytoken=9b35aa32c8d4fb1"  

Applies to