IVsFrameworkMultiTargeting.IsReferenceableInTargetFx Method

Definition

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

C#
public int IsReferenceableInTargetFx(string pwszAssemblySpec, string pwszTargetFrameworkMoniker, out bool pbIsReferenceable);

Parameters

pwszAssemblySpec
String

[in] The assembly name/specification to check.

pwszTargetFrameworkMoniker
String

[in] The moniker of the target framework.

pbIsReferenceable
Boolean

[out, retval] Returns true if the assembly name/specification is part of the target framework.

Returns

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

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022