Udostępnij za pośrednictwem


ISetupConfiguration.GetInstanceForPath(String) Method

Definition

Gets the instance for the given path.

public:
 Microsoft::VisualStudio::Setup::Configuration::ISetupInstance ^ GetInstanceForPath(System::String ^ path);
public:
 Microsoft::VisualStudio::Setup::Configuration::ISetupInstance ^ GetInstanceForPath(Platform::String ^ path);
Microsoft::VisualStudio::Setup::Configuration::ISetupInstance GetInstanceForPath(std::wstring const & path);
public Microsoft.VisualStudio.Setup.Configuration.ISetupInstance GetInstanceForPath (string path);
abstract member GetInstanceForPath : string -> Microsoft.VisualStudio.Setup.Configuration.ISetupInstance
Public Function GetInstanceForPath (path As String) As ISetupInstance

Parameters

path
String

Path used to determine instance

Returns

The instance for the given path.

Remarks

The returned instance may not be launchable.

Applies to