Bagikan melalui


ProtoPropertyValue Class

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

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.ProtoPropertyValue

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

Syntax

'Declaration
<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.)
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.)
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