Sdílet prostřednictvím


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

Obsahující String klíč adresy URL webového odkazu.

Příklady

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

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