Partager via


ElementGroupContext Class

Stores context information about an element group.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ElementGroupContext

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class ElementGroupContext _
    Implements ISerializable, IDeserializationCallback
[SerializableAttribute]
public sealed class ElementGroupContext : ISerializable, 
    IDeserializationCallback
[SerializableAttribute]
public ref class ElementGroupContext sealed : ISerializable, 
    IDeserializationCallback
[<Sealed>]
[<SerializableAttribute>]
type ElementGroupContext =  
    class
        interface ISerializable
        interface IDeserializationCallback
    end
public final class ElementGroupContext implements ISerializable, IDeserializationCallback

The ElementGroupContext type exposes the following members.

Constructors

  Name Description
Public method ElementGroupContext Creates an instance of the ElementGroupContext class.

Top

Properties

  Name Description
Public property ContextInfo Context information. Used to hold tag/value pairs

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISerializable.GetObjectData Populate the serialization info with this object's data.
Explicit interface implemetationPrivate method IDeserializationCallback.OnDeserialization Reconstruct the table here, when the entire object graph has been deserialized.

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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace