CONNECTDATA 結構

定義

警告

Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202

請改用 CONNECTDATA

public value class CONNECTDATA
[System.Runtime.InteropServices.ComVisible(false)]
public struct CONNECTDATA
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public struct CONNECTDATA
[<System.Runtime.InteropServices.ComVisible(false)>]
type CONNECTDATA = struct
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type CONNECTDATA = struct
Public Structure CONNECTDATA
繼承
CONNECTDATA
屬性

備註

結構 CONNECTDATA 是透過方法列舉的類型 UCOMIEnumConnections.Next

如需 的詳細資訊 CONNECTDATA,請參閱 MSDN 連結庫。

欄位

dwCookie
已淘汰.

表示從對 Advise(Object, Int32) 的呼叫傳回的連接 Token。

pUnk
已淘汰.

表示已連接的通知接收 (Advisory Sink) 之 IUnknown 介面的指標。 當不再需要 IUnknown::Release 結構時,呼叫端必須在這個指標上呼叫 CONNECTDATA

適用於