Udostępnij za pośrednictwem


WebReference.AppSettingUrlKey Właściwość

Definicja

Pobiera klucz adresu URL odwołania do sieci Web.

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

Wartość właściwości

String

Element String zawierający klucz adresu 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