ElementInformation.IsLocked プロパティ
アセンブリ: System.Configuration (system.configuration.dll 内)
構文
解説IsLocked プロパティは、関連する要素が AllowOverride、AllowDefinition、または LockAllAttributesExcept のいずれかのプロパティによってロックされている場合に true を返します。
使用例IsLocked プロパティを使用する方法を次のコード例に示します。
<ConfigurationProperty("name", _ DefaultValue:="MyFavorites", _ IsRequired:=True, _ IsKey:=False), _ StringValidator( _ InvalidCharacters:=" ~!@#$%^&*()[]{}/;'""|\", _ MinLength:=1, MaxLength:=60)> _ Public Property Name() As String Get Return CStr(Me("name")) End Get Set(ByVal value As String) Me("name") = value End Set End Property
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- ElementInformation.IsLocked プロパティのページへのリンク