IVsFrameworkMultiTargeting::IsReferenceableInTargetFx Method (String^, String^, Boolean)

 

Indicates whether the provided assembly name/specification is part of the specified target framework.

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

int IsReferenceableInTargetFx(
	String^ pwszAssemblySpec,
	String^ pwszTargetFrameworkMoniker,
	[OutAttribute] bool% pbIsReferenceable
)

Parameters

pwszAssemblySpec
Type: System::String^

[in] The assembly name/specification to check.

pwszTargetFrameworkMoniker
Type: System::String^

[in] The moniker of the target framework.

pbIsReferenceable
Type: System::Boolean

[out, retval] Returns true if the assembly name/specification is part 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: