Поделиться через


VCPropertySheet.ManagedExtensions - свойство

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

Пространство имен:  Microsoft.VisualStudio.VCProjectEngine
Сборка:  Microsoft.VisualStudio.VCProjectEngine (в Microsoft.VisualStudio.VCProjectEngine.dll)

Синтаксис

'Декларация
Property ManagedExtensions As compileAsManagedOptions
'Применение
Dim instance As VCPropertySheet
Dim value As compileAsManagedOptions

value = instance.ManagedExtensions

instance.ManagedExtensions = value
compileAsManagedOptions ManagedExtensions { get; set; }
property compileAsManagedOptions ManagedExtensions {
    compileAsManagedOptions get ();
    void set (compileAsManagedOptions value);
}
function get ManagedExtensions () : compileAsManagedOptions
function set ManagedExtensions (value : compileAsManagedOptions)

Значение свойства

Тип: Microsoft.VisualStudio.VCProjectEngine.compileAsManagedOptions

A compileAsManagedOptions enumeration.

Заметки

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.

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Ссылки

VCPropertySheet Интерфейс

VCPropertySheet - члены

Microsoft.VisualStudio.VCProjectEngine - пространство имен