DicomObjects.NET Core Documentation
DicomObjects.Codecs Namespace / ICodecBase Interface / LockObject Method



In This Topic
    LockObject Method (ICodecBase)
    In This Topic
    A simple object to provide synchronisation if a codec is accessed via multiple threads
    Syntax
    'Declaration
     
    
    Function LockObject() As Object
    'Usage
     
    
    Dim instance As ICodecBase
    Dim value As Object
     
    value = instance.LockObject()
    object LockObject()
    Object^ LockObject(); 

    Return Value

    An object which should only be used for locking
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also