【发布时间】:2015-05-02 23:11:43
【问题描述】:
我在整个互联网上搜索了这意味着什么:@”,包括@ 和”。
就在这个code:
$Win32ShowWindowAsync = Add-Type –memberDefinition @”
[DllImport("user32.dll")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);
“@ -name “Win32ShowWindowAsync” -namespace Win32Functions –passThru
我也不断收到上面第一行的错误消息:
White space is not allowed before the string terminator.
我将” 更改为",但没有运气。
那么这些符号在 Powershell 中是什么意思呢?
谢谢
【问题讨论】:
-
@Augwa 这个答案似乎没有涵盖这里字符串的使用,这就是它在这里所做的。
标签: powershell syntax