CompilationSection.UrlLinePragmas Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die aangeeft of instructies voor de compiler fysieke paden of URL's gebruiken.

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

Waarde van eigenschap

true als instructies voor de compiler URL's gebruiken in plaats van fysieke paden; anders, false. De standaardwaarde is false.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de UrlLinePragmas eigenschap gebruikt. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor de CompilationSection klasse.

// 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

Opmerkingen

Als deze eigenschap is opgegeven zoals true in de configuratie, worden URL's gebruikt voor de compilerinstructies in plaats van fysieke paden.

Van toepassing op