次の方法で共有


IProject::GetProjectItem

 

Gets the project item file with the specified name.

Syntax

HRESULT GetProjectItem(BSTR bstrName, IProjectItem **ppProjectItem);  

Parameters

bstrName

[in] The name of the projectItem to get.

ppProjectItem

[out, retval] The IProjectItem interface for accessing the projectItem.

Return Value

One of the standard HRESULT values.

Requirements

Type Library VstaCore.tlb
Header VstaCore.h

See Also

IProject Interface