modWindowNetwork 函式庫 風禹科技驗證有限公司 網站 提供 .Net 原始碼

MyWNetGetConnection 函數

說明

傳回網路磁碟機在網路芳鄰上的位置

本函數之引數列表

引數 型態 位元組 選項 預設值 說明
lpszLocalName String - 必須 (無) 網路磁碟機字串

傳回值

傳回網路芳鄰位置字串

範例

Debug.WriteLine(MyWNetGetConnection("Y:")) ' 傳回 \\chengl\User

基本條件

Visual Studio .Net 2002 以後相容版本 | WinNet.vb

請參閱

modWindowNetwork 函式庫