WebReference.AppSettingBaseUrl Property

Definition

Gets the base URL of the Web reference.

public string AppSettingBaseUrl { get; }

Property Value

A String containing the base URL of the Web reference.

Examples

The following code example illustrates the use of this property. This code example is part of a larger example provided for the WebReference class.

// Print some information about the web reference.
Console.WriteLine("Base Url = {0}", reference.AppSettingBaseUrl);
Console.WriteLine("Url Key = {0}", reference.AppSettingUrlKey);
Console.WriteLine("Documents = {0}", reference.Documents.Count);

Applies to

Produkt Verze
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1