CopyOriginContext Class
Provides information about the origin of the ElementGroupPrototype.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.CopyOriginContext
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
<SerializableAttribute> _
Public Class CopyOriginContext _
Implements ISerializable
[SerializableAttribute]
public class CopyOriginContext : ISerializable
[SerializableAttribute]
public ref class CopyOriginContext : ISerializable
[<SerializableAttribute>]
type CopyOriginContext =
class
interface ISerializable
end
public class CopyOriginContext implements ISerializable
The CopyOriginContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CopyOriginContext | Initializes a new instance of the CopyOriginContext class. This is used for deserialization. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize this object. | |
GetType | Gets the Type of the current instance. (Inherited from 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. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Set | Adds the ElementGroupPrototype origin information to the ElementGroupPrototype. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.