简体   繁体   中英

Meaning of the '+' in PowerShell new-object declarations

I'm wondering how to know when to use the '+' in PowerShell object declarations.

Why, for example, is it: $searchFilterC = new-object Microsoft.Exchange.WebServices.Data.SearchFilter+SearchFilterCollection

and not: $searchFilterC = new-object Microsoft.Exchange.WebServices.Data.SearchFilter.SearchFilterCollection

Thanks!

“ +”表示嵌套类型,有关更多信息,请参见此处

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM