1 <?xml version="1.0" encoding="utf-8"?>
\r
4 <name>System.Security.SecureString</name>
\r
7 <member name="T:System.Security.SecureString">
\r
8 <summary>表示应保密的文本,例如在不再需要时将其从计算机内存中删除。此类不能被继承。</summary>
\r
10 <member name="M:System.Security.SecureString.#ctor">
\r
11 <summary>初始化 <see cref="T:System.Security.SecureString" /> 类的新实例。</summary>
\r
12 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this instance.</exception>
\r
13 <exception cref="T:System.NotSupportedException">This operation is not supported on this platform.</exception>
\r
15 <member name="M:System.Security.SecureString.#ctor(System.Char*,System.Int32)">
\r
16 <summary>用 <see cref="T:System.Char" /> 对象的子数组初始化 <see cref="T:System.Security.SecureString" /> 类的新实例。</summary>
\r
17 <param name="value">指向 <see cref="T:System.Char" /> 对象的数组的指针。</param>
\r
18 <param name="length">要包括到新实例中的 <paramref name="value" /> 的元素数。</param>
\r
19 <exception cref="T:System.ArgumentNullException">
\r
20 <paramref name="value" /> is null.</exception>
\r
21 <exception cref="T:System.ArgumentOutOfRangeException">
\r
22 <paramref name="length" /> is less than zero or greater than 65,536.</exception>
\r
23 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string. </exception>
\r
24 <exception cref="T:System.NotSupportedException">This operation is not supported on this platform.</exception>
\r
26 <member name="M:System.Security.SecureString.AppendChar(System.Char)">
\r
27 <summary>在当前安全字符串的末尾追加一个字符。</summary>
\r
28 <param name="c">要追加到此安全字符串的字符。</param>
\r
29 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
30 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
\r
31 <exception cref="T:System.ArgumentOutOfRangeException">Performing this operation would make the length of this secure string greater than 65,536 characters.</exception>
\r
32 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
\r
34 <member name="M:System.Security.SecureString.Clear">
\r
35 <summary>删除当前安全字符串的值。</summary>
\r
36 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
37 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
\r
39 <member name="M:System.Security.SecureString.Copy">
\r
40 <summary>创建当前安全字符串的副本。</summary>
\r
41 <returns>此安全字符串的副本。</returns>
\r
42 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
43 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
\r
45 <member name="M:System.Security.SecureString.Dispose">
\r
46 <summary>释放由当前 <see cref="T:System.Security.SecureString" /> 对象使用的所有资源。</summary>
\r
48 <member name="M:System.Security.SecureString.InsertAt(System.Int32,System.Char)">
\r
49 <summary>在此安全字符串中的指定索引位置插入一个字符。</summary>
\r
50 <param name="index">插入参数 <paramref name="c" /> 的索引位置。</param>
\r
51 <param name="c">要插入的字符。</param>
\r
52 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
53 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
\r
54 <exception cref="T:System.ArgumentOutOfRangeException">
\r
55 <paramref name="index" /> is less than zero, or greater than the length of this secure string.-or-Performing this operation would make the length of this secure string greater than 65,536 characters.</exception>
\r
56 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
\r
58 <member name="M:System.Security.SecureString.IsReadOnly">
\r
59 <summary>指示此安全字符串是否标记为只读。</summary>
\r
60 <returns>如果此安全字符串标记为只读,则为 true;否则为 false。</returns>
\r
61 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
63 <member name="P:System.Security.SecureString.Length">
\r
64 <summary>获取当前安全字符串中的字符数。</summary>
\r
65 <returns>此安全字符串中 <see cref="T:System.Char" /> 对象的数目。</returns>
\r
66 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
68 <member name="M:System.Security.SecureString.MakeReadOnly">
\r
69 <summary>将此安全字符串的文本值设置为只读。 </summary>
\r
70 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
72 <member name="M:System.Security.SecureString.RemoveAt(System.Int32)">
\r
73 <summary>从此安全字符串中的指定索引位置移除字符。</summary>
\r
74 <param name="index">此安全字符串中的字符的索引位置。</param>
\r
75 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
76 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
\r
77 <exception cref="T:System.ArgumentOutOfRangeException">
\r
78 <paramref name="index" /> is less than zero, or greater than or equal to the length of this secure string.</exception>
\r
79 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
\r
81 <member name="M:System.Security.SecureString.SetAt(System.Int32,System.Char)">
\r
82 <summary>将指定索引位置上的现有字符替换为其他字符。</summary>
\r
83 <param name="index">此安全字符串中的某个现有字符的索引位置。</param>
\r
84 <param name="c">替换现有字符的字符。</param>
\r
85 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
\r
86 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
\r
87 <exception cref="T:System.ArgumentOutOfRangeException">
\r
88 <paramref name="index" /> is less than zero, or greater than or equal to the length of this secure string.</exception>
\r
89 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
\r
91 <member name="T:System.Security.SecureStringMarshal"></member>
\r
92 <member name="M:System.Security.SecureStringMarshal.SecureStringToCoTaskMemUnicode(System.Security.SecureString)"></member>
\r
93 <member name="M:System.Security.SecureStringMarshal.ZeroFreeCoTaskMemUnicode(System.IntPtr)"></member>
\r