C++/CLI

E34640

C++/CLI is a Microsoft extension of the C++ language designed to interoperate seamlessly with the .NET runtime and managed code.

Jump to: Surface forms Statements Referenced by

Observed surface forms (1)

Surface form Occurrences
Managed Extensions for C++ 1

Statements (55)

Predicate Object
instanceOf C++ dialect
Microsoft technology
programming language
allows P/Invoke-style interop
automatic marshaling between managed and native types
direct use of .NET libraries from C++
mixed-mode DLLs
basedOn C++
category CLI language
compatibleWith Common Language Infrastructure
compilesTo Microsoft Intermediate Language
surface form: MSIL
compilesWith Visual Studio
surface form: Microsoft Visual C++
designedFor .NET Framework
Common Language Runtime
surface form: .NET runtime

Common Language Runtime
managed code interoperability
developer Microsoft
documentation Microsoft Docs
ECMANumber ECMA-372
fileExtension .cpp
.h
influencedBy ISO/IEC 14882
surface form: ISO C++
introducedIn mid-2000s
memoryManagement garbage collection for managed objects
manual management for native objects
platform Windows
primaryUse interop between native C++ and .NET
mixed-mode assemblies
wrapping native C++ libraries for .NET
replaced C++/CLI self-linksurface differs
surface form: Managed Extensions for C++
runsOn .NET Core
surface form: .NET 5+ (Windows-focused)

.NET Core
surface form: .NET Core (limited support)

.NET Framework
standardizedBy ECMA International
surface form: ECMA
status supported mainly on Windows
supports delegates
events
exceptions
generics
managed types
mixed managed and native code
operator overloading
properties
templates
unmanaged types
syntaxFeature event syntax
gcnew keyword
hat pointer (^) for handles to managed objects
interface class keyword
property syntax
ref class keyword
tracking reference (%)
value class keyword
targetAudience C++ developers using .NET
toolchain MSVC

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

C++/CLI replaced C++/CLI self-linksurface differs
this entity surface form: Managed Extensions for C++