ArcObjects Library Reference (System)  

IAppLockMgr.Add Method

Adds an application reference to the lock manager.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal pAfLockMgr As IAfLockMgr, _
    ByVal pID As Integer, _
    ByRef cookie As Integer _
)
[C#]
public void Add (
    IAfLockMgr pAfLockMgr,
    int pID,
    ref int cookie
);
[C++]
HRESULT Add(
  IAfLockMgr* pAfLockMgr,
  long pID,
  long* cookie
);
[C++]

Parameters

pAfLockMgr [in]

  pAfLockMgr is a parameter of type IAfLockMgr

pID [in]   pID is a parameter of type long cookie [out]   cookie is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IAppLockMgr Interface