勇芳软件工作室.汉化:  Windows Management Instrumentation > Scripting API for WMI > Scripting API Objects > SWbemObjectPath >

DisplayName Property

Previous pageReturn to chapter overviewNext page

描述

 

SWbemObjectPath对象的DisplayName属性是一个字符串,其中包含可用作标记显示名称的窗体中的路径。

 

PowerBASIC 语法

 

PROPERTY GET DisplayName () AS WSTRING

PROPERTY SET DisplayName (BYVAL strDisplayName AS WSTRING)

 

参数(仅限集合属性)

 

strDisplayName

 

BSTR.可以用作标记显示名称的窗体中的路径。

 

返回值(仅获取资源)

 

BSTR.可以用作标记显示名称的窗体中的路径。

 

要求

 

客户

需要Windows Vista,Windows XP,Windows 2000 Professional,Windows NT Workstation 4.0 SP4及更高版本,Windows Me,Windows 98或Windows 95 OSR2及更高版本。

服务器

需要Windows Server 2008,Windows Server 2003,Windows 2000 Server或Windows NT Server 4.0 SP4及更高版本。

类型库

使用Wbemdisp.tlb。

Wbemdisp.inc。

DLL

需要Wbemdisp.dll。