Redigera

Dela via


WebReference.AppSettingBaseUrl Property

Definition

Gets the base URL of the Web reference.

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

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