IVsFrameworkMultiTargeting::GetTargetFramework Method (String^, String^, String^)

 

Retrieves the target framework moniker of the target framework.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int GetTargetFramework(
	String^ pwszAssemblyPath,
	String^ pwszTargetFrameworkIdentifier,
	[OutAttribute] String^% pbstrTargetFrameworkMoniker
)

Parameters

pwszAssemblyPath
Type: System::String^

[in] The path to an assembly.

pwszTargetFrameworkIdentifier
Type: System::String^

[in] The identifier of the target framework.

pbstrTargetFrameworkMoniker
Type: System::String^

[out, retval] The moniker of the target framework.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: