IADsPathname::GetNumElements 方法 (iads.h)

IADsPathname::GetNumElements方法會擷取路徑中的元素數目。

語法

HRESULT GetNumElements(
  [out] long *plnNumPathElements
);

參數

[out] plnNumPathElements

路徑中的專案數目。

傳回值

此方法支援標準傳回值,以及下列各項:

如需詳細資訊和其他傳回值,請參閱 ADSI 錯誤碼

需求

   
最低支援的用戶端 Windows Vista
最低支援的伺服器 Windows Server 2008
目標平台 Windows
標頭 iads.h
Dll Activeds.dll

另請參閱

ADSI 錯誤碼

IADsPathname