Aracılığıyla paylaş


HttpCookiesSection.Domain Özellik

Tanım

Tanımlama bilgisi etki alanı adını alır veya ayarlar.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

public:
 property System::String ^ Domain { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("domain", DefaultValue="")]
public string Domain { get; set; }
[<System.Configuration.ConfigurationProperty("domain", DefaultValue="")>]
member this.Domain : string with get, set
Public Property Domain As String

Özellik Değeri

String

Tanımlama bilgisi etki alanı adı.

Öznitelikler

Örnekler

Aşağıdaki kod örneği özelliğinin Domain nasıl kullanılacağını gösterir.


// Get the current Domain.
string domainValue = 
    httpCookiesSection.Domain;

// Set the Domain.
httpCookiesSection.Domain = 
    string.Empty;

' Get the current Domain.
Dim domainValue As String = _
httpCookiesSection.Domain
' Set the Domain property.
httpCookiesSection.Domain = _
String.Empty

Şunlara uygulanır