Opc.Ua.SystemContext.Copy C# (CSharp) 메소드

Copy() 공개 메소드

Creates a copy of the context that can be used with the specified operation context.
public Copy ( IOperationContext context ) : ISystemContext
context IOperationContext The operation context to use.
리턴 ISystemContext
        public ISystemContext Copy(IOperationContext context)
        {
            SystemContext copy = (SystemContext)MemberwiseClone();

            if (context != null)
            {
                copy.m_operationContext = context;
            }

            return copy;
        }
        #endregion