当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 关于类型加速器

作者:精品下载站 日期:2024-12-14 02:17:41 浏览:11 分类:玩电脑

关于类型加速器


简短说明

描述可用于 .NET Framework 类的类型加速器

详细描述

类型加速器是 .NET 框架类的别名。它们允许您访问特定的 .NET 框架类,而无需显式键入整个类名。例如,您可以将 AliasAttribute 类从 [System.Management.Automation.AliasAttribute] 缩短为 [Alias]

笔记

所有类型加速器仍然需要用方括号 ([]) 括起来。

可用类型加速器

adsi

System.DirectoryServices.DirectoryEntry

adsisearcher

系统.DirectoryServices.DirectorySearcher

Alias

系统.管理.自动化.AliasAttribute

AllowEmptyCollection

System.Management.Automation.AllowEmptyCollectionAttribute

AllowEmptyString

System.Management.Automation.AllowEmptyStringAttribute

AllowNull

系统.管理.自动化.AllowNullAttribute

ArgumentCompleter

System.Management.Automation.ArgumentCompleterAttribute

ArgumentCompletions

System.Management.Automation.ArgumentCompletionsAttribute

array

系统.数组

bigint

系统.数值.BigInteger

bool

系统布尔值

byte

系统字节

char

系统字符

cimclass

Microsoft.管理.基础设施.CimClass

cimconverter

Microsoft.管理.基础设施.CimConverter

ciminstance

Microsoft.管理.基础设施.CimInstance

CimSession

Microsoft.管理.基础设施.CimSession

cimtype

Microsoft.管理.基础设施.CimType

CmdletBinding

System.Management.Automation.CmdletBindingAttribute

cultureinfo

系统.全球化.文化信息

datetime

系统日期时间

decimal

系统.十进制

double

系统.双

DscLocalConfigurationManager

System.Management.Automation.DscLocalConfigurationManagerAttribute

DscProperty

系统.管理.自动化.DscPropertyAttribute

DscResource

系统.管理.自动化.DscResourceAttribute

ExperimentAction

系统.管理.自动化.实验操作

Experimental

系统.管理.自动化.实验属性

ExperimentalFeature

系统.管理.自动化.实验功能

float

系统.单一

guid

系统指南

hashtable

System.Collections.Hashtable

initialsessionstate

System.Management.Automation.Runspaces.InitialSessionState

int

系统.Int32

int16

系统.Int16

int32

系统.Int32

int64

系统.Int64

ipaddress

系统.网络.IP地址

IPEndpoint

系统.Net.IPEndPoint

long

系统.Int64

mailaddress

系统.Net.Mail.MailAddress

NullString

系统.管理.自动化.语言.NullString

ObjectSecurity

系统.安全.访问控制.对象安全

ordered

System.Collections.Specialized.OrderedDictionary

OutputType

System.Management.Automation.OutputTypeAttribute

Parameter

System.Management.Automation.ParameterAttribute

PhysicalAddress

System.Net.NetworkInformation.PhysicalAddress

powershell

系统.管理.自动化.PowerShell

psaliasproperty

系统.管理.自动化.PSAliasProperty

pscredential

系统.管理.自动化.PSCredential

pscustomobject

系统.管理.自动化.PSObject

PSDefaultValue

系统.管理.自动化.PSDefaultValueAttribute

pslistmodifier

系统.管理.自动化.PSListModifier

psmoduleinfo

系统.管理.自动化.PSModuleInfo

psnoteproperty

系统.管理.自动化.PSNoteProperty

psobject

系统.管理.自动化.PSObject

psprimitivedictionary

系统.管理.自动化.PSPrimitiveDictionary

pspropertyexpression

Microsoft.PowerShell.Commands.PSPropertyExpression

psscriptmethod

系统.管理.自动化.PSScriptMethod

psscriptproperty

系统.管理.自动化.PSScriptProperty

PSTypeNameAttribute

System.Management.Automation.PSTypeNameAttribute

psvariable

系统.管理.自动化.PSVariable

psvariableproperty

系统.管理.自动化.PSVariableProperty

ref

系统.管理.自动化.PSReference

regex

System.Text.RegularExpressions.Regex

runspace

系统.管理.自动化.运行空间.运行空间

runspacefactory

系统.管理.自动化.Runspaces.RunspaceFactory

sbyte

系统.SByte

scriptblock

系统.管理.自动化.ScriptBlock

securestring

系统.安全.SecureString

semver

系统.管理.自动化.语义版本

short

系统.Int16

single

系统.单一

string

系统字符串

SupportsWildcards

System.Management.Automation.SupportsWildcardsAttribute

switch

系统.管理.自动化.交换机参数

timespan

系统时间跨度

type

系统类型

uint

系统.UIt32

uint16

系统.UInt16

uint32

系统.UIt32

uint64

系统.UInt64

ulong

系统.UInt64

uri

系统.Uri

ushort

系统.UInt16

ValidateCount

System.Management.Automation.ValidateCountAttribute

ValidateDrive

System.Management.Automation.ValidateDriveAttribute

ValidateLength

System.Management.Automation.ValidateLengthAttribute

ValidateNotNull

System.Management.Automation.ValidateNotNullAttribute

ValidateNotNullOrEmpty

System.Management.Automation.ValidateNotNullOrEmptyAttribute

ValidatePattern

System.Management.Automation.ValidatePatternAttribute

ValidateRange

System.Management.Automation.ValidateRangeAttribute

ValidateScript

System.Management.Automation.ValidateScriptAttribute

ValidateSet

System.Management.Automation.ValidateSetAttribute

ValidateTrustedData

System.Management.Automation.ValidateTrustedDataAttribute

ValidateUserDrive

System.Management.Automation.ValidateUserDriveAttribute

version

系统版本

void

系统无效

WildcardPattern

系统.管理.自动化.通配符模式

wmi

系统.管理.管理对象

wmiclass

系统.管理.管理类

wmisearcher

系统管理.管理对象搜索器

X500DistinguishedName

System.Security.Cryptography.X509Certificates.X500DistinguishedName

X509Certificate

系统.安全.加密.X509Certificates.X509Certificate

xml

系统.Xml.Xml文档

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯