IAttributeAccessor.SetAttribute メソッド
アセンブリ: System.Web (system.web.dll 内)

Dim instance As IAttributeAccessor Dim key As String Dim value As String instance.SetAttribute(key, value)

SetAttribute メソッドを実装する方法を次のコード例に示します。
' Implement the SetAttribute method for the control. When ' this method is called from a page, the control's properties ' are set to values defined in the page. Public Sub SetAttribute(name As String, value1 As String) Implements IAttributeAccessor.SetAttribute ViewState(name) = value1 End Sub 'SetAttribute

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


- IAttributeAccessor.SetAttribute メソッドのページへのリンク