UNAME 結構

定義

警告

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

提供 Structure,表示已從 Visual Basic 6.0 升級的應用程式中 Name 屬性的指標。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

C#
[System.Runtime.InteropServices.ComVisible(false)]
public struct UNAME
C#
[System.Runtime.InteropServices.ComVisible(false)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public struct UNAME
繼承
屬性

備註

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。 在大多數情況下,這些函式和物件會複製在 .NET Framework 其他命名空間中可以找到的功能。 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework 實作有顯著差異時,才會需要這些函式和物件。

欄位

name

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

已淘汰.

包含適用於內部 UNAME 結構的 IntPtr

適用於

產品 版本 (已淘汰)
.NET Framework 2.0, 3.0, 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)