你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StartMenuItem Class

Definition

Represents a StartMenuItem definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.StartMenuItemTypeConverter))]
public class StartMenuItem : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IStartMenuItem, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.StartMenuItemTypeConverter))>]
type StartMenuItem = class
    interface IStartMenuItem
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class StartMenuItem
Implements IStartMenuItem, IValidates
Inheritance
StartMenuItem
Attributes
Implements

Constructors

StartMenuItem()

Creates an new StartMenuItem instance.

Properties

AppAlias

Alias of StartMenuItem.

CommandLineArgument

Command line arguments for StartMenuItem.

FilePath

Path to the file of StartMenuItem.

IconIndex

Index of the icon.

IconPath

Path to the icon.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StartMenuItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StartMenuItem.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IStartMenuItem.

FromJsonString(String)

Creates a new instance of StartMenuItem, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StartMenuItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to