SharedProjectUtilities::GetDeploymentRelativePath Method (IVsHierarchy^, UInt32)
Visual Studio 2015
Gets the deployment relative path of the given item ID.
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.
Show: