HttpModuleAction.Type Ö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.
Modül türünü alır veya ayarlar.
public:
property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("type", DefaultValue="", IsRequired=true)]
public string Type { get; set; }
[<System.Configuration.ConfigurationProperty("type", DefaultValue="", IsRequired=true)>]
member this.Type : string with get, set
Public Property Type As String
Özellik Değeri
Modül türü adını ve derleme bilgilerini içeren virgülle ayrılmış liste.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği özelliğine nasıl erişeceklerini Type gösterir.
// Get the modules collection.
HttpModuleActionCollection httpModules2 =
httpModulesSection.Modules;
string typeFound = "typeName not found.";
// Find the module with the specified type.
foreach (HttpModuleAction currentModule in httpModules2)
{
if (currentModule.Type == "typeName")
typeFound = "typeName found.";
}
' Get the modules collection.
Dim httpModules2 _
As HttpModuleActionCollection = httpModulesSection.Modules
Dim typeFound As String = _
"typeName not found."
' Find the module with the specified type.
Dim currentModule1 As HttpModuleAction
For Each currentModule1 In httpModules2
If currentModule1.Type = "typeName" Then
typeFound = "typeName found."
End If
Next currentModule1
Açıklamalar
tarafından tanımlanan derlemeyi Typebulmak için ASP.NET önce uygulamanın özel \bin dizininde ve ardından sistem derleme önbelleğinde derleme DLL'sini arar.