HttpCookiesSection.Domain Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
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