Share via


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)

Syntax

'Declaration
Property ManagedExtensions As compileAsManagedOptions
    Get
    Set
compileAsManagedOptions ManagedExtensions { get; set; }
property compileAsManagedOptions ManagedExtensions {
    compileAsManagedOptions get ();
    void set (compileAsManagedOptions value);
}
abstract ManagedExtensions : compileAsManagedOptions with get, set
function get ManagedExtensions () : compileAsManagedOptions
function set ManagedExtensions (value : compileAsManagedOptions)

Property Value

Type: Microsoft.VisualStudio.VCProjectEngine.compileAsManagedOptions
A compileAsManagedOptions enumeration.

Remarks

ManagedExtensions exposes the functionality of the C++ compiler's /clr (Common Language Runtime Compilation) 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.

.NET Framework Security

See Also

Reference

VCPropertySheet Interface

Microsoft.VisualStudio.VCProjectEngine Namespace