VsExtensionMethods::GetAssemblyLocation Method (RegistrationAttribute::RegistrationContext^)

Visual Studio 2015
 

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

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

public:
[ExtensionAttribute]
static String^ GetAssemblyLocation(
	RegistrationAttribute::RegistrationContext^ context
)

Parameters

context
Type: Microsoft.VisualStudio.Shell::RegistrationAttribute::RegistrationContext^

The context information from an external source of a registration attribute.

Return Value

Type: System::String^

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

Return to top
Show: