CopyOriginContext Class

Definition

Provides information regarding the origin of the ElementGroupPrototype.

public ref class CopyOriginContext : System::Runtime::Serialization::ISerializable
[System.Serializable]
public class CopyOriginContext : System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type CopyOriginContext = class
    interface ISerializable
Public Class CopyOriginContext
Implements ISerializable
Inheritance
CopyOriginContext
Attributes
Implements

Constructors

CopyOriginContext(SerializationInfo, StreamingContext)

Initializes a new instance of the CopyOriginContext class. This is used for deserialization.

Methods

GetCopyOrigin(ElementGroup)

Returns the text that represents the origin of the ElementGroupPrototype, or String.Empty if none exists.

GetCopyOrigin(ElementGroupPrototype)

Returns the text that represents the origin of the ElementGroupPrototype, or String.Empty if not found.

GetCopyOrigin(Transaction)

Returns the text that represents the origin of the ElementGroupPrototype that is being merged during the specified transaction, or String.Empty if none exists.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize this object.

HasContext(ElementGroupPrototype)

Returns true if the elementGroupPrototype's SourceContext has a CopyOriginContext.

HasContext(Transaction)

Returns true if the transaction's ContextInfo has a CopyOriginContext.

Set(ElementGroupPrototype, String)

Adds the ElementGroupPrototype origin information to the ElementGroupPrototype.

Applies to