WebReference.AppSettingBaseUrl Właściwość

Definicja

Pobiera podstawowy adres URL odwołania do sieci Web.

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

Wartość właściwości

Element String zawierający podstawowy adres URL odwołania do sieci Web.

Przykłady

Poniższy przykład kodu ilustruje użycie tej właściwości. Ten przykład kodu jest częścią większego przykładu podanego WebReference dla klasy.

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

Dotyczy