Edit

Bagikan melalui


WebReference.AppSettingUrlKey Property

Definition

Gets the URL key of the web reference.

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

Property Value

A String containing the URL key 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