This documentation is archived and is not being maintained.

VCPropertySheet.ManagedExtensions Property 

Gets or sets a value indicating that this configuration uses Visual C++.

Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in microsoft.visualstudio.vcprojectengine.dll)

Property ManagedExtensions As compileAsManagedOptions
Dim instance As VCPropertySheet
Dim value As compileAsManagedOptions

value = instance.ManagedExtensions

instance.ManagedExtensions = value
/** @property */
compileAsManagedOptions get_ManagedExtensions ()

/** @property */
void set_ManagedExtensions (/** @attribute InAttribute() */ compileAsManagedOptions Managed)

function get ManagedExtensions () : compileAsManagedOptions

function set ManagedExtensions (Managed : compileAsManagedOptions)

Property Value

A compileAsManagedOptions enumeration.

ManagedExtensions exposes the functionality of the C++ compiler's /clr option.

If you set this property instead of the compiler tool's CompileAsManaged property, then other, related properties for the linker and VCWebServiceProxyGeneratorTool are set for you as well. Setting the compiler's CompileAsManaged property directly overrides the ManagedExtensions property on the configuration.