WebReference.AppSettingUrlKey Vlastnost

Definice

Získá klíč adresy URL webového odkazu.

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

Hodnota vlastnosti

A String obsahující klíč adresy URL odkazu na web.

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