Udostępnij za pośrednictwem


LifetimeContext.AllocateSharingId Method

Definition

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

Returns

A new unique identifier.

Applies to