LifetimeContext.AllocateSharingId 方法

定义

生成可用于查找共享部件实例的标识符。Generates an identifier that can be used to locate shared part instances.

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

返回

Int32

新唯一标识符。A new unique identifier.

适用于