WebReference.AppSettingBaseUrl Vlastnost

Definice

Získá základní adresu URL odkazu na web.

public:
 property System::String ^ AppSettingBaseUrl { System::String ^ get(); };
public string AppSettingBaseUrl { get; }
member this.AppSettingBaseUrl : string
Public ReadOnly Property AppSettingBaseUrl As String

Hodnota vlastnosti

A String obsahující základní adresu URL webového odkazu.

Příklady

Následující příklad kódu ilustruje použití této vlastnosti. Tento příklad kódu je součástí většího příkladu uvedeného pro třídu WebReference.

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

Platí pro