Export (0) Print
Expand All

IVsSolution.GetUniqueNameOfProject Method

Returns the unique name, given a project in the solution.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int GetUniqueNameOfProject (
	[InAttribute] IVsHierarchy pHierarchy,
	out string pbstrUniqueName
)
int GetUniqueNameOfProject (
	/** @attribute InAttribute() */ IVsHierarchy pHierarchy, 
	/** @attribute OutAttribute() */ /** @ref */ String pbstrUniqueName
)
JScript does not support passing value-type arguments by reference.

Parameters

pHierarchy

[in] Pointer to the IVsHierarchy interface of the project.

pbstrUniqueName

[out] Pointer to the unique name of the project.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsSolution::GetUniqueNameOfProject(
   [in] IVsHierarchy *pHierarchy,
   [out] BSTR *pbstrUniqueName
);

Community Additions

ADD
Show:
© 2014 Microsoft