IVsContainedLanguageHost.InsertReference(UInt16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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"