C++ managed profile stereotypes



The profile table and description in this section does not include the tagged value inherited from other profiles.

Stereotype

C++ManagedClass



NameMeta ClassConstraints

C++ManagedClass

Class

Represent the class declaration with version 1 of Managed Extension for C++.

TagTypeDescription

managedType

managedType[1] = __gc (enumeration)

See managedType



C++ManagedStruct


NameMeta ClassConstraints

C++ManagedStruct

Class

Represent the class declaration with version 1 of Managed Extension for C++.


C++ManagedOperation



NameMeta ClassConstraints

C++ManagedOperation

Operation


TagTypeDescription
__propertyboolean[1] = false

Represent the usage of __property keyword. It is a feature in version 1 of Managed Extension for C++.


C++ManagedDelegate



NameMeta ClassConstraints

C++ManagedDelegate

Class

Represent the delegate declaration with version 1 of Managed Extension for C++. It defines a reference type that can be used to encapsulate a method with a specific signature. 

Enumeration

managedType


LiteralDescription
__gcRepresent managed declaration with __gc keyword.
__nogcRepresent the usage of __nogc keyword, which is used to explicitly specify that an object is allocated on the standard C++ heap.
__valueRepresent managed declaration with __value keyword. A __value type differs from __gc types in that __value type variables directly contain their data, whereas managed variables point to their data, which is stored on the common language runtime heap.