ConfigurationPropertyAttribute.IsKey プロパティ
アセンブリ: System.Configuration (system.configuration.dll 内)

Dim instance As ConfigurationPropertyAttribute Dim value As Boolean value = instance.IsKey instance.IsKey = value
プロパティが、コレクションの要素に対する主要プロパティの場合は true。それ以外の場合は false。既定値は false です。


<ConfigurationProperty("fileName", _ DefaultValue:="default.txt", _ IsRequired:=True, _ IsKey:=False), _ StringValidator( _ InvalidCharacters:=" ~!@#$%^&*()[]{}/;'""|\", _ MinLength:=1, _ MaxLength:=60)> _ Public Property FileName() As String Get Return CStr(Me("fileName")) End Get Set(ByVal value As String) Me("fileName") = value End Set End Property
[ConfigurationProperty("fileName", DefaultValue = "default.txt" , IsRequired = true, IsKey = false)] [StringValidator(InvalidCharacters = " ~!@#$%^&*()[]{}/;'\"|\\" , MinLength = 1, MaxLength = 60)] public string FileName { get { return (string)this["fileName"]; } set { this["fileName"] = value; } }

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からConfigurationPropertyAttribute.IsKey プロパティを検索する場合は、下記のリンクをクリックしてください。

- ConfigurationPropertyAttribute.IsKey プロパティのページへのリンク