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 3.5 or higher

    See Also