Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Creates a CopyPasteProperties object with the specified data type properties set.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Creates a [CopyPasteProperties|CopyPasteProperties] object with the specified data type properties set. 
{excerpt}
{signature:C#}
 public CopyPasteProperties CreateCopyPasteProperties(CopyPasteType typeMask)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function CreateCopyPasteProperties(ByVal typeMask As CopyPasteType) As CopyPasteProperties
Parameters

...

A CopyPasteProperties constant value indicating the types of data to copy from an external worksheet.

Returns

A CopyPasteProperties object.

Remarks

This object is used when copying data from an external worksheet.

Used with the Worksheet.CopyPaste method of the Worksheet.

{signature}
{parameters}
{param:typeMask}A CopyPasteProperties constant value indicating the types of data to copy from an external worksheet.{param}
{returns}A {{CopyPasteProperties}} object.{returns}
{remarks}
 This object is used when copying data from an external worksheet.

Used with the [Worksheet.CopyPaste|Worksheet.CopyPaste(string, Area, CopyPasteProperties)] method of the [Worksheet].

{remarks}
{example}{code:csharp|title=C#}

          CopyPasteProperties properties =
               ws.CreateCopyPasteProperties(
               CopyPasteProperties.ValuesOnly);
        
{code}
{code:vb.net
|title=vb.net
}

          Dim properties As CopyPasteProperties = _
               ws.CreateCopyPasteProperties( _
               CopyPasteProperties.ValuesOnly)
        {code}
{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle