Compartilhar via


ProtoPropertyValue Class

Contains the information necessary to populate an attribute value for a particular model element.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ProtoPropertyValue

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

Syntax

'Declaração
<SerializableAttribute> _
Public NotInheritable Class ProtoPropertyValue _
    Implements ISerializable
[SerializableAttribute]
public sealed class ProtoPropertyValue : ISerializable
[SerializableAttribute]
public ref class ProtoPropertyValue sealed : ISerializable
[<Sealed>]
[<SerializableAttribute>]
type ProtoPropertyValue =  
    class
        interface ISerializable
    end
public final class ProtoPropertyValue implements ISerializable

The ProtoPropertyValue type exposes the following members.

Constructors

  Name Description
Public method ProtoPropertyValue(PropertyAssignment) Creates an instance of the ProtoPropertyValue class.
Public method ProtoPropertyValue(Guid, Object) Creates an instance of the ProtoPropertyValue class.

Top

Properties

  Name Description
Public property DomainPropertyId Gets the Domain Property Id.
Public property PropertyValue Gets the property value.

Top

Methods

  Name Description
Public method CreatePropertyAssignment Creates an PropertyAssignment object for the property
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 GetObjectData Renders ProtoPropertyValue data for serialization.
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

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