CopyPasteOptions Members


The CopyPasteOptions type exposes the following members.

Constructors

Name Description
Public method CopyPasteOptions
Creates a new instance of a CopyPasteOptions object.

Methods

Name Description
Public method Dispose
Releases all resources used by the CopyPasteOptions
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetDuplicateTypeNamesHandler
Returns current duplicate type names handler or a null reference ( Nothing in Visual Basic) if none is set.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method SetDuplicateTypeNamesHandler
Sets a custom duplicate type names handler. If this value is not set, the default handler is used. By default, Revit displays a modal dialog with options to either copy new types only, or cancel the operation.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also