你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
OS Struct
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.
The OS of agent machine
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.OSTypeConverter))]
public struct OS : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.OS>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.OSTypeConverter))>]
type OS = struct
interface IArgumentCompleter
Public Structure OS
Implements IArgumentCompleter, IEquatable(Of OS)
- Inheritance
-
OS
- Attributes
- Implements
Fields
Linux | |
Windows |
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 OS (override for Object) |
Equals(OS) |
Compares values of enum type OS |
GetHashCode() |
Returns hashCode for enum OS |
ToString() |
Returns string representation for OS |
Operators
Equality(OS, OS) |
Overriding == operator for enum OS |
Implicit(OS to String) |
Implicit operator to convert OS to string |
Implicit(String to OS) |
Implicit operator to convert string to OS |
Inequality(OS, OS) |
Overriding != operator for enum OS |