DataProtectionPermission.ToXml メソッド
アセンブリ: System.Security (system.security.dll 内)

Dim instance As DataProtectionPermission Dim returnValue As SecurityElement returnValue = instance.ToXml
アクセス許可のステータス情報を含む XML エンコーディング。


ToXml メソッドを使用するコード例を次に示します。このコード例は、DataProtectionPermission クラスのトピックで取り上げているコード例の一部分です。
WriteLine("Using an XML roundtrip to reset the fourth permission.") sp4.FromXml(sp2.ToXml()) Write("Does the XML roundtrip result equal the original permission? ") If (sp4.Equals(sp2)) Then WriteLine("Yes") Else WriteLine("No") End If

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に収録されているすべての辞書からDataProtectionPermission.ToXml メソッドを検索する場合は、下記のリンクをクリックしてください。

- DataProtectionPermission.ToXml メソッドのページへのリンク