VCPropertySheet.ManagedExtensions Property

Definition

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

public:
 property Microsoft::VisualStudio::VCProjectEngine::compileAsManagedOptions ManagedExtensions { Microsoft::VisualStudio::VCProjectEngine::compileAsManagedOptions get(); void set(Microsoft::VisualStudio::VCProjectEngine::compileAsManagedOptions value); };
public:
 property Microsoft::VisualStudio::VCProjectEngine::compileAsManagedOptions ManagedExtensions { Microsoft::VisualStudio::VCProjectEngine::compileAsManagedOptions get(); void set(Microsoft::VisualStudio::VCProjectEngine::compileAsManagedOptions value); };
[System.Runtime.InteropServices.DispId(740)]
public Microsoft.VisualStudio.VCProjectEngine.compileAsManagedOptions ManagedExtensions { [System.Runtime.InteropServices.DispId(740)] get; [System.Runtime.InteropServices.DispId(740)] set; }
[<System.Runtime.InteropServices.DispId(740)>]
[<get: System.Runtime.InteropServices.DispId(740)>]
[<set: System.Runtime.InteropServices.DispId(740)>]
member this.ManagedExtensions : Microsoft.VisualStudio.VCProjectEngine.compileAsManagedOptions with get, set
Public Property ManagedExtensions As compileAsManagedOptions

Property Value

A compileAsManagedOptions enumeration.

Attributes

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 <xref:Microsoft.VisualStudio.VCProjectEngine.VCWebServiceProxyGeneratorTool> are set for you as well. Setting the compiler's CompileAsManaged property directly overrides the ManagedExtensions property on the configuration.

Applies to