Partilhar via


IVsFrameworkMultiTargeting.IsReferenceableInTargetFx Method

Definition

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

public:
 int IsReferenceableInTargetFx(System::String ^ pwszAssemblySpec, System::String ^ pwszTargetFrameworkMoniker, [Runtime::InteropServices::Out] bool % pbIsReferenceable);
int IsReferenceableInTargetFx(std::wstring const & pwszAssemblySpec, std::wstring const & pwszTargetFrameworkMoniker, [Runtime::InteropServices::Out] bool & pbIsReferenceable);
public int IsReferenceableInTargetFx (string pwszAssemblySpec, string pwszTargetFrameworkMoniker, out bool pbIsReferenceable);
abstract member IsReferenceableInTargetFx : string * string * bool -> int
Public Function IsReferenceableInTargetFx (pwszAssemblySpec As String, pwszTargetFrameworkMoniker As String, ByRef pbIsReferenceable As Boolean) As Integer

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