CompilationSection.UrlLinePragmas Propriedade

Definição

Recebe ou define um valor que indica se as instruções para o compilador usam caminhos físicos ou URLs.

public:
 property bool UrlLinePragmas { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("urlLinePragmas", DefaultValue=false)]
public bool UrlLinePragmas { get; set; }
[<System.Configuration.ConfigurationProperty("urlLinePragmas", DefaultValue=false)>]
member this.UrlLinePragmas : bool with get, set
Public Property UrlLinePragmas As Boolean

Valor de Propriedade

true se as instruções para o compilador usarem URLs em vez de caminhos físicos; caso contrário, false. A predefinição é false.

Atributos

Exemplos

O exemplo de código seguinte demonstra como usar a UrlLinePragmas propriedade. Este exemplo de código faz parte de um exemplo maior fornecido para a CompilationSection classe.

// Display UrlLinePragmas property.
Console.WriteLine("UrlLinePragmas: {0}", 
  configSection.UrlLinePragmas);

// Set UrlLinePragmas property.
configSection.UrlLinePragmas = false;
' Display UrlLinePragmas property.
Console.WriteLine("UrlLinePragmas: {0}", _
 configSection.UrlLinePragmas)

' Set UrlLinePragmas property.
configSection.UrlLinePragmas = False

Observações

Se esta propriedade for especificada como true na configuração, URLs serão usadas para as instruções do compilador em vez de caminhos físicos.

Aplica-se a