Partager via


IVsFrameworkMultiTargeting.IsReferenceableInTargetFx Method

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)

Syntax

'Declaration
Function IsReferenceableInTargetFx ( _
    pwszAssemblySpec As String, _
    pwszTargetFrameworkMoniker As String, _
    <OutAttribute> ByRef pbIsReferenceable As Boolean _
) As Integer
int IsReferenceableInTargetFx(
    string pwszAssemblySpec,
    string pwszTargetFrameworkMoniker,
    out bool pbIsReferenceable
)
int IsReferenceableInTargetFx(
    [InAttribute] String^ pwszAssemblySpec, 
    [InAttribute] String^ pwszTargetFrameworkMoniker, 
    [OutAttribute] bool% pbIsReferenceable
)
abstract IsReferenceableInTargetFx : 
        pwszAssemblySpec:string * 
        pwszTargetFrameworkMoniker:string * 
        pbIsReferenceable:bool byref -> int
function IsReferenceableInTargetFx(
    pwszAssemblySpec : String, 
    pwszTargetFrameworkMoniker : String, 
    pbIsReferenceable : boolean
) : int

Parameters

  • pwszAssemblySpec
    Type: String

    [in] The assembly name/specification to check.

  • pwszTargetFrameworkMoniker
    Type: String

    [in] The moniker of the target framework.

  • pbIsReferenceable
    Type: Boolean%

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsFrameworkMultiTargeting Interface

Microsoft.VisualStudio.Shell.Interop Namespace