Partager via


CreateReference Method

 

Creates an instance of IReference Interface for the given name and hint path.

Syntax

HRESULT CreateReference( BSTR bstrName, BSTR bstrHintPath, IReference** ppReference);

Parameters

bstrName

[in] The name of the reference.

bstrHintPath

[in] A hint path to the reference assembly.

ppReference

[out, retval] The created new IReference Interface instance.

Return Value

One of the standard HRESULT values.

Remarks

This method is defined in the file vsta.h.

Requirements

DLL

VstaCore.dll

Library

VstaCore.lib

Header

Vsta.h

See Also

IReference Interface