Compartilhar via


VsExtensionMethods.GetAssemblyLocation Method

Definition

Returns the parent folder containing the assembly of the component being registered

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

Parameters

context
RegistrationAttribute.RegistrationContext

The context information from an external source of a registration attribute

Returns

The local folder or UNC location of the assembly of the component being registered

Applies to