Freigeben über


IVsAppCompat.GetCurrentDesignTimeCompatVersion Method

Gets the current design time-compatibility version for this version of Visual Studio.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Sub GetCurrentDesignTimeCompatVersion ( _
    <OutAttribute> ByRef pbstrCurrentDesignTimeCompatVersion As String _
)
void GetCurrentDesignTimeCompatVersion(
    out string pbstrCurrentDesignTimeCompatVersion
)
void GetCurrentDesignTimeCompatVersion(
    [OutAttribute] String^% pbstrCurrentDesignTimeCompatVersion
)
abstract GetCurrentDesignTimeCompatVersion : 
        pbstrCurrentDesignTimeCompatVersion:string byref -> unit
function GetCurrentDesignTimeCompatVersion(
    pbstrCurrentDesignTimeCompatVersion : String
)

Parameters

  • pbstrCurrentDesignTimeCompatVersion
    Type: String%

    [out] The current design-time compatibility version (for example, “11.0”).

Remarks

For more information, see How to: Modify a Project System So That Projects Load in Multiple Versions of Visual Studio.

.NET Framework Security

See Also

Reference

IVsAppCompat Interface

Microsoft.VisualStudio.Shell.Interop Namespace