VARDESC 结构

注意:此结构现在已过时。

应改用 VARDESC

**命名空间:**System.Runtime.InteropServices
**程序集:**mscorlib(在 mscorlib.dll 中)

语法

声明
<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.VARDESC instead. https://go.microsoft.com/fwlink/?linkid=14202", False)> _
Public Structure VARDESC
用法
Dim instance As VARDESC
[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.VARDESC instead. https://go.microsoft.com/fwlink/?linkid=14202", false)] 
public struct VARDESC
[ObsoleteAttribute(L"Use System.Runtime.InteropServices.ComTypes.VARDESC instead. https://go.microsoft.com/fwlink/?linkid=14202", false)] 
public value class VARDESC
/** @attribute ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.VARDESC instead. https://go.microsoft.com/fwlink/?linkid=14202", false) */ 
public final class VARDESC extends ValueType
JScript 支持使用结构,但不支持进行新的声明。

备注

有关 VARDESC 的其他信息,请参见 MSDN Library。

线程安全

此类型的任何公共静态(Visual Basic 中的 Shared)成员都是线程安全的,但不保证所有实例成员都是线程安全的。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:1.0、1.1
在 2.0 中过时(编译器警告)

请参见

参考

VARDESC 成员
System.Runtime.InteropServices 命名空间