DataFormats.Format コンストラクタ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)


名前と一意の ID 番号の新しい形式を作成するコード例を次に示します。この新しい形式では、Windows ハンドルが不要です。この例は、textBox1 がインスタンス化されていることを前提にしています。
Private Sub CreateMyFormat2() Dim myFormat As New DataFormats.Format("AnotherNewFormat", 20916) ' Displays the contents of myFormat. textBox1.Text = "ID value: " + myFormat.Id.ToString() + ControlChars.Cr _ + "Format name: " + myFormat.Name End Sub

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


- DataFormats.Format コンストラクタのページへのリンク