DicomObjects.NET.V8
DicomObjects.DicomCodecs 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: .NET CLR 4.0 or higher

    See Also