IVsFrameworkMultiTargeting.IsReferenceableInTargetFx Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.