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

 public CopyPasteProperties CreateCopyPasteProperties(CopyPasteType typeMask)
Public Function CreateCopyPasteProperties(ByVal typeMask As CopyPasteType) As CopyPasteProperties

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

A CopyPasteProperties object.

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

Used with the Worksheet.CopyPaste method of the Worksheet.


          CopyPasteProperties properties =
               ws.CreateCopyPasteProperties(
               CopyPasteProperties.ValuesOnly);
        

          Dim properties As CopyPasteProperties = _
               ws.CreateCopyPasteProperties( _
               CopyPasteProperties.ValuesOnly)