SharedProjectUtilities::GetDeploymentRelativePath Method (IVsHierarchy^, UInt32)

Visual Studio 2015
 

Gets the deployment relative path of the given item ID.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static String^ GetDeploymentRelativePath(
	IVsHierarchy^ hierarchy,
	unsigned int itemId
)

Parameters

hierarchy
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

The project hierarchy.

itemId
Type: System::UInt32

The item ID.

Return Value

Type: System::String^

The deployment path relative to the output directory or package directory, or null if failed.

Return to top
Show: