Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Takes two target frameworks and compares them for compatibility.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function CheckFrameworkCompatibility ( _
pwszTargetFrameworkMonikerSource As String, _
pwszTargetFrameworkMonikerTarget As String, _
<OutAttribute> ByRef pdwCompat As UInteger _
) As Integer
int CheckFrameworkCompatibility(
string pwszTargetFrameworkMonikerSource,
string pwszTargetFrameworkMonikerTarget,
out uint pdwCompat
)
int CheckFrameworkCompatibility(
[InAttribute] String^ pwszTargetFrameworkMonikerSource,
[InAttribute] String^ pwszTargetFrameworkMonikerTarget,
[OutAttribute] unsigned int% pdwCompat
)
abstract CheckFrameworkCompatibility :
pwszTargetFrameworkMonikerSource:string *
pwszTargetFrameworkMonikerTarget:string *
pdwCompat:uint32 byref -> int
function CheckFrameworkCompatibility(
pwszTargetFrameworkMonikerSource : String,
pwszTargetFrameworkMonikerTarget : String,
pdwCompat : uint
) : int
Parameters
pwszTargetFrameworkMonikerSource
Type: String[in] The source target framework to compare.
pwszTargetFrameworkMonikerTarget
Type: String[in] The second target framework to compare.
pdwCompat
Type: UInt32%[out, retval] The result of the comparison. Returns VSFRAMEWORKCOMPATIBILITY_COMPATIBLE (0) to mean compatible. Otherwise it sets the bits to indicate the target framework moniker components that are incompatible, as described in the __VSFRAMEWORKCOMPATIBILITY enumeration.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.