diff --git a/xml/System.Runtime.InteropServices/DllImportAttribute.xml b/xml/System.Runtime.InteropServices/DllImportAttribute.xml index 966fcda0d14..d8d1ca63b33 100644 --- a/xml/System.Runtime.InteropServices/DllImportAttribute.xml +++ b/xml/System.Runtime.InteropServices/DllImportAttribute.xml @@ -74,7 +74,7 @@ The attribute provides the information needed to call a function exported from an unmanaged DLL. As a minimum requirement, you must supply the name of the DLL containing the entry point. You apply this attribute directly to C# method definitions; however, the Visual Basic compiler emits this attribute when you use the `Declare` statement. For complex method definitions that include , , , , , or fields, you apply this attribute directly to Visual Basic method definitions. - + Consider using the attribute instead. > [!NOTE] > JScript does not support this attribute. You can use C# or Visual Basic wrapper classes to access unmanaged API methods from JScript programs. diff --git a/xml/System/String.xml b/xml/System/String.xml index dd701a5aa50..48b3fa27db5 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -633,7 +633,7 @@ The sum of and is grea A pointer to an array of 8-bit signed integers. The integers are interpreted using the current system code page encoding on Windows (referred to as CP_ACP) and as UTF-8 encoding on non-Windows. The starting position within . - The number of characters within to use. + The number of sbytes within to use. Initializes a new instance of the class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting position within that array, and a length. could not be initialized using A pointer to an array of 8-bit signed integers. The starting position within . - The number of characters within to use. + The number of sbytes within to use. An object that specifies how the array referenced by is encoded. If is , ANSI encoding is assumed. Initializes a new instance of the class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting position within that array, a length, and an object.