LifetimeContext.AllocateSharingId 方法

定義

產生可以用來尋找共用組件執行個體的識別碼。

public:
 static int AllocateSharingId();
public static int AllocateSharingId ();
static member AllocateSharingId : unit -> int
Public Shared Function AllocateSharingId () As Integer

傳回

新的唯一識別碼。

適用於