Share via


ProtoGroup Class

Contains the information to re-create an ElementGroup in the context of any store.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ProtoGroup

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ProtoGroup _
    Implements ISerializable
[SerializableAttribute]
public sealed class ProtoGroup : ISerializable
[SerializableAttribute]
public ref class ProtoGroup sealed : ISerializable
[<Sealed>]
[<SerializableAttribute>]
type ProtoGroup =  
    class 
        interface ISerializable 
    end
public final class ProtoGroup implements ISerializable

The ProtoGroup type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetObjectData Populate the serialization info with this object's data.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ReconstituteGroup Create a clone of this prototype's progenitor ElementGroup associated with the specified partition.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Recreating an ElementGroup assumes that the elements and ElementLinks in the group have already been created in the store by the parent ElementGroupPrototype.

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