Partager via


VsExtensionMethods.EscapeAssemblyRelativePath Method

Definition

Returns an escaped string representing the full path of the specified folder relative to the assembly of the component being registered

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ EscapeAssemblyRelativePath(Microsoft::VisualStudio::Shell::RegistrationAttribute::RegistrationContext ^ context, System::String ^ relativeFolder);
public static string EscapeAssemblyRelativePath (this Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext context, string relativeFolder);
static member EscapeAssemblyRelativePath : Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext * string -> string
<Extension()>
Public Function EscapeAssemblyRelativePath (context As RegistrationAttribute.RegistrationContext, relativeFolder As String) As String

Parameters

context
RegistrationAttribute.RegistrationContext

The context information from an external source of a registration attribute

relativeFolder
String

The name of the folder relative to the registered assembly

Returns

The escaped path

Applies to