ClipboardObject Constructor (String, Object)
Initializes a new instance of the ClipboardObject class containing the specified data in the specified format.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
format As String, _
data As Object _
)
public ClipboardObject(
string format,
Object data
)
public:
ClipboardObject(
String^ format,
Object^ data
)
new :
format:string *
data:Object -> ClipboardObject
public function ClipboardObject(
format : String,
data : Object
)
Parameters
format
Type: System.StringThe class type associated with the data. See DataFormats for the predefined formats.
data
Type: System.ObjectThe data to store.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.