다음을 통해 공유


PropertyUpdate Struct

Definition

Used to send updated command property values. This struct is immutable.

public value class PropertyUpdate : IEquatable<Microsoft::VisualStudio::RpcContracts::Commands::PropertyUpdate>
[System.Diagnostics.DebuggerDisplay("{Property}:{Value} ({Id})")]
public struct PropertyUpdate : IEquatable<Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate>
[System.Diagnostics.DebuggerDisplay("{Property}:{Value} ({CommandName})")]
[System.Runtime.Serialization.DataContract]
public struct PropertyUpdate : IEquatable<Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate>
[<System.Diagnostics.DebuggerDisplay("{Property}:{Value} ({Id})")>]
type PropertyUpdate = struct
[<System.Diagnostics.DebuggerDisplay("{Property}:{Value} ({CommandName})")>]
[<System.Runtime.Serialization.DataContract>]
type PropertyUpdate = struct
Public Structure PropertyUpdate
Implements IEquatable(Of PropertyUpdate)
Inheritance
PropertyUpdate
Attributes
Implements

Properties

CommandName

Gets the command name.

Id

Gets the command id.

Property

Gets the property updated.

Methods

Create(CommandProperty, String, AnchoredDynamicCommandMetadata)

Creates a new property update for a CommandMetadata value.

Create(CommandProperty, String, Nullable<Boolean>)

Creates a new property update for a bool value.

Create(CommandProperty, String, Nullable<Int32>)

Creates a new property update for an int value.

Create(CommandProperty, String, Nullable<Int64>)

Creates a new property update for a long value.

Create(CommandProperty, String, String)

Creates a new property update for a string value.

Create(CommandProperty, UInt16, Nullable<Boolean>)

Creates a new property update for a bool value.

Create(CommandProperty, UInt16, Nullable<Int32>)

Creates a new property update for an int value.

Create(CommandProperty, UInt16, Nullable<Int64>)

Creates a new property update for a long value.

Create(CommandProperty, UInt16, String)

Creates a new property update for a string value.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(PropertyUpdate)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

GetValueAsAnchoredDynamicCommandMetadata()

Convert the value to a AnchoredDynamicCommandMetadata.

GetValueAsBool()

Convert the value to a bool.

GetValueAsInt()

Convert the value to a int.

GetValueAsLong()

Convert the value to a long.

GetValueAsString()

Convert the value to a string.

Operators

Equality(PropertyUpdate, PropertyUpdate)

Equality comparison operator.

Inequality(PropertyUpdate, PropertyUpdate)

Inequality comparison operator.

Applies to