开发者

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

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

开发者_JAVA百科

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 '+' indicates a nested type, see here for more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜