PropertyUpdate.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
Create(CommandProperty, String, AnchoredDynamicCommandMetadata)
Creates a new property update for a CommandMetadata value.
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, string commandName, Microsoft.VisualStudio.RpcContracts.Commands.AnchoredDynamicCommandMetadata value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * string * Microsoft.VisualStudio.RpcContracts.Commands.AnchoredDynamicCommandMetadata -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, commandName As String, value As AnchoredDynamicCommandMetadata) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- commandName
- String
The command name.
The property value.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, String, Nullable<Boolean>)
Creates a new property update for a bool value.
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, string commandName, bool? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * string * Nullable<bool> -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, commandName As String, value As Nullable(Of Boolean)) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- commandName
- String
The command name.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, String, Nullable<Int32>)
Creates a new property update for an int value.
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, string commandName, int? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * string * Nullable<int> -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, commandName As String, value As Nullable(Of Integer)) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- commandName
- String
The command name.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, String, Nullable<Int64>)
Creates a new property update for a long value.
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, string commandName, long? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * string * Nullable<int64> -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, commandName As String, value As Nullable(Of Long)) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- commandName
- String
The command name.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, String, String)
Creates a new property update for a string value.
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, string commandName, string? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * string * string -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, commandName As String, value As String) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- commandName
- String
The command name.
- value
- String
The property value.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, UInt16, Nullable<Boolean>)
Creates a new property update for a bool value.
public:
static Microsoft::VisualStudio::RpcContracts::Commands::PropertyUpdate Create(Microsoft::VisualStudio::RpcContracts::Commands::CommandProperty property, System::UInt16 id, Nullable<bool> value);
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, ushort id, bool? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * uint16 * Nullable<bool> -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, id As UShort, value As Nullable(Of Boolean)) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- id
- UInt16
The command id.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, UInt16, Nullable<Int32>)
Creates a new property update for an int value.
public:
static Microsoft::VisualStudio::RpcContracts::Commands::PropertyUpdate Create(Microsoft::VisualStudio::RpcContracts::Commands::CommandProperty property, System::UInt16 id, Nullable<int> value);
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, ushort id, int? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * uint16 * Nullable<int> -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, id As UShort, value As Nullable(Of Integer)) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- id
- UInt16
The command id.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, UInt16, Nullable<Int64>)
Creates a new property update for a long value.
public:
static Microsoft::VisualStudio::RpcContracts::Commands::PropertyUpdate Create(Microsoft::VisualStudio::RpcContracts::Commands::CommandProperty property, System::UInt16 id, Nullable<long> value);
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, ushort id, long? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * uint16 * Nullable<int64> -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, id As UShort, value As Nullable(Of Long)) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- id
- UInt16
The command id.
Returns
A new PropertyUpdate.
Applies to
Create(CommandProperty, UInt16, String)
Creates a new property update for a string value.
public:
static Microsoft::VisualStudio::RpcContracts::Commands::PropertyUpdate Create(Microsoft::VisualStudio::RpcContracts::Commands::CommandProperty property, System::UInt16 id, System::String ^ value);
public static Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate Create (Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty property, ushort id, string? value);
static member Create : Microsoft.VisualStudio.RpcContracts.Commands.CommandProperty * uint16 * string -> Microsoft.VisualStudio.RpcContracts.Commands.PropertyUpdate
Public Shared Function Create (property As CommandProperty, id As UShort, value As String) As PropertyUpdate
Parameters
- property
- CommandProperty
The property updated.
- id
- UInt16
The command id.
- value
- String
The property value.
Returns
A new PropertyUpdate.