IExtensionHeader.IsVSEditionSupported Method
Determines whether the extension may be installed in a given version of Visual Studio.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Declaration
Function IsVSEditionSupported ( _
vsVersion As Version, _
edition As String _
) As Boolean
bool IsVSEditionSupported(
Version vsVersion,
string edition
)
bool IsVSEditionSupported(
Version^ vsVersion,
String^ edition
)
abstract IsVSEditionSupported :
vsVersion:Version *
edition:string -> bool
function IsVSEditionSupported(
vsVersion : Version,
edition : String
) : boolean
Parameters
- vsVersion
Type: System.Version
The target Visual Studio version.
- edition
Type: System.String
The Visual Studio edition.
Return Value
Type: System.Boolean
True if the extension may be installed; otherwise, False.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
.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.