Aracılığıyla paylaş


ProfileSettings.Custom Özellik

Tanım

Arabirimi uygulayan IWebEventCustomEvaluator bir özel sınıfın tam türünü alır veya ayarlar.

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

Özellik Değeri

Arabirimini uygulayan IWebEventCustomEvaluator bir özel sınıfın tam türü. Varsayılan değer boş bir dizedir ("").

Öznitelikler

Örnekler

Aşağıdaki kod örneği özelliğinin Custom nasıl kullanılacağını gösterir. Bu kod örneği, sınıfı için HealthMonitoringSection sağlanan daha büyük bir örneğin parçasıdır.

profileSetting.Custom = "MyEvaluators.MyCustomeEvaluator, MyCustom.dll";
profileSetting.Custom = "MyEvaluators.MyCustomeEvaluator, MyCustom.dll"

Açıklamalar

Tür başvurusu aşağıdaki gibi oluşturulur (köşeli ayraç içindeki öğeler gerekli değildir): Ad alanı. Typename, Assemblyname[,] [Version=x,] [Culture=y,] [PublicKeyToken=z]. Örneğin, "ExampleNameSpace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"

Şunlara uygulanır

Ayrıca bkz.