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

OSFamily Struct

Definition

The operating system type.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Support.OSFamilyTypeConverter))]
public struct OSFamily : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Support.OSFamily>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Support.OSFamilyTypeConverter))>]
type OSFamily = struct
    interface IArgumentCompleter
Public Structure OSFamily
Implements IArgumentCompleter, IEquatable(Of OSFamily)
Inheritance
OSFamily
Attributes
Implements

Fields

Android

Host with Android operating system.

Ios

Host with IOS operating system.

Linux

Host with Linux operating system.

Unknown

Host with Unknown operating system.

Windows

Host with Windows operating system.

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type OSFamily (override for Object)

Equals(OSFamily)

Compares values of enum type OSFamily

GetHashCode()

Returns hashCode for enum OSFamily

ToString()

Returns string representation for OSFamily

Operators

Equality(OSFamily, OSFamily)

Overriding == operator for enum OSFamily

Implicit(OSFamily to String)

Implicit operator to convert OSFamily to string

Implicit(String to OSFamily)

Implicit operator to convert string to OSFamily

Inequality(OSFamily, OSFamily)

Overriding != operator for enum OSFamily

Applies to