Propriedade VCLinkerTool.StackCommitSize

Obtém ou define um valor que indica o tamanho total na pilha de alocação de memória física.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (em Microsoft.VisualStudio.VCProjectEngine.dll)

Sintaxe

'Declaração
Property StackCommitSize As Integer
int StackCommitSize { get; set; }
property int StackCommitSize {
    int get ();
    void set (int value);
}
abstract StackCommitSize : int with get, set
function get StackCommitSize () : int
function set StackCommitSize (value : int)

Valor de propriedade

Tipo: System.Int32
O tamanho total da pilha.

Comentários

StackCommitSize expõe a funcionalidade de opção de vinculador de / PILHA (alocações de pilha) .

Consulte Como: compilar o código de exemplo para extensibilidade do modelo de projeto para obter informações sobre como criar e executar esse exemplo.

Exemplos

O exemplo a seguir altera a propriedade de StackCommitSize no integrated development environment (IDE):

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
  Sub Test()
    Dim prj As VCProject
    Dim cfgs, tools As IVCCollection
    Dim cfg As VCConfiguration
    Dim tool As VCLinkerTool
    prj = DTE.Solution.Projects.Item(1).Object
    cfgs = prj.Configurations
    cfg = cfgs.Item(1)
    tool = cfg.Tools("VCLinkerTool")
    tool.StackCommitSize = 4096
  End Sub
End Module

Segurança do .NET Framework

Consulte também

Referência

VCLinkerTool Interface

Namespace Microsoft.VisualStudio.VCProjectEngine