次の方法で共有


IProject::AddFile

 

Adds a new file to the project.

Syntax

HRESULT AddFile(const BSTR bstrName, IStream *pStream);  

Parameters

bstrName

[in] The name of the file.

pStream

[in] The IStream Interface for the content of the file.

Return Value

One of the standard HRESULT values.

Requirements

Type Library VstaCore.tlb
Header VstaCore.h

See Also

IProject Interface