DataGridViewRowHeaderCell.GetClipboardContent メソッド
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Protected Overrides Function GetClipboardContent ( _ rowIndex As Integer, _ firstCell As Boolean, _ lastCell As Boolean, _ inFirstRow As Boolean, _ inLastRow As Boolean, _ format As String _ ) As Object
Dim rowIndex As Integer Dim firstCell As Boolean Dim lastCell As Boolean Dim inFirstRow As Boolean Dim inLastRow As Boolean Dim format As String Dim returnValue As Object returnValue = Me.GetClipboardContent(rowIndex, firstCell, lastCell, inFirstRow, inLastRow, format)
protected override Object GetClipboardContent ( int rowIndex, bool firstCell, bool lastCell, bool inFirstRow, bool inLastRow, string format )
protected: virtual Object^ GetClipboardContent ( int rowIndex, bool firstCell, bool lastCell, bool inFirstRow, bool inLastRow, String^ format ) override
protected Object GetClipboardContent ( int rowIndex, boolean firstCell, boolean lastCell, boolean inFirstRow, boolean inLastRow, String format )
protected override function GetClipboardContent ( rowIndex : int, firstCell : boolean, lastCell : boolean, inFirstRow : boolean, inLastRow : boolean, format : String ) : Object
戻り値
Clipboard にコピーするセルの値を表す Object。


DataGridView の ClipboardCopyMode プロパティの値によっては、このメソッドがコントロールの GetClipboardContent メソッドによって呼び出され、セルを表すクリップボード形式の値が取得されます。
このメソッドの位置に関連するパラメータは、DataGridView コントロール内で選択されたセルによって定義される領域を表すデータ テーブルにおいて、このセルがどの位置にあるのかを示します。セルの位置によっては、このメソッドによってセルの値の他に書式指定情報も返される場合があります。たとえば、行の最初の列にあるセルの HTML 形式には、行の始まり示すタグが含まれています。
サポートされているクリップボード形式は、DataFormats.Text、DataFormats.UnicodeText、DataFormats.Html、および DataFormats.CommaSeparatedValue です。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- DataGridViewRowHeaderCell.GetClipboardContent メソッドのページへのリンク